Skip to content

Releases: dgoemans/spot

Replace deepmerge

16 Dec 13:43
Compare
Choose a tag to compare

Full Changelog: v0.10.0...v0.11.0

  • A bunch of package upgrades
  • Replace deepmerge with deepmerge-ts for performance reasons
  • Throw out node 10 and 12 support, and add 16 and 18

Add credentials override

02 Dec 11:14
Compare
Choose a tag to compare

What's Changed

Full Changelog: v0.9.5...v0.10.0

v.0.7.0-alpha.3

28 Dec 16:43
Compare
Choose a tag to compare
v.0.7.0-alpha.3 Pre-release
Pre-release
Attempt to fix env again

v.0.7.0-alpha.2

28 Dec 16:40
Compare
Choose a tag to compare
v.0.7.0-alpha.2 Pre-release
Pre-release
Fix env var

v.0.7.0-alpha.1

28 Dec 16:37
f851a9b
Compare
Choose a tag to compare
v.0.7.0-alpha.1 Pre-release
Pre-release

Added auth and fixed errors

v0.6.0

04 Nov 15:32
Compare
Choose a tag to compare
  • Fixed a bug where concurrent commands/queries would cause loading to be prematurely finished
  • Logging is nicer and takes up less screen real-estate

v0.6.0-alpha.2

02 Nov 19:06
Compare
Choose a tag to compare

And now with the fix in

v0.6.0-alpha.1

02 Nov 19:00
886c4bb
Compare
Choose a tag to compare

Track active commands and queries to allow for proper loading stop/start.

Typed data

28 Oct 16:07
08deda2
Compare
Choose a tag to compare

Generic initialization

You can now initialize spot with a data type which will then be used everywhere, no longer forcing you to cast to your own type. Default behavior is unknown which should maintain some semblance of backward compatibility.

Example:

interface MyStoreStructure {
  myField: string;
}

const spot = initializeSpot<MyStoreStructure>('/api');

// Typescript will hint this correctly!
console.log(spot.data.myField);

// Typescript knows that this is also on the data object as it merges with Spots internal properties.
console.log(spot.data.loading);

v0.4.0

28 Oct 15:32
2001272
Compare
Choose a tag to compare

Typescript conversion

The project was written in vanillajs before this. This version was a quick conversion to typescript just to allow type completion in projects using this.