Release 0.1.0
Pre-release
Pre-release
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 #103
- Add support for running route hooks in before location update hook by @pleek91 in #102
- Refactor router history using history library by @pleek91 in #104
- extracted location update sequence for use in router.initialized by @stackoverfloweth in #105
- Simplify router push in hooks by @pleek91 in #106
- Refactor navigation by @pleek91 in #107
- Refactor hooks registration by @pleek91 in #109
- Refactor of how hooks are run to account for different timing and outcomes by @pleek91 in #108
- setup basic readme by @stackoverfloweth in #110
- refactored params by @stackoverfloweth in #112
- Router route refactor by @stackoverfloweth in #113
- Update some packages to latest versions by @pleek91 in #111
- update docs after ome recent refactors by @stackoverfloweth in #114
- implemented useRoute method by @stackoverfloweth in #115
- Remove implementation types by @pleek91 in #117
- new-push-syntax take 2 by @stackoverfloweth in #118
- Update router link to use resolve directly by @pleek91 in #120
- new syntax for router-link by @stackoverfloweth in #119
- renamed Route to RouteProps by @stackoverfloweth in #121
- renamed RouterRoute to Route by @stackoverfloweth in #122
- renamed route.name to route.key by @stackoverfloweth in #123
- moved withQuery out, using in resolve by @stackoverfloweth in #125
- Docs update by @stackoverfloweth in #124
- lint fix by @stackoverfloweth in #126
- RouterView as default route component by @stackoverfloweth in #127
- update RouteProps type to require parent or child by @stackoverfloweth in #129
- Remove compositions and update readonly route type by @pleek91 in #130
- using listener from history by @stackoverfloweth in #131
- Fixed bug with history start/stop listener by @stackoverfloweth in #132
- Hooks from clone by @stackoverfloweth in #133
- Remove children check in createRoutes by @pleek91 in #134
- setup default rejection component for custom rejections by @stackoverfloweth in #136
- Remove spyOn generics by @pleek91 in #137
- Writable route params by @pleek91 in #135
- updated createCurrentRoute to export both ResolvedRoute and RouterRoute by @stackoverfloweth in #139
- added function for createRouterRoute by @stackoverfloweth in #140
- added router.update method by @stackoverfloweth in #141
- fix type mismatch on router.update by @stackoverfloweth in #143
- added update method to route itself by @stackoverfloweth in #142
- Route matching updates by @stackoverfloweth in #145
- update docs for rejections by @stackoverfloweth in #147
- Remove router.update in favor of route.update by @pleek91 in #146
- Make individual params writable via
route.update
by @pleek91 in #148 - fixed a couple bugs with query regex by @stackoverfloweth in #149
- Remove "use" prefix from component hook utilities by @pleek91 in #151
- hooks documentation page written by @stackoverfloweth in #150
- transition docs added by @stackoverfloweth in #153
- Route meta documented by @stackoverfloweth in #152
- composables docs updated by @stackoverfloweth in #154
- decode url when grabbing param values by @stackoverfloweth in #155
- folder structure by @stackoverfloweth in #156
- add edit link to theme by @stackoverfloweth in #157
- fix children not having param context of parent by @stackoverfloweth in #159
- first pass at jsdoc strings targeting exports found through main.ts by @stackoverfloweth in #158
- add social links to docs by @stackoverfloweth in #161
- several fixes for query bugs, mostly pivoting from using regex to using URLSearchParams class by @stackoverfloweth in #160
- v0.0.3 by @stackoverfloweth in #162
- Stackblitz demo by @stackoverfloweth in #163
- Typedoc with jsdocs by @stackoverfloweth in #165
New Contributors
- @pleek91 made their first contribution in #1
- @dependabot made their first contribution in #19
Full Changelog: https://github.com/kitbagjs/router/commits/v0.1.0