Skip to content

Releases: NFIBrokerage/spear

v1.4.1

03 Aug 14:18
v1.4.1
37b46bb
Compare
Choose a tag to compare

What's Changed

  • Bump github action versions by @svrdlans in #95
  • fix: Spear.append/3 raw?: true raw return by @byu in #97

New Contributors

Full Changelog: v1.4.0...v1.4.1

v1.4.0

02 Feb 19:55
v1.4.0
3eb8c00
Compare
Choose a tag to compare

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

13 Jun 00:51
v1.3.2
6b3a040
Compare
Choose a tag to compare

What's Changed

  • fix: configuring the start_link opts without global config by @yordis in #88
  • chore: improve event and custom metadata docs by @yordis in #90

New Contributors

Full Changelog: v1.3.1...v1.3.2

v1.3.1

04 Apr 18:37
v1.3.1
40d5f2f
Compare
Choose a tag to compare

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

10 Dec 01:36
v1.3.0
1e5439e
Compare
Choose a tag to compare

Added

  • Added documentation for setting up connection pools.
  • Added :on_connect and :on_disconnect hook options for Spear.Connection which can be used for pooling.

v1.2.1

15 Nov 01:17
v1.2.1
7f637bf
Compare
Choose a tag to compare
  • 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

02 Nov 21:59
v1.2.0
352bc5f
Compare
Choose a tag to compare
  • 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

08 Jul 17:04
v1.1.0
7b2d632
Compare
Choose a tag to compare
v1.1.0

v1.0.2

02 Jun 15:16
v1.0.2
155942a
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v1.0.1...v1.0.2

v1.0.1

26 May 17:00
v1.0.1
dade3eb
Compare
Choose a tag to compare

What's Changed

  • Fix stream! error when :from is greater than the last event number by @bminevsb in #68

New Contributors

Full changes: v1.0.0...v1.0.1