Skip to content

Releases: ForsakenHarmony/parket

1.0.0-canary.1

22 Mar 00:51
Compare
Choose a tag to compare
1.0.0-canary.1 Pre-release
Pre-release

published under a non beta tag by accident and had to undo

1.0.0-canary.0

12 Apr 19:20
Compare
Choose a tag to compare
1.0.0-canary.0 Pre-release
Pre-release

This is not final by any means

Major Changes

  • Potential 1.0 candidate, single object model: 4e1b1bd
const Person = model('Person', ({ firstname }) => ({
  firstname,
  lastname: 'Lennon',

  setFirstName(first: string) {
    this.firstname = first;
  },
  setLastName(last: string) {
    this.lastname = last;
  },

  get fullname() {
    return `${this.firstname} ${this.lastname}`;
  },
}));

const instance = Person({ firstname: 'John' });

Patches

  • Move emitter to separate file: 0851bbc

0.4.2

19 Mar 17:35
Compare
Choose a tag to compare

Patches

  • Another fix, this time for proxies accidentally getting assigned to true: 5a6c835

0.4.1

19 Mar 17:11
Compare
Choose a tag to compare

Patches

  • A fix for dates in state: 9ab0125

Typescript 🤔

16 Mar 00:04
Compare
Choose a tag to compare

Minor Changes

  • Port typescript (typings are not optimal yet): 935c764
  • yarn bc bae

Bug Fixes

  • There was a bug with symbols in the proxy leading to an error

0.3.0

10 Mar 02:03
Compare
Choose a tag to compare

Features

Cache is now only computed on change & access ( won't compute the value when it's not used )

Bug fixes

Fix getRoot being useless

v0.2.4

28 Feb 14:13
Compare
Choose a tag to compare

Bug fixes

#10 Fixes @observe in both react and preact
I tried to be smart by reusing symbols, but they get bundled so they don't match 👀

0.2.3

26 Feb 19:04
Compare
Choose a tag to compare

Bug fixes

If you had the devtools enabled but the redux devtools extension was not installed it would throw an error

0.2.2

24 Feb 18:46
Compare
Choose a tag to compare

Bug fixes

Nested models in the init function would throw an error because it tried to override fields in them

0.2.1

04 Feb 16:17
Compare
Choose a tag to compare

Bug fixes

Views recomputed too often #8