Releases: ForsakenHarmony/parket
Releases · ForsakenHarmony/parket
1.0.0-canary.1
published under a non beta tag by accident and had to undo
1.0.0-canary.0
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
0.4.1
Typescript 🤔
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
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
0.2.3
Bug fixes
If you had the devtools enabled but the redux devtools extension was not installed it would throw an error
0.2.2
Bug fixes
Nested models in the init function would throw an error because it tried to override fields in them