Releases: WJSoftware/wjfe-n-savant
v0.8.0
v0.7.1
v0.7.0
What's Changed
- chore: Refactor and improve unit testing by @webJose in #48
- feat: Add href validation to calculateHref by @webJose
- fix: Ensure arrays in state.hash are not allowed by @webJose in #49
- chore: Add more unit testing by @webJose in #50
- feat: Support the use of regular HTML anchor elements for hash routing universes by @webJose in #51
- fix: Ensure user-provided onclick event in Link component doesn't override internal onclick by @webJose in #52
- fix: Ensure LocationFull validates state data before relaying it to history API by @webJose in #55
- feat: Add global logger object by @webJose in #56
- docs: Update README by @webJose in #58
- tests: Improve unit testing around LocationFull and LocationLite by @webJose in #59
- fix: Ensure the cleanup function from init() really rolls back everything by @webJose in #60
Other Changes
Full Changelog: v0.6.0...v0.7.0
v0.6.0
What's Changed
- feat: Add
ignoreForFallback
property toRoute
by @webJose in #43 - feat: Add
when
property toFallback
component by @webJose in #45 - chore: Eliminate repeated code about shallow routing in
LocationLite
by @webJose in #46 - chore: Clean undesired
console.log()
call by @webJose in #47
Full Changelog: v0.5.0...v0.6.0
v0.5.0
v0.4.0
What's Changed
- feat: Add shallow routing by @webJose in #27
- feat!: Major navigation improvements by @webJose in #32
- chore: Update demo after navigation improvements by @webJose in #33
- feat: Update build script to correctly add component README contents to .d.ts files by @webJose in #34
- chore: Clean things up after navigation feature by @webJose in #35
- feat: Enable the use of clsx through ActiveState.class (via the activeState component prop) by @webJose in #36
Other Changes
- chore: Minor demo updates by @webJose in #37
- feat: Add CI/CD by @webJose in #38
- docs: Add diagram explaining general mechanisms by @webJose in #39
Full Changelog: v0.3.0...v0.4.0
Navigation Has Been Re-worked!
This might or might not break your current code. See #25 to understand the main objective of this release.
In a nutshell, HREF support was a bit too flaky around the preservation of URL components (query strings and hashes). Furthermore, the rules that applied to HREF's for the Link
component weren't the same than the rules that applied for Location.navigate()
. Furthermore, the overloads for the latter were a bit confusing.
Now all navigation is powered by the same logic, whose main driver is the (exported) function calculateHref()
. This function has actually enabled the Link
component to accurately generate the correct URL preview when the mouse hovers over the rendered HTML anchor element.
The online documentation has also been updated.