Releases: Bloomca/veles
v1.1.1
v1.1.0
Description
Adds support for object style property, and update values automatically if not all changed.
What's Changed
- Add style object support by @Bloomca in #103
- fix portals fragments by @Bloomca in #104
- Add linting by @Bloomca in #105
- Add formatter by @Bloomca in #106
- add lint-staged setup by @Bloomca in #107
Full Changelog: v1.0.0...v1.1.0
v1.0.0
Description
This is the first major release as I think the library has everything for building complex interfaces. Specifically, it adds Portals and revamps the signals API to follow https://github.com/bloomca/vellyr as I think it is better ergonomically and solves a few issues (like diamond dependencies trigger multiple subscribe callbacks even if only one source was changed).
What's Changed
- small utility functions fixes by @Bloomca in #76
- Add portals implementation by @Bloomca in #77
- add comparator support to selectState by @Bloomca in #78
- port vellyr core to veles by @Bloomca in #80
- add state core tests for modifications by @Bloomca in #81
- Update state deriving api by @Bloomca in #84
- correctly cleanup track value returned function by @Bloomca in #85
- Rename api names by @Bloomca in #86
- skip nested unnecessary selectors by @Bloomca in #87
- add tests to edge case when render each has 0 elements at some point by @Bloomca in #88
- make nested documentation pages appear in the sidebar by @Bloomca in #89
- change to state$ signature in examples and tests by @Bloomca in #90
- add a test for effective markup execution by @Bloomca in #91
- Fix building script by @Bloomca in #92
- infer types in renderEach() method by @Bloomca in #94
- Fix typescript errors by @Bloomca in #95
- add extra CI step to verify TS compilation by @Bloomca in #96
- adjust renderEach callback state names in docs and tests by @Bloomca in #97
- use correct values for some attributes by @Bloomca in #99
Full Changelog: 0.0.9...v1.0.0
Release version 0.0.9
What's Changed
The only relevant bugfix is:
The rest are just docs:
- add docs about context and guides by @Bloomca in #63
- add external store guide by @Bloomca in #64
- add code comments by @Bloomca in #69
- add README.md for tests by @Bloomca in #70
- add components lifecycle guide by @Bloomca in #71
Full Changelog: 0.0.8...0.0.9
Release version 0.0.8
What's Changed
This is a pretty big release which changes the underlying rendering engine to be a 2 step process instead of one. While it makes it ~20% slower, it allows for Context and it is too important of a feature to not to have it.
If while working on the example app I decide that the performance hit is too big, I might revert the changes, but the library focuses on 2 things: performance and composability, so I am okay with small compromises. At the end of the day, updates are still granular, so a small performance hit should not be too hard in theory.
- handle boolean DOM attributes correctly by @Bloomca in #51
- allow dynamic adding and removing event listeners by @Bloomca in #52
- call unmount callbacks on entire Veles app removal by @Bloomca in #53
- allow to return
useValue/useValueSelectordirectly from components by @Bloomca in #54 - fix incorrect
unmountbehaviour withuseValuelogic by @Bloomca in #56 - Use value activate onmount by @Bloomca in #57
- do not track attributes value until mounted by @Bloomca in #58
useValueIteratorsubscribes only on mount by @Bloomca in #60- Fix mount state subscriptions check by @Bloomca in #61
- change rendering approach by @Bloomca in #62
- Add Context support
Full Changelog: 0.0.7...0.0.8
Release version 0.0.7
Release 0.0.6
What's Changed
Full Changelog: 0.0.5...0.0.6
Release 0.0.5
- Fix a bug with
trackValue, where it won't react when you switch to the initial value
Release 0.0.4
Add JSX type support, which should make the library mostly TypeScript compatible.
Some typing are still poor, but overall it should help a lot, especially when using state methods.
0.0.3
Release v0.0.3
- automatically register returned function in mount cb as unmount (#31)
- allow to have to no callback function in
useValue,useValueSelectoranduseAttribute(#29) - allow numbers as children in components (#28)
- allow plain values to be passed to setValue (#27)
- Handle
onMountcallbacks correctly when render conditionally (#26)