Skip to content

Releases: diamondburned/cchat

v0.6.7

02 May 00:52
Compare
Choose a tag to compare

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

02 May 00:24
Compare
Choose a tag to compare

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

02 May 00:05
Compare
Choose a tag to compare

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

25 Mar 23:29
Compare
Choose a tag to compare

This release contains breaking changes. It fixes up mistakes from the previous release.

v0.6.3

25 Mar 23:22
Compare
Choose a tag to compare

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

21 Mar 01:41
Compare
Choose a tag to compare

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

20 Mar 05:16
Compare
Choose a tag to compare

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

19 Mar 23:56
Compare
Choose a tag to compare

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

18 Mar 21:22
Compare
Choose a tag to compare

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

18 Mar 19:28
Compare
Choose a tag to compare

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.