Skip to content

Releases: Bloomca/veles

Release version 0.0.9

26 Jul 02:10
Compare
Choose a tag to compare

What's Changed

The only relevant bugfix is:

  • fix event listeners not registering for events with multiple words by @Bloomca in #73

The rest are just docs:

Full Changelog: 0.0.8...0.0.9

Release version 0.0.8

11 Jun 18:35
Compare
Choose a tag to compare

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/useValueSelector directly from components by @Bloomca in #54
  • fix incorrect unmount behaviour with useValue logic by @Bloomca in #56
  • Use value activate onmount by @Bloomca in #57
  • do not track attributes value until mounted by @Bloomca in #58
  • useValueIterator subscribes 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

06 Jun 04:42
Compare
Choose a tag to compare

What's Changed

Misc

Full Changelog: 0.0.6...0.0.7

Release 0.0.6

04 Jun 17:02
Compare
Choose a tag to compare

What's Changed

  • fix bug with conditional returns in useValue by @Bloomca in #38

Full Changelog: 0.0.5...0.0.6

Release 0.0.5

04 Jun 05:30
Compare
Choose a tag to compare
  • Fix a bug with trackValue, where it won't react when you switch to the initial value

Release 0.0.4

03 Jun 18:06
ae56a5b
Compare
Choose a tag to compare

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

03 Jun 14:48
e5568d2
Compare
Choose a tag to compare

Release v0.0.3

  • automatically register returned function in mount cb as unmount (#31)
  • allow to have to no callback function in useValue, useValueSelector and useAttribute (#29)
  • allow numbers as children in components (#28)
  • allow plain values to be passed to setValue (#27)
  • Handle onMount callbacks correctly when render conditionally (#26)