···11-## [Unreleased]
11+## [0.5.0] - 2024-11-15
2233-Jetstream support! You can now connect to Jetstream sources using `Skyfall::Jetstream` (see readme).
33+Jetstream support! You can now connect to [Jetstream](https://github.com/bluesky-social/jetstream) sources using `Skyfall::Jetstream` (see readme).
4455This required some breaking changes in the existing API:
6677- `Skyfall::Stream` has been renamed to `Skyfall::Firehose`, `Skyfall::Stream` is now a base class of both `Firehose` and `Jetstream`; the existing `Skyfall::Stream` constructor works for now but will be removed soon
88- `Skyfall::WebsocketMessage` and its subclasses have been separated into two parallel families under `Skyfall::Firehose` and `Skyfall::Jetstream`, with the base classes just named `Message`
99- same thing happened with `Skyfall::Operation`
1010-- `data_object` and `type_object` properties are considered semi-private API now ("nodoc")
1010+- `data_object` and `type_object` properties in `WebsocketMessage` are considered semi-private API now ("nodoc")
1111+1212+In most cases, you should only need to update the `Skyfall::Stream` class name in the constructor. If you've referenced message classes like `Skyfall::CommitMessage` directly, it's probably better to just check the `#type` property instead.
11131212-In most cases, you should only need to update the class name in the constructor. If you've referenced message classes like `Skyfall::CommitMessage` directly, it's probably better to just check the `#type` property instead.
1414+Also, small change to the user agent API: `Skyfall::Stream` now has an additional metod `version_string`, which will always return `Skyfall/0.x.y` - it's recommended to use that instead of `default_user_agent` to build your own user agent string that includes the library version. `default_user_agent` now passes through to `version_string`, but it could be changed in future to return something else.
13151416## [0.4.1] - 2024-10-04
1517
+1-1
lib/skyfall/version.rb
···11# frozen_string_literal: true
2233module Skyfall
44- VERSION = "0.4.1"
44+ VERSION = "0.5.0"
55end