Releases: diamondburned/cchat
Releases · diamondburned/cchat
v0.6.7
This release contains breaking changes.
Replace stop callbacks with contexts
This commit removes all stop callbacks in ContainerMethods. The
intention is to have backends disconnect callbacks when the context is
cancelled, rather than when the stop function is called.
This helps get rid of countless race condition flaws caused by the
duration between the context being cancelled on one thread and the stop
callback being set in another, causing the handlers to not disconnect.
v0.6.6
This release contains breaking changes.
Configurator to be SetterMethods
This commit changes Configurator's methods to be SetterMethods instead
of IOMethods, as Configurator is specifically made for frontend-managed
settings just for the backend, so no storing/loading is needed on the
backend's side.
This commit also changes SetterMethod to allow methods done to the
backend to error out, in case the setting value is invalid somehow.
Setter methods that are called by the backend (as opposed to the
frontend) must never error.
v0.6.5
This release contains breaking changes.
Allow cancels for ContainerMethods and IOMethods
This commit changes several ContainerMethods to take in a context. It
also changes all IOMethods to take in a context.
This addition adds consistency to the API as well as allowing better
graceful cancellation and cleanups if needed when, for example, the user
wants to discard an ongoing process.
v0.6.4
This release contains breaking changes. It fixes up mistakes from the previous release.
v0.6.3
This release contains breaking changes.
ListMember to no longer use Namer
This commit broke ListMember to remove the Namer interface. This is
because the whole interface should act as a static container with
information to be updated.
v0.6.2
This release contains breaking changes.
commit f24feb20024fd003421f8cb15661e542c4a5db03
MessageUpdate should only update the content
This commit changes MessageUpdate so that it only updates the message
content. Updating the username should be up to MessageCreate's Author.
---
commit f8c644fa7ed5f4dead72347bdf1baaed30ca793d
Allow empty texts with segments
This commit allows segments in an empty text segment to account for
segments with only an image.
v0.6.1
This release contains breaking changes.
Nicknamer to embed Name instead
This commit breaks Nicknamer to embed Name instead of having its own
ContainerMethod with a similar function signature but different name.
This allows the frontend to reuse the same LabelContainer abstraction
for Nickname as well.
v0.6.0
This release contains breaking changes.
Enforce Identifier on all Services
This commit breaks the Service interface to force all services to have a
global unique identifier. The commit does not enforce any particular
format, but the Reverse Domain Name Notation is recommended.
For reference:
https://en.wikipedia.org/wiki/Reverse_domain_name_notation
v0.5.6
This release contains breaking changes.
Columnate to return bool
This commit breaks the previous Columnate API to return booleans instead
of constant integers. This makes handling Columnate API much simpler
with less false values (since all possible boolean values are valid).
v0.5.5
This release contains breaking changes.
Move Columnate to Lister
This commit broke Lister to add Columnate, and the method is removed
from Server, because only Lister gets nested.