Releases: oleystack/event
Releases · oleystack/event
v2.1.1
What's Changed
- Add support for the newest react
- Now events are collected and starting dispatching after Provider's first render
- Now events subscribing doesn't cause unnecessary rerender
and...
- build(deps): bump json5 from 1.0.1 to 1.0.2 by @dependabot in #19
- build(deps): bump json5 from 1.0.1 to 1.0.2 in /example by @dependabot in #18
- build(deps): bump decode-uri-component from 0.2.0 to 0.2.2 by @dependabot in #17
- build(deps): bump decode-uri-component from 0.2.0 to 0.2.2 in /example by @dependabot in #16
- build(deps): bump loader-utils from 2.0.2 to 2.0.4 by @dependabot in #15
- build(deps): bump loader-utils from 2.0.2 to 2.0.4 in /example by @dependabot in #14
- build(deps): bump minimatch and recursive-readdir by @dependabot in #13
- build(deps): bump terser from 5.13.1 to 5.14.2 in /example by @dependabot in #10
- build(deps): bump terser from 5.12.1 to 5.14.2 by @dependabot in #9
- build(deps): bump minimatch and recursive-readdir in /example by @dependabot in #20
Full Changelog: v2.0.1...v2.1.1
v2.0.1
v2.0.0
What's Changed
- build(deps): bump ejs from 3.1.6 to 3.1.7 by @dependabot in #3
- build(deps): bump async from 2.6.3 to 2.6.4 by @dependabot in #4
- Feat/simpler dispatch by @macoley in #5
Breaking changes
New API for event dispatching.
✖️ old one:
const dispatch = useEvent()
dispatch('onBobPress', 'hello')
✅ new one:
const { onBobPress } = useEvent()
onBobPress('hello')
Full Changelog: v1.1.0...v2.0.0
v1.2.0
What's Changed
- 🔥 New demo
- 🧩 Changed event store to array (to prevent no informing listeners)
Full Changelog: v1.0.3...v1.1.0
v1.03
Full Changelog: v1.0.2...v1.0.3
v1.0.2
Update documentation
Full Changelog: v1.0.1...v1.0.2
v1.0.1
Add MIT License file
Full Changelog: v1.0.0...v1.0.1