Releases: NFIBrokerage/spear
Releases · NFIBrokerage/spear
v1.4.1
v1.4.0
Added
Spear.stream!/3
now saves one network request when the server returns fewer
events than the requested chunk size.- Subscriptions now send
{:caught_up, subscription_ref}
and{:fell_behind, subscription_ref}
messages on EventStoreDB versions later than 23.10.
Fixed
- A single HTTP/2 DATA frame might contain multiple messages from the EventStoreDB.
Previously only the first message was handled at a time and the remaining data
was buffered. Now all messages in a DATA frame are sent eagerly.
v1.3.2
v1.3.1
Fixed
- HTTP/2 window size is now properly checked in
Spear.Connection
before attempting to send ack, nack, and batch-append messages.- Without this fix, some ack, nack and batch-append messages could be silently dropped on busy connections.
v1.3.0
Added
- Added documentation for setting up connection pools.
- Added
:on_connect
and:on_disconnect
hook options forSpear.Connection
which can be used for pooling.
v1.2.1
- Fixed the return values for
Spear.subscribe/4
when the subscription request fails.
For example, if a connection is made with an invalid password, Spear.subscribe/4
would previously return {:ok, %Spear.Connection.Response{}}
(an internal struct). Now Spear.subscribe/4
returns {:error, %Spear.Grpc.Response{}}
.
v1.2.0
- Added support for Persistent Subscription RPCs introduced in server version 22.6.0:
Spear.get_persistent_subscription_info/4
Spear.replay_parked_messages/4
Spear.restart_persistent_subscription_subsystem/2
v1.1.0
v1.1.0
v1.0.2
What's Changed
- Allow revision 0 expectation by @fabriziosestito in #70
New Contributors
- @fabriziosestito made their first contribution in #70
Full Changelog: v1.0.1...v1.0.2