Releases: thejohnhoffer/use-hash-history
Releases · thejohnhoffer/use-hash-history
Version 1.3.4
Version 1.3.3
Version 1.3.2
Version 1.3.1
Minor improvement
- The testing framework is moved to a reusable module in #30
Full Changelog: v1.3.0...v1.3.1
Version 1.3.0
New Feature
- new
defaultPath
property allows the user to set a defaulthash
andquery
for the page
Full Changelog: v1.2.3...v1.3.0
Version 1.2.3
Bug fixes
- Avoid encoding hash on pushState or replaceState without url
Full Changelog: v1.2.2...v1.2.3
Version 1.2.2
Bug fix
- include all files in build directory by @thejohnhoffer in #27
Full Changelog: v1.2.0...v1.2.2
Version 1.2.0
Features
Bug fixes
- remove needless exports by @thejohnhoffer in #20
- warning on relative pathname by @thejohnhoffer in #22
Improvements to tests
- exclude demo from coverage by @thejohnhoffer in #23
- add unit tests by @thejohnhoffer in #24
Full Changelog: v1.1.0...v1.2.0
Version 1.1.0
New features
- PR #7 appropriately handles relative paths.
- PR #13 reimplements transformers to match history PR #911
Full Changelog: v1.0.1...v1.1.0
Version 1.0.0
Features
Version 1.0.0 supports many URLs like:
index.html#hello#world
with "hashSlash = "#"index.html/#a#b#c
with "hashSlash = "#" and "hashRoot = "/"- The old-school "hashbang" like
index.html/#!AJAX
with "hashRoot = "!"
See the example properties and test cases.
Bugfixes
- Removal of nonstandard regex expression #1
- The parser now handles repeated
#
as part of the route. (This is the howhashSlash = "#"
works).
Tests
- 7 initial tests added #4
- Tested with
react@18
,[email protected]
and[email protected]