Skip to content
This repository has been archived by the owner on Dec 11, 2022. It is now read-only.

Releases: sciactive/nymph-client

5.2.0

26 Dec 20:41
Compare
Choose a tag to compare
  • An update to at least this version is required for compatibility with Nymph Server 3.3.0 and above.

5.1.0

28 Jun 20:22
Compare
Choose a tag to compare
  • Support WebSocket ponyfills.
  • Switch to fetch API instead of XHR.
  • Support fetch ponyfill.
  • Add request callbacks.
  • JSON stringify data to REST endpoint.

5.0.1

12 Jun 00:58
Compare
Choose a tag to compare
  • Fix stateless prop.
  • Don't use Object.fromEntries.
  • Node fixes.
  • Don't throw error on data access when sleeping reference, instead just error to console.

5.0.0

11 Jun 23:43
Compare
Choose a tag to compare
  • Simplify how data is accessed on entities using Proxy objects.
  • Some improvements to the code. Don't call $init with an entity, but only entity data.

Entities' data is now accessed like entity.prop instead of entity.data.prop. All the instance functions have been renamed with a "$" prepended. So, entity.refresh() becomes entity.$refresh(). You no longer need to use a set() function to support patches; props are now marked dirty on assignment (entity.prop = value;).

4.0.0

01 Jun 05:08
Compare
Choose a tag to compare
  • Add entity patch feature.

Big breaking changes since last stable version!

4.0.0-beta.18

09 May 01:38
Compare
Choose a tag to compare
4.0.0-beta.18 Pre-release
Pre-release
  • Properly reference entities in server call params.

4.0.0-beta.17

02 May 02:33
Compare
Choose a tag to compare
4.0.0-beta.17 Pre-release
Pre-release

BREAKING CHANGES

  • Lots of improvements and modernizations.
  • Add entity refresh file with utilities to save/restore referenced entities upon refresh.
  • Export UMD module with same name as package.

readyAll no longer takes callbacks. Instead, use the returned promise.

4.0.0-beta.16

21 Aug 20:35
Compare
Choose a tag to compare
4.0.0-beta.16 Pre-release
Pre-release
  • Fixed reverse sorting in PubSub insertions.

4.0.0-beta.15

20 Aug 19:14
Compare
Choose a tag to compare
4.0.0-beta.15 Pre-release
Pre-release
  • Fixed other TypeErrors when browser is offline.

4.0.0-beta.14

20 Aug 19:01
Compare
Choose a tag to compare
4.0.0-beta.14 Pre-release
Pre-release
  • Fix TypeError when browser is offline.