socketdb

Real-time data synchronization

MIT License

Downloads
602
Stars
5
Committers
4

Bot releases are visible (Hide)

socketdb - v8.2.0 Latest Release

Published by github-actions[bot] over 1 year ago

8.2.0 (2023-07-13)

Features

  • client: add subscribeGroup that allows you to group subscriptions together (1d80cf4), closes #37
socketdb - v8.1.0

Published by github-actions[bot] over 1 year ago

8.1.0 (2023-07-13)

Features

  • client: allow unsubscribing the "once" call (0fca516)

Bug Fixes

  • client: issues with reconnecting after a disconnect (de37704)
  • client: websocket reconnection issues (339d190)
socketdb - v8.0.2

Published by github-actions[bot] over 1 year ago

8.0.2 (2023-07-13)

Bug Fixes

  • core: type for GoodbyeMessage (d67c550)
socketdb - v8.0.1

Published by github-actions[bot] over 1 year ago

8.0.1 (2023-07-13)

Bug Fixes

  • client: wrong types for connect function (85e3910)
socketdb - v8.0.0

Published by github-actions[bot] over 1 year ago

8.0.0 (2023-07-12)

⚠ BREAKING CHANGES

  • client: The client now requires a ".connect()" call to establish a connection.

Detailed upgrade guide: https://socketdb.com/guide/migration-guides/v7-to-v8

Features

  • client: add connect function to allow initializing without connecting (5910eac)

Bug Fixes

socketdb - v7.2.0

Published by github-actions[bot] over 1 year ago

7.2.0 (2023-06-02)

Features

  • allow sending a disconnect reason to the client (03f8fdb)
  • server: add api to manage client connections (a792f41)
socketdb - v7.1.0

Published by github-actions[bot] over 1 year ago

7.1.0 (2023-04-30)

Features

  • server: add hook that is called on initialization (b872ab1)

Performance Improvements

  • replace clone function with an implementation that is 3x as fast (e469b78)
socketdb - v7.0.0

Published by github-actions[bot] over 1 year ago

7.0.0 (2023-04-02)

⚠ BREAKING CHANGES

  • server: The server doesn't start automatically anymore. It now requires a .listen() call.
  • server: Deprecated type alias SocketDB has been removed. Use SocketDBServerAPI instead.
  • core: Removed deprecated type aliases KeyValue & Value. Use Json & LeafValue instead.
  • This update affects both client & server. Make sure to update both.

Detailed upgrade guide: https://socketdb.com/guide/migration-guides/v6-to-v7

Features

  • add heartbeat mechanism (ce491cd)
  • add intercept api to make it easier to call into hooks (ebeadd6), closes #50

Code Refactoring

  • core: remove deprecated type exports (1964b4f)
  • server: remove auto-listen feature (3f32429)
  • server: remove deprecated type alias (492a965)
socketdb - v6.2.0

Published by github-actions[bot] over 1 year ago

6.2.0 (2023-03-26)

Features

  • server: allow adding multiple callbacks to the default websocketServer (a0e932f)
socketdb - v6.1.0

Published by github-actions[bot] over 1 year ago

6.1.0 (2023-02-10)

Features

  • server: add schema type for the server (91dee56)

Bug Fixes

  • client: wrong schema for the root instance (1b6abb8)
socketdb - v6.0.0

Published by github-actions[bot] over 1 year ago

6.0.0 (2023-02-09)

⚠ BREAKING CHANGES

  • server: The interface for custom websocket-servers has changed. It now needs to return a listen function.

Features

  • server: add api for creatinging a user session context (40a8f4c)
socketdb - v5.0.1

Published by github-actions[bot] over 1 year ago

5.0.1 (2023-01-25)

Bug Fixes

  • client: updates being sent even if nothing has changed (801fcfc)
socketdb - v5.0.0

Published by github-actions[bot] almost 2 years ago

5.0.0 (2023-01-20)

⚠ BREAKING CHANGES

  • core: the store now returns null if there is no data for a given path instead of always returning an empty node. if you use a custom store or use the store from @socketdb/core directly, make sure to update accordingly.
  • changed the underlying events-system. this breaks compatibility with previous versions. make sure to upgrade both client and server.

Bug Fixes

  • each callback not run again after data for path has been re-added (c3f0d35)

Code Refactoring

  • core: store returns null for empty data (c3f0d35)
socketdb - v4.2.1

Published by github-actions[bot] almost 2 years ago

4.2.1 (2022-11-18)

Bug Fixes

  • core: add undefined as allowed primitive value (1e9c35c)
socketdb - v4.2.0

Published by github-actions[bot] almost 2 years ago

4.2.0 (2022-11-17)

Features

  • core: improve SchemaDefinition types (5a33d8a)
socketdb - v4.1.1

Published by github-actions[bot] almost 2 years ago

4.1.1 (2022-11-15)

Bug Fixes

  • wrong readme files for packages (fa9f411)
socketdb - v4.1.0

Published by github-actions[bot] almost 2 years ago

4.1.0 (2022-11-15)

Features

  • client: add commonjs support (ac670dc)
  • plugin-validate: add support for socketdb v4 (8c8c91e)
socketdb - v4.0.2

Published by github-actions[bot] almost 2 years ago

4.0.2 (2022-11-15)

Bug Fixes

  • client: check for websocket ready state before sending (7ac28ab)
socketdb - v4.0.1

Published by github-actions[bot] almost 2 years ago

4.0.1 (2022-11-15)

Bug Fixes

  • wrong @socketdb/core dependency version (095ab6d)
socketdb - v4.0.0

Published by github-actions[bot] almost 2 years ago

4.0.0 (2022-11-14)

⚠ BREAKING CHANGES

  • socketdb has been split into @socketdb/client & @socketdb/server
  • changed the underlying events-system. this breaks compatibility with previous versions. make sure to upgrade both client and server

Features

Code Refactoring

  • move to a monorepo (5ba03ed)
  • prefix socket events with a context (bb89f10)