Skip to content

Conversation

@rg911
Copy link
Contributor

@rg911 rg911 commented May 26, 2020

[0.19.2] - 26-May-2020

Milestone: Gorilla.1(0.9.5.1)

Package Version Link
SDK Core v0.19.2 https://www.npmjs.com/package/symbol-sdk
Catbuffer v0.0.19 https://www.npmjs.com/package/catbuffer-typescript
Client Library v0.8.11 https://www.npmjs.com/package/symbol-openapi-typescript-node-client
  • [BREAKING CHANGE] Replaced constructor parameter config with url in Listener class. The constructor is now only using a complete websocket url (e.g. http://localhost:3000/ws or ws://localhost:3000/ws) but not rest-gateway url anymore (It will NOT append /ws suffix to the input url).
  • [BREAKING CHANGE] RepositoryFactory: Optional constructor parameters has been moved into RepositoryFactoryConfig interface (optional).
  • [BREAKING CHANGE] Added websocketInjected (optional) parameter to the RepositoryFactoryConfig interface. RepositoryFactory.createListener() can now take injected websocket instance to create Listener object.
  • [BREAKING CHANGE] Added websocketUrl (optional) parameter to the RepositoryFactoryConfig interface. it allows custom websocket url to be used to create the Listener object. By default (not provided), the factory will use rest-gateway url with '/ws' suffix appended (e.g. http://localhost:3000/ws)
  • [BREAKING CHANGE] Listener.newBlock channel is now returning new object NewBlock rather than sharing with BlockInfo used by rest-gateway payload.
  • Added stateHashSubCacheMerkleRoots to BlockInfo.

@rg911 rg911 requested review from dgarcia360, evias and fboucquez May 26, 2020 11:00
@rg911 rg911 merged commit 060749f into symbol:master May 26, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants