Skip to content

Releases: revoltchat/backend

0.8.2

10 Feb 21:36
eb5f5f9
Compare
Choose a tag to compare

Changes:

  • Add crond daemon for cleaning up old files
  • Serve the API at both / and /0.8/ for future versioning reasons

Bug fixes:

  • Don't allow users (w/ permission) to time themselves out (if there is interest for a self-timeout option, i.e. well-being option, we should discuss it separately)
  • Check user has access to fetch channel webhooks (advisory GHSA-h7h6-7pxm-mc66)
  • Fix a bug that allows downloading entire channel history at once (advisory GHSA-8684-rvfj-v3jq)

Maintenance:

  • Disable LTO because it breaks the GitHub CI workflow

Full Changelog: 20241227-2...20250210-1

0.8.1

10 Feb 18:47
Compare
Choose a tag to compare

Bug fixes:

  • Last message in channel could not be acked resulting in ghost DMs and channel messages
  • Fix bug preventing bulk message deletes
  • Don't create 'previews' of GIFs

Maintenance:

  • Include uname in container
  • Log database errors to Sentry
  • Enable link-time optimisation

Full changelog: 20241128-2...20241227-2

0.8.0

28 Nov 22:25
Compare
Choose a tag to compare

Changes:

  • The Revolt Push Daemon (pushd) now exists, and will be used to properly handle sending notifications to everyone in a durable manner
    • Proper support for APNS and FCM (apple and android) push notifications, for native apps.
    • Uses RabbitMQ queues for scalability and ensured delivery.
  • RabbitMQ has been added as a required component for hosting
  • Bonfire now sends a consistent error type { type: Error, data: (error) } on failure
  • Autumn now limits total cache based on real memory usage rather than no. of items

Bug fixes:

  • Database migration for webhooks would not consider missing channels
  • Failed S3 upload would still create an entry in the database leading to failed uploads

Maintenance:

  • Stripped dotenv from project as it is unmaintained and unused

Full changelog: 20241024-1...20241128-2

0.7.19

24 Oct 16:57
df07426
Compare
Choose a tag to compare

Changes:

  • January has been rewritten and now exists in this repository!

    Notable changes:

    • Jixels (JPEG-XL) are now supported
    • SVGs are now supported
    • The current support list is: BMP, GIF, ICO, JPEG, JXL, PNG, TIFF, WEBP, SVG (these will also be supported in the new file server!)
    • All proxied images are now compressed and scaled down to the same resolution as attachment previews
    • Fixes have been implemented for Reddit, (Vx)Twitter/(FixV)X, and YouTube embeds
    • Accept-Language header is now set to English
  • Some work towards rewriting Autumn.

  • Add a distinct NotAuthenticated error where appropriate.

Bug fixes:

  • Validate recipients of push notifications
  • Clear expired FCM tokens
  • Pin to a "MaxSRV" due to a regression in Rust
  • Bridge gap between old and new events servers, i.e. populate empty vector on update events

Full Changelog: 20240830-1...20241024-1

0.7.16

30 Aug 11:22
730039e
Compare
Choose a tag to compare

Changes:

  • Switch to distroless runtime Docker images (#297)
  • New crates: bindings/node, core/files, services/autumn

Bug fixes:

  • Detach rather than delete emoji during server deletion
  • Add check whether we are part of a server before fetching role information

Full Changelog: 20240805-1...20240830-1

0.7.15

30 Aug 11:21
f513a9c
Compare
Choose a tag to compare

Changes:

  • Preliminary work for adding settings / unreads to Ready payload.
  • Message pins and accompanying system messages MessagePinned { id, by } and MessageUnpinned { id, by }.
  • Support for updating badges on Apple devices.
  • Support for Apple Music embed information (TBA to proxy service).

Bug fixes:

  • Various fixes and changes for Apple Push Notifications.
  • Never include relations on known users, this wastes bandwidth.

Full Changelog: 20240710-1...20240805-1

0.7.14

10 Jul 13:27
78b9fa1
Compare
Choose a tag to compare

Changes:

  • Added reason field to the MemberLeaveEvent which can be used to determine if a user was kicked or banned from a server.

Bug fixes:

  • Actually run the query to remove a user from a group chat, i.e. users do not stick around anymore after they leave / are kicked.

Full Changelog: 20240629-1...20240710-1

0.7.13

29 Jun 16:37
0954d71
Compare
Choose a tag to compare

Changes:

  • Include user in responses when creating and editing bots.
  • Add support for Apple Push Notifications.

Full Changelog: 20240626-1...20240629-1

0.7.12

26 Jun 18:48
d9cfc9d
Compare
Choose a tag to compare

Changes:

  • Consider owned bots to be yourself when doing permission checks, hence allowing more data to be fetched from API
  • Added message flags to schema and silent messages (no push/desktop notification using bitfield flag 1)

Bug fixes:

  • Added DisplayName back to user fields (this prevented users from resetting display name)
  • Fix the edit route to actually replace current target when editing an owned bot, etc

Full Changelog: 20240625-2...20240626-1

0.7.11

25 Jun 20:06
f903f71
Compare
Choose a tag to compare

Changes:

  • Add user and member fields to Message model which are populated for the Message { .. } event.

Bug fixes:

  • Ready event always made own user appear as offline, this is now set according to presence.

Full Changelog: 20240625-1...20240625-2