Changelog
All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
0.4.0 - 2021-04-19
Fixed
- Updated security guide to use new configuration style
Added
- Added the operations API
0.3.0 - 2021-04-18
Added
- Added record interface modules for all remaining APIs
- Added functions for interacting with the Users API
0.2.1 - 2021-04-17
Added
- Wrapped new ACL-related functions in
Spear.Client
0.2.0 - 2021-04-17
Changed
- Refactored connection configuration to go through validation
:opts
option has been renamed to:mint_opts
- credentials are passed through the
:connection_string
option or as:username
and:password
options
Added
- Implemented and documented keep-alive
- This can be configured through the
keepAliveInterval
andkeepAliveTimeout
query params in:connection_string
or by the new:keep_alive_interval
and:keep_alive_timeout
configuration options
- This can be configured through the
0.1.4 - 2021-04-16
Added
{:eos, :closed}
is now emitted when a subscription is broken due to the connection between closed betweenSpear.Connection
and EventStoreDBSpear.Connection
now monitors subscription processes and cancels EventStoreDB subscriptions upon subscriber process exit
0.1.3 - 2021-04-15
Added
- Added documentation and functionality for using TLS certificates
- see
Spear.Connection
and the security guide
- see
- Added documentation and functionality for setting the global stream ACL
- see
Spear.set_global_acl/4
and theSpear.Acl
module
- see
- Added functionality for getting and setting stream-level metadata.
0.1.2 - 2021-04-14
Added
- Added dependency on
connection
- Added ping functionality for
Spear.Connection
s - Added the ability to disconnect a connection by
GenServer.call/3
ing it with:close
as the message - Added the ability to explicitly reconnect a connection by
GenServer.cast/2
ing it a message of:connect
Changed
- Changed the internals of
Spear.Connection
to take advantage of the newConnection
dependency- A failure to connect on GenServer init for a connection will no longer take down the supervision tree
- Failures to connect will result in back-off retries in 500ms segments
- The life-cycle of the HTTP2 connection spawned by a
Spear.Connection
is now divorced from the life-cycle of theSpear.Connection
process
0.1.1 - 2021-04-14
Removed
- Removed dependency on
elixir-protobuf/protobuf
- see #4
- also removed all generated files from protobuf
Added
- Added dependency on
:gpb
- and associated generated erlang files
- Added
Spear.Records.*
interface for interacting with gpb-generated records
0.1.0 - 2021-04-12
Added
- Initial implementation of a client for the streams API
- all notable functions are labeled with the
since: "0.1.0"
doc attribute
- all notable functions are labeled with the