Skip to content

Latest commit

 

History

History
70 lines (44 loc) · 2.58 KB

File metadata and controls

70 lines (44 loc) · 2.58 KB

pryv changelog

  • @pryv/socket.io: cap reconnection (reconnectionAttempts: 10, reconnectionDelayMax: 60000, randomizationFactor: 0.5) so a server-side outage no longer drives an unbounded reconnect loop. Listens for reconnect_failed and surfaces a terminal error event so consumers can clean up instead of leaving a zombie socket reference.
  • @pryv/monitor: when the underlying socket.io transport dies (terminal reconnect_failed), drop the cached socket reference so a future Changes.READY cycle rebuilds from scratch instead of short-circuiting on the dead handle.
  • Socket.IO: use WebSocket transport directly instead of polling-first. Fixes connection failures against service-core v2 cluster mode (which disables HTTP long-polling).
  • Removing superagent dependency (breaking change)
  • Enhancing test suite
  • Changing linter & typescript coverage
  • Enhanced typescripts definition
  • Adding Connextion.apiOne() and Connextion.apiOne()
  • Some untracked changes

Deprecated

  • global.Pryv, renamed to global.pryv (when loaded with <script>)
  • utils.extractTokenAndApiEndpoint(), renamed to utils.extractTokenAndAPIEndpoint()
  • utils.buildPryvApiEndpoint(), renamed to utils.buildAPIEndpoint()

Changed

  • Dev: Grouped library and add-ons (Socket.IO & Monitor) in monorepo
  • Dev: run tasks with just, lint with semistandard, license with source-licenser

Removed

  • JSDoc generated docs (to avoid confusion with docs in READMEs)

2.2.0 – 2022-01-10

Added

2.1.7 – 2021-05-10

Removed

  • Dev: Removed jsdoc dependency for security reason

2.1.0 – 2020-10-22

Added

  • Extendable UI feature

Changed

  • UI separated from the Authentication logic

2.0.3 – 2020-06-22

Added

  • Connection.username()

Fixed

  • Origin header in browser distribution

Security

  • Various dependencies upgrades

2.0.1 Initial release – 2020-04-06