Skip to content

Tags: zorael/dialect

Tags

v3.3.1

Toggle v3.3.1's commit message

Verified

This commit was signed with the committer’s verified signature.
v3.3.1

This fixes the example bot not compiling after `IRCEvent.channel`
was changed from a string to an instance of struct `IRCEvent.Channel`.

v3.3.0

Toggle v3.3.0's commit message

Verified

This commit was signed with the committer’s verified signature.
v3.3.0

This fixes `library` and `bot` builds not being `pure` and `@safe`, which
we always assumed they were. It turns out `auto this() { /* ... */ }`
doesn't actually work. The fix is to mark constructors as `pure` and
`@safe` explicitly.

It's technically not a breaking change, but let's bump the minor
version to commemorate it; a fix to something that should never have been.

v3.2.1

Toggle v3.2.1's commit message

Verified

This commit was signed with the committer’s verified signature.
v3.2.1

This merely remedies some minor gaps in documentation and adds a
trivial constructor to `IRCChannel`.

v3.2.0

Toggle v3.2.0's commit message

Verified

This commit was signed with the committer’s verified signature.
v3.2.0

This release makes further changes to the structs in `dialect.defs`,
and as such bumps the minor version.

The `IRCEvent` string member `channel` is now an instance of struct
`IRCEvent.Channel`. In a normal build it only has a string member
`name`, which fills the same role as the previous `IRCEvent.channel`
string. In a Twitch build it additionally has a `ulong` member `id`,
which corresponds to the numeric user ID of the owner (broadcaster)
of a channel. This is a breaking change and will require use of
`IRCEvent.channel` to be string-replaced with `IRCEvent.channel.name`
in any existing code.

Compatibility methods were added to `IRCEvent.Channel` to help
transition to the new struct. Declare version
`ChannelMigrationCompatibility` to use them. It's not fully a drop-in
replacement to the old behaviour, but it should help with the transition.

Added an `altcontent` member to `IRCEvent`. This is a string that is
used for events where there are two separate message bodies; either
two chat messages, such as in a Twitch reply, or when the event is
accompanied by things like a system/server message. `IRCEvent.content`
makes up the primary body, and any secondary messages are to be stored
in `IRCEvent.altcontent`. This frees up `IRCEvent.aux[0]`, which was
becoming crowded for some events.

The Twitch-specific `IRCUser.id` is now a `ulong` instead of a `uint`.
This is potentially a breaking change, depending on how the value is
used in importing code. One solution is to migrate everything else to
`ulong` too; another is to cast the value to `uint` when needed.

v3.1.0

Toggle v3.1.0's commit message

Verified

This commit was signed with the committer’s verified signature.
v3.1.0

This release raises the `lu` dependency to a minimum of v3.2.0, and as
such bumps the minor version.

Added a `subchannel` member to `IRCEvent`. It's loosely defined, but the
idea is it refers to the secondary channel of an event, when there are
two. A concrete example would be Twitch's new shared channel chat, where
(when enabled) messages are repeated into one or more secondary channels.
In such a scenario, `IRCEvent.channel` would refer to the channel in
which the message effectively plays out, and `IRCEvent.subchannel` would
refer to the originating "source" channel.

Refactored the monolith that was `assertgen.d` into something more
modular and easier to maintain. It now also takes enough command-line
flags to be able to support reading tests from standard input, such as
when piping raw IRC lines to it. This was always possible when `--twitch`
was passed, as the prompts for server daemon, network and address were
then skipped, but this is possible for all networks now that these can
be specified at the command line.

Refactored `postprocessing/twitch.d` to be able to support the
`source-msg-id` tag. It now also is more careful when assigning values
to `IRCEvent` members, and will warn the user (more) if something is
overwritten.

* Reparsed all Twitch tests and updated the `tests/twitch.d` file with
  the modern parsing
* Added type `TWITCH_CHARITYDONATION`
* Balanced some Twitch tags so they don't overwrite each other
* Added a simple CI tool for running `dscanner` style checks on the codebase

v3.0.1

Toggle v3.0.1's commit message

Verified

This commit was signed with the committer’s verified signature.
v3.0.1

This patch disables the `-preview=fixImmutableConv` compiler preview
switch from being passed by default, since it breaks importing projects
when compiling with ldc and dmd nightly.

* Added some Twitch tags

v3.0.0

Toggle v3.0.0's commit message

Verified

This commit was signed with the committer’s verified signature.
v3.0.0

This updates the lu dependency to v3.0.0, and necessarily bumps the
major version. With this, the minimum compiler version becomes v2.108.0.

v2.2.0

Toggle v2.2.0's commit message

Verified

This commit was signed with the committer’s verified signature.
v2.2.0

This is a minor release that updates the `lu` dependency to v2.2.0.

v2.1.0

Toggle v2.1.0's commit message

Verified

This commit was signed with the committer’s verified signature.
v2.1.0

This is a minor release that updates the `lu` dependency to v2.1.0.

* Added Twitch event type `TWITCH_MILESTONE`
* Various fixes and improvements

v2.0.4

Toggle v2.0.4's commit message

Verified

This commit was signed with the committer’s verified signature.
v2.0.4

Disabled the `-dip25` compilation flag for sealed references.
Contemporary compilers enable it by default now, and explicitly including
it just generates "`-dip25 no longer has any effect`" noise when
compiling.

* Bumped lu dependency version to v2.0.0