Skip to content

Releases: MarciiTheDev/marcsync-nodejs-client

Version 1.2.1 - Added automatic reconnect for Websockets

26 Mar 13:03
92dc300

Choose a tag to compare

Added auto-reconnect once the Websocket connection to the SignalR-Hub gets dropped for some reason.

What's Changed

Full Changelog: v1.2.0...v1.2.1

Version 1.2.0 - Generic Types Update

06 Dec 16:03
e696c78

Choose a tag to compare

Added the ability to generically interact with Entries inside of Collections, which now allows you to specify how entries are structured in your Database via Interfaces.

Example:

interface Dog extends EntryData {
    name: string,
    age: number,
    race: name
}

const collection = ms.getCollection<Dog>("dog-list");
collection.getEntries({
    name: "Bella"
}).then(entry => {
    console.log(`Bella's race is: ${entry.getValue("race")}`)
});

TypeScript automatically detects the type of all of the entry's values with the help of the interface we have created in the above example.

Changelog:

  • Added Generic Types
  • Removed .getValuesAs<T>

What's Changed

New Contributors

Full Changelog: v1.1.4-dev...v1.2.0

Fixed Issues

22 Aug 19:12

Choose a tag to compare

Fixed Issues Pre-release
Pre-release

Issues fixed:
#3

Full Changelog: v1.1.3-dev...v1.1.4-dev

Fixed Issues

19 Jul 14:17

Choose a tag to compare

Fixed Issues Pre-release
Pre-release

Issues fixed:
#2

Fixed Issues

18 Jul 15:40

Choose a tag to compare

Fixed Issues Pre-release
Pre-release

Issus fixed:
#1

Bug Fix: Query Without Arguments

12 Jul 16:16

Choose a tag to compare

Pre-release

Fixed the issue where you couldn't query without proving the 'filter' argument.

You should now instead get a list of all documents found inside that collection. (just like in the Roblox Client)

Websocket Support

03 Jul 19:43

Choose a tag to compare

Websocket Support Pre-release
Pre-release

Added Websocket Support, meaning that you can now subscribe to the following events:

  • entryCreated
  • entryUpdated
  • entryDeleted

More subscribe options (collectionCreated, collectionUpdated, collectionDeleted) will follow soon.

Setup basic functionality

30 Jun 19:42

Choose a tag to compare

Pre-release

In this first pre-release, and after some asking, I have setup some basic functionality similar to the MarcSync Roblox Client.

This build is not production ready and issues must be expected, as this is the first release.

If you are faceing any issues, you are free to report them on the Discord or via GitHub Issues and you can, as always, contribute the the project at any time.