Skip to content

Releases: atelier-saulx/based-universal

v2.1.6

03 Sep 13:35
4aed1d6
Compare
Choose a tag to compare

What's Changed

  • Fix get issue and support darwin arm by @frammaa in #18

Full Changelog: v2.1.5...v2.1.6

v2.1.5

31 Jul 14:36
4408bb1
Compare
Choose a tag to compare

What's Changed

  • add host and discoveryUrl options to BasedOpt struct in #16. You can now pass a custom host and/or a discoveryUrl to the client, to connect to on-premise instances of the Based server.
  • Make TLS a runtime flag in #17. When creating a new Based Client you now have to pass a boolean to enable or disable TLS.

Full Changelog: v2.1.4...v2.1.5

v2.1.4

26 Feb 12:40
Compare
Choose a tag to compare

What's changed

  • When subscribing to a live observable, send cache contents immediately, instead of only firing on next update.

Full Changelog: v2.1.3...v2.1.4

v2.1.3

21 Sep 10:38
Compare
Choose a tag to compare

What's changed

  • Fixed an issue where if the client lost connection, it would not correctly set the previous authState on reconnect
  • Fixed an issue where the library would crash if discovery didn't return a valid url
  • Downgraded c++ version to c++14 from c++17 in order to support Android API level 24
  • Add logging function for Android builds
  • Several improvements to the build system

Full Changelog: v2.1.2...v2.1.3

v2.1.2

11 Aug 12:53
Compare
Choose a tag to compare

What's changed

  • Fixed a bug with observables being closed too early if they received an error message
  • Fixed a bug with unsubscribing from channels
  • Added special header for the server handshake
  • Several bug fixes and improvements thanks to the new based-node-addon, which allowed to port our existing js test suite.

Full Changelog: v2.1.1...v2.1.2

v2.1.1

01 Aug 10:15
Compare
Choose a tag to compare

What's changed

  • Correctly support multi-hub configurations
  • Only fire set_auth callback with AuthState type objects

Full Changelog: v2.1.0...v2.1.1

v2.1.0

22 May 14:55
Compare
Choose a tag to compare

What's changed

  • Updated the discovery system.

Full Changelog: v2.0.0...v2.1.0

v2.0.0

16 Apr 12:06
Compare
Choose a tag to compare

What's new

This release implements service_discovery for the new Based Infrastructure which is about to go live.

In addition, it supports the new channels feature, with three new endpoints:

int Based__channel_subscribe(based_id client_id,
                                        char* name,
                                        char* payload,
                                        void (*cb)(const char* /* Data */,
                                                   const char* /* Error */,
                                                   int /*request_id*/));

void Based__channel_unsubscribe(based_id client_id, int id);

void Based__channel_publish(based_id client_id,
                                       char* name,
                                       char* payload,
                                       char* message);

Channels are stateless observables that a user can publish or subscribe to.

What's changed

  • This version is no longer compatible with the current Based infrastructure (neither @based/hub nor @based/edge)
  • The Based__function method has been renamed to Based__call, to more closely align with the JS client.
  • The Based__auth method has been renamed to Based__set_auth_state, to more closely align with the JS client, and reflect more accurately what it does.

Full Changelog: v1.1.0...v2.0.0

v1.1.0

07 Feb 10:36
Compare
Choose a tag to compare

This version implements the get_service endpoint, which is used to get the url to which a POST request can be made for things such as file-upload.

Full Changelog: v1.0.2...v1.1.0

v1.0.2

27 Jan 10:44
Compare
Choose a tag to compare

This release fixes a bug with the auth logic, and adds support for older versions of MacOS (Intel)

Full Changelog: v1.0.1...v1.0.2