Releases: kitbagjs/router
Releases · kitbagjs/router
Release 0.5.4
What's Changed
- 0.5.3 by @stackoverfloweth in #226
- make path optional by @stackoverfloweth in #227
- updated docs for optional path, external routes, and host by @stackoverfloweth in #228
Full Changelog: v0.5.3...v0.5.4
Release 0.5.3
What's Changed
- 0.5.2 by @stackoverfloweth in #221
- Route match updates by @stackoverfloweth in #222
- fix bug with non-escaped regex characters in route by @stackoverfloweth in #225
- added host utility, similar to path and query by @stackoverfloweth in #223
Full Changelog: v0.5.2...v0.5.3
Release 0.5.2
What's Changed
- 0.5.1 by @stackoverfloweth in #219
- bug with
isRoute
param types by @stackoverfloweth in #220
Full Changelog: v0.5.1...v0.5.2
Release 0.5.1
What's Changed
- check keys for empty string by @stackoverfloweth in #217
- fix bug where duplicate keys aren't caught by @stackoverfloweth in #218
Full Changelog: v0.5.0...v0.5.1
Release 0.5.0
What's Changed
- 0.4.2 by @stackoverfloweth in #207
- optional params alt approach by @stackoverfloweth in #208
- Make
route
a union of all possible routes and improve return types forisRoute
anduseRoute
by @pleek91 in #209 - Simplify the
Route
type by @pleek91 in #210 - Update docs to include a guide about narrowing the route by @pleek91 in #211
- bug: external
to
on router-link was rendering NotFound before navigating by @stackoverfloweth in #212 - Router add host context by @stackoverfloweth in #213
- Add support for defined external routes by @pleek91 in #214
- Visual learners rejoice 🎉 by @stackoverfloweth in #215
- createRouter accepts array of route arrays by @stackoverfloweth in #216
Full Changelog: v0.4.2...v0.5.0
Release 0.4.2
What's Changed
- Remove
as const
to fix build by @pleek91 in #205 - Fixed bug with host route match rule by @stackoverfloweth in #206
Full Changelog: v0.4.1...v0.4.2
Release 0.4.1
What's Changed
- Update component utility to not require suspense unless props are async by @pleek91 in #198
- Bump braces from 3.0.2 to 3.0.3 by @dependabot in #201
- Fix
RouterRoute
type so thatisRoute
type guard works correctly when given aRouterRoute
by @pleek91 in #199 - new
createParam
utility by @stackoverfloweth in #200 - Create param documentation by @stackoverfloweth in #202
- 0.4.1 by @stackoverfloweth in #204
Full Changelog: v0.4.0...v0.4.1
Release 0.4.0
What's Changed
- 0.1.0 by @stackoverfloweth in #166
- New
component
utility for binding props and attrs by @pleek91 in #164 - v0.1.1 by @stackoverfloweth in #167
- added code of conduct file by @stackoverfloweth in #168
- Param syntax change by @stackoverfloweth in #169
- Add support for JSON params by @pleek91 in #170
- Add support for Date params by @stackoverfloweth in #171
- 0.2.0 by @stackoverfloweth in #172
- swap slack link for discord by @stackoverfloweth in #173
- added discord and stackblitz to readme by @stackoverfloweth in #176
- finished vue-router migration docs by @stackoverfloweth in #177
- New
useLink
composition by @stackoverfloweth in #180 - fixed bug with non-string optional params by @stackoverfloweth in #178
- Fix router.find returning any route with
/
as the path when resolving an external url with no path by @pleek91 in #181 - Fix param names unable to be snake or kebab case by @pleek91 in #182
- Add
isRoute
type guard withexact
option by @pleek91 in #183 - Rework RouterView so that there isn't a v-if/v-else by @pleek91 in #184
- Named router views by @pleek91 in #185
- 0.3.0 by @stackoverfloweth in #188
- isRoute options should be optional by @stackoverfloweth in #189
- Update
ResolvedRoute
to use the matches type from the genericRoute
by @pleek91 in #190 - Improved path query types by @stackoverfloweth in #194
- Param defaults by @stackoverfloweth in #195
- Param default docs by @stackoverfloweth in #196
Full Changelog: v0.1.0...v0.4.0
Release 0.1.0
What's Changed
- Add compositions for getting the route as well as individual route params by @pleek91 in #1
- Merge children route type by @stackoverfloweth in #2
- Route param types by @pleek91 in #4
- added eslint config from prefecthq and vscode settings by @stackoverfloweth in #3
- organize types and utilities into separate files by @pleek91 in #5
- Write type tests for route method params by @pleek91 in #6
- Update
Route
types to makename
optional for parents by @pleek91 in #8 - Make all routes with a name callable unless public is false by @pleek91 in #9
- Route matching by @stackoverfloweth in #7
- Update param type and write get/set utilities by @pleek91 in #10
- Add
component
property and types toRoute
types by @pleek91 in #11 - Add workflows and funding for github by @pleek91 in #12
- updated param logic on flatten routes utility by @stackoverfloweth in #13
- Match alphanumeric params only by @pleek91 in #14
- Path types by @pleek91 in #16
- updated types on params utility by @stackoverfloweth in #17
- Bump vite from 4.5.0 to 4.5.1 by @dependabot in #19
- Make sure to always return a tuple for params in ExtractParamsFromPathString by @pleek91 in #20
- implemented path function by @stackoverfloweth in #18
- Router types by @pleek91 in #23
- Add types for what a RouteMethod returns by @pleek91 in #24
- Validate params by @stackoverfloweth in #21
- Middleware types by @pleek91 in #22
- Add RouteMeta and simplify Route types by @pleek91 in #25
- RouteFlat -> Resolved by @stackoverfloweth in #26
- created setParamValue function in paramsFinder service by @stackoverfloweth in #27
- implemented url assembly utility by @stackoverfloweth in #28
- fixed most lint warnings by @stackoverfloweth in #29
- added parent route names to Resolved route by @stackoverfloweth in #30
- Update the RouteMethod and RouteMethodRoute types by @pleek91 in #32
- TestHelpers by @stackoverfloweth in #34
- Fix types for RouteMethodResponse by @pleek91 in #33
- Create route methods by @stackoverfloweth in #35
- Add
route
toRouter
type and abstract router logic into separate utilities by @pleek91 in #37 - Fix route methods showing up in types with
never
by @pleek91 in #36 - Fix test errors with creating route methods by @pleek91 in #40
- Abstract updating the window location into a separate utility and add tests by @pleek91 in #38
- Better browser support for updating urls by @pleek91 in #41
- RouterNavigation implementation for web & memory by @stackoverfloweth in #42
- Update navigation and implement onLocationUpdate logic by @pleek91 in #43
- code review suggestions by @stackoverfloweth in #45
- Implement router.route by @pleek91 in #44
- removed extra describes from unit test files by @stackoverfloweth in #46
- add support for vue components as part of library export by @stackoverfloweth in #47
- Implement RouterView by @pleek91 in #48
- Implement route methods and organize router and route method types by @pleek91 in #51
- Implement RouterLink component by @pleek91 in #52
- Add type for flattening routes into an object of route & params pairs by @pleek91 in #53
- Overload RouterLink to prop to accept strings by @pleek91 in #54
- Add the ability to register router types at implementation by @pleek91 in #55
- created overload of router.push by @stackoverfloweth in #50
- RFC: Add type support for route query by @pleek91 in #56
- Query updates to route resolver by @stackoverfloweth in #57
- Update route method and flattened types to support query params by @pleek91 in #58
- add depth: number property to resolved routes by @stackoverfloweth in #60
- More complete types for
RouterPush
and abstact implementation intocreateRouterPush
by @pleek91 in #59 - Type optimizations by @pleek91 in #63
- refactored route matching to include new logic for matching query by @stackoverfloweth in #61
- using route scoring on all route matches, returning the highest score by @stackoverfloweth in #62
- Url assembly with query by @stackoverfloweth in #65
- removed flattened type and related logic to support router push overload by @stackoverfloweth in #66
- Add new types and implementation for router.push by @pleek91 in #67
- Abstract resolving a url from a route source into router.resolve by @pleek91 in #69
- Remove generics from route types by @pleek91 in #68
- Separate out type checking from the type tests by @pleek91 in #70
- RFC: Implementation types for internal utilities by @pleek91 in #71
- Rejections by @pleek91 in #72
- added support for router.refresh method by @stackoverfloweth in #73
- Refactor RouterLink and Router.resolve by @pleek91 in #74
- Update RouteWithParam types by @pleek91 in #75
- Add a createRouterReplace utility and update types by @pleek91 in #77
- rearrangement suggestion suggestions by @pleek91 in #80
- middleware-tests by @pleek91 in #82
- Use symbols for private members of Resolved by @pleek91 in #83
- vitepress docs (first pass) by @stackoverfloweth in #76
- rearrangement suggestion by @stackoverfloweth in #79
- Middleware implementation by @pleek91 in #78
- updated route syntax from "public" to "disabled" by @stackoverfloweth in #84
- update core logic for route matching to be case insensitive by @stackoverfloweth in #85
- Params disallow forward slashes by @stackoverfloweth in #86
- Clean up how private symbol properties work in Resolved by @pleek91 in #87
- Simplify
Resolved<T>
type toResolvedRoute
by @pleek91 in #88 - Router link classes by @stackoverfloweth in #89
- Maybe relative url by @stackoverfloweth in #94
- Matched route type refactor by @stackoverfloweth in #92
RouterRoute
type and implementation by @pleek91 in #90- Add support for static queries when doing navigation by @pleek91 in #91
- Address issue #93 by @stackoverfloweth in #95
- naming refactor 2, mostly ResolvedRoute and RouterRoute swap by @stackoverfloweth in #97
- Expand middleware concept into hooks by @pleek91 in #96
- add support for BEFORE navigation update by @stackoverfloweth in #99
- Add hook conditions to route level hooks by @pleek91 in #98
- Discovered bug while proving Param names are case senstitive by @stackoverfloweth in #100
- added slot props to router-link and router-view by @stackoverfloweth in #101
- wrote test to prove writing query works by @stackoverfloweth in https://github.com/kitbag...