node-eventstore-client
node-eventstore-client copied to clipboard
CHANGELOG
In response to issue #21, I've decided to create this thread to track changes between released version of the npm package. Make sure you subscribe to this issue if you want to be notified of changes in the API.
0.0.25 CHANGELOG
Breaking Changes
- client.createConnection If calling with a TcpEndpoint ({hostname, port}) as second parameter, you need to change the hostname property to host. Also it is now recommended to use a string as second parameter, you can replace TcpEndpoint with "tcp://hostname:port".
New features
- #19 You can now connect to a cluster using dns discovery. Just pass "discover://my.dns:2113" as second parameter to client.createConnection. Replace 2113 with the http port.
0.0.26 CHANGELOG
Breaking Changes
None
Bugs
- #20 Fixed an issue with missing Position in TypeScript definition file.
0.0.27 CHANGELOG
Breaking changes
None
Improvements
- #23 Exposed Position class so it can be used in subscribeToAllFrom
0.0.28 CHANGELOG
Breaking changes
None
Bugs
- Attempt at fixing #18 #23
0.0.29 CHANGELOG
Bugs
- #24 Package 0.0.28 was broken, missing files in lib folder
0.0.30 CHANGELOG
Bugs
- #27 Fixed a bug in the tcpConnection that was blocking sending of packet > 64kb.
0.0.31 CHANGELOG
Improvements
#30 Set return type for PersistentSubscriptionSettings.create() so it doesn't break tslint validations.
0.0.32 CHANGELOG
Improvements
- Updated uuid modules
- All exposed objects (static or instance) are now frozen
- Improved performance by removing remaining processing loops
0.1.0 CHANGELOG
No changes from last release
- Current features have been stable for a while now, so I'm bumping version to 0.1.0 to represent that.
0.1.2 CHANGELOG
Breaking changes
None
New feature
- #35 Expose heartbeat information so the client can calculate the latency (request from PR #34)
0.1.2 CHANGELOG - project rename
No changes
New project name/package name: node-eventstore-client
Sorry for the annoyance but the project name was bugging me for a while. Also I will probably start a go version of the port soon. This naming scheme is more clear.
0.1.3 CHANGELOG
Breaking changes
None
Bugs
- Remove strictness of UUID. C# Guid don't have the same restriction as UUID. This could create interoperability issues. https://github.com/nicdex/node-eventstore-client/commit/8735b23bf91f0f4bf37fd89f9068efb0c9a09d83
0.1.4 CHANGELOG
Bugs
- Fixed #41
0.1.5 CHANGELOG
Breaking changes
- #44 API change for connectToPersistentSubscription. It now returns a Promise<EventStorePersistentSubscription> instead of returning directly a EventStorePersistentSubscription.
Improvements
- #42 Added typescript definition for persistent subscriptions.
0.1.6 CHANGELOG
Breaking changes
None
Improvements
- eventAppeared callbacks returning a Promise are now handled by the client so that order is guaranteed when doing asynchronous processing.
0.1.7 CHANGELOG
Breaking changes
None
Improvements
- Fixed typescript definition of EventAppearedCallback for possible promise return.
0.1.8 CHANGELOG
Breaking changes
None
Bugs
- #46 Fixed GUID bytes ordering (This only affects you if you're using both .Net or HTTP client and the nodejs client and if you stored your uuid to reference them)
0.1.9 CHANGELOG
Breaking changes
None
New features
- #43 Implemented the ProjectionsManager class that let you manage projections
0.1.10 CHANGELOG
Breaking changes
None
Improvements
- #49 Fixed typo for NoopLogger in TypeScript definition
0.2.0 CHANGELOG
Breaking changes
- #31 Implemented v4 protocol. Everything related to stream version (eventNumber, expectedVersion, etc) now accepts a Long or a number as input and is a Long in results (see changes in index.d.ts). Also v4 protocol is only compatible with EventStore >= 3.9.4 (so you have to use package 0.1.x if you still use an EventStore older than 3.9.4)
0.1.11 / 0.2.1 CHANGELOG
Bug fixes
- Potential error handling issue fixed
Notes
Package were pushed in the wrong order, so latest version is 0.1.11 instead of 0.2.1. This should have no impact on the existing users. New users will get 0.1.11.
Difference between 0.1.x and 0.2.x
- 0.1.x packages are compatible with versions 3.x and 4.x of the EventStore with the limitation of using 32bit for version numbers in streams (EventStore v4 uses 64bit for version numbers in streams, but as long as your streams are not over the 32bit limit the old protocol will work correctly).
- 0.2.x packages are compatible with versions 3.9.4 and 4.x of the EventStore.
0.2.2 CHANGELOG
Enhancement
- Adding streamPosition constants.
- Adding start/end static constants to Position class.
0.2.3 CHANGELOG
New feature
- #3 Ssl connection is now implemented see test/connection_test.js for example and read eventstore docs on how to set it up. Note: testing was only done with a self-signed certificate and validateServer: false, if you experience issue with CA signed certificate let me know.
0.2.4 CHANGELOG
Improvements
- #59 Fixed typescript definitions for PersistentSubscriptions
- #58 Improve documentation
0.2.5 CHANGELOG
0.1.12 CHANGELOG
Bugs
- #61 Fixed subscriptionDropped only being called once
Also here's some important notes about the subscriptionDropped / reconnect behavior. Only catchUp subscriptions (subscribeToAllFrom or subscribeToStreamFrom) will automatically resubscribe and continue from where they left off after a client reconnect. There is no need to manually handle re-subscription for these type of subscriptions.
CAVEAT: catchUpSubscriptions will only continue after reconnect if they reached their "live processing" phase, i.e. the liveProcessingStarted event was fired. If the subscription dropped during the catchUp phase the subscription will NOT continue automatically after a reconnect.
0.2.7 CHANGELOG
Bugs
- #62 Send content-length with projections manager requests
0.2.8 CHANGELOG
Bugs
- #63 Fixed missing export for PersistentSubscriptionNakEventAction
0.2.9 CHANGELOG
Bugs
- #60 Fixed an issue with the tcp connection logic where it did not close the connection when the socket was closed due to a transmission error.
- #54 Work in progress, merged a pull request that adds the missing EventEmitter method in the definition
0.2.10 CHANGELOG
Bugs
- #68 Merged PR #69 to fix a wrong usage of this in a function closure.
0.2.11 CHANGELOG
Improvements
#73 move strict-event-emitter into regular dependencies
Bugs
#74 #75 #76 projections manager minor fixes