Closed renovate[bot] closed 3 months ago
[!IMPORTANT]
Review skipped
Bot user detected.
To trigger a single review, invoke the
@coderabbitai review
command.You can disable this status message by setting the
reviews.review_status
tofalse
in the CodeRabbit configuration file.
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media?
This PR contains the following updates:
0.8.8
->0.9.1
Release Notes
posva/unplugin-vue-router (unplugin-vue-router)
### [`v0.9.1`](https://togithub.com/posva/unplugin-vue-router/blob/HEAD/CHANGELOG.md#091-2024-06-07) [Compare Source](https://togithub.com/posva/unplugin-vue-router/compare/v0.9.0...v0.9.1) ##### Bug Fixes - **vite:** use server.ws ([10b3842](https://togithub.com/posva/unplugin-vue-router/commit/10b3842adc57e049d54058c1bb6aeee8f72b3248)), closes [#414](https://togithub.com/posva/unplugin-vue-router/issues/414) ### [`v0.9.0`](https://togithub.com/posva/unplugin-vue-router/blob/HEAD/CHANGELOG.md#090-2024-05-28) [Compare Source](https://togithub.com/posva/unplugin-vue-router/compare/v0.8.8...v0.9.0) ##### Bug Fixes - move extension handling outside of tree ([85d8472](https://togithub.com/posva/unplugin-vue-router/commit/85d8472a94fa8239d436e6a6fda0789363d085c3)), closes [#400](https://togithub.com/posva/unplugin-vue-router/issues/400) - remove wrong error log during HMR ([c511082](https://togithub.com/posva/unplugin-vue-router/commit/c51108294dd258e19266eba64eb11d7d5aec107a)) - require explicit `routes` import to avoid cyclic imports ([63788f6](https://togithub.com/posva/unplugin-vue-router/commit/63788f67072cc8557df2f87f258c4d6c91f20895)), closes [#132](https://togithub.com/posva/unplugin-vue-router/issues/132) ##### Code Refactoring - **pkg:** migrate package to type=module ([f1e4ca5](https://togithub.com/posva/unplugin-vue-router/commit/f1e4ca54695e89a8afb006ad448fbe537210cbc9)) ##### BREAKING CHANGES - `createRouter()` now requires the explicit `router` property to be set and imported: ```diff import { createRouter, createWebHistory } from 'vue-router/auto' +import { routes } from 'vue-router/auto-routes' createRouter({ history: createWebHistory(), + routes }) ``` This also means that runtime `extendRoutes()` option is not needed. It has been deprecated and will be removed in the next major release. - `Tree` and `PrefixTree` insert method expects a path without the file extension. They also expect the fullpath of the file as a second argument (it used to be optional). This aligns better with their responsibility as they shouldn't be trimming the extension like they used to. ```ts // replace tree.insert('file.vue') // with tree.insert('file', resolve('file.vue')) ``` This shouldn't affect most users as the Tree implementation is used internally to represent the folder structure. - **pkg:** The package is now of `"type": "module"`. It shouldn't break anything for users but this is just in case, we all know how fragile this js ecosystem is sometimes... #### [0.8.8](https://togithub.com/posva/unplugin-vue-router/compare/v0.8.7...v0.8.8) (2024-05-22) ##### Bug Fixes - watch all extensions not just root ([74ac22b](https://togithub.com/posva/unplugin-vue-router/commit/74ac22b01336a6e0a99769c6e645a5bfe29233bb)) #### [0.8.7](https://togithub.com/posva/unplugin-vue-router/compare/v0.8.6...v0.8.7) (2024-05-20) ##### Bug Fixes - apply definePage in named pages ([bd7d5b1](https://togithub.com/posva/unplugin-vue-router/commit/bd7d5b1170795d9991eb459c75921a31155aed18)), closes [#383](https://togithub.com/posva/unplugin-vue-router/issues/383) - correctly trim extensions from routesFolder ([b8a9473](https://togithub.com/posva/unplugin-vue-router/commit/b8a9473f7a43a72d4daea16cec21662582ee70a2)), closes [#274](https://togithub.com/posva/unplugin-vue-router/issues/274) ##### Features - add an option to disable file watching ([#387](https://togithub.com/posva/unplugin-vue-router/issues/387)) ([13f93fc](https://togithub.com/posva/unplugin-vue-router/commit/13f93fc2babaa80c74112812856b74b993903068)) - add component alias to EditableTreeNode ([fc8ae27](https://togithub.com/posva/unplugin-vue-router/commit/fc8ae276fa8674fb275a204060e9df80b8fcaad4)) #### [0.8.6](https://togithub.com/posva/unplugin-vue-router/compare/v0.8.5...v0.8.6) (2024-04-12) ##### Bug Fixes - **data-loaders:** tracked properties with an object in key ([58aa516](https://togithub.com/posva/unplugin-vue-router/commit/58aa516deebcd5db4c8b4593d9acb449839e2988)) #### [0.8.5](https://togithub.com/posva/unplugin-vue-router/compare/v0.8.4...v0.8.5) (2024-03-14) ##### Bug Fixes - avoid invalid modules with definePage query ([25bbec3](https://togithub.com/posva/unplugin-vue-router/commit/25bbec33cc963dab2a596a4626e9077762e000db)), closes [#338](https://togithub.com/posva/unplugin-vue-router/issues/338) #### [0.8.4](https://togithub.com/posva/unplugin-vue-router/compare/v0.8.3...v0.8.4) (2024-02-24) This patch contains the necessary fixes to allow importing the data loaders. However, they cannot be imported from `vue-router/auto` nor from `unplugin-vue-router/runtime`. Instead, they should be imported from `unplugin-vue-router/data-loaders/...`. This is needed as some of the loaders depends on extra packages that not all users have installed. At the moment, there are two data loaders - `unplugin-vue-router/data-loaders/basic`: https://uvr.esm.is/rfcs/data-loaders/basic.html - `unplugin-vue-router/data-loaders/pinia-colada`: https://uvr.esm.is/rfcs/data-loaders/colada.html ##### Bug Fixes - allow untyped router with data loaders ([51f7d55](https://togithub.com/posva/unplugin-vue-router/commit/51f7d557d402ba90037ea454c7c350d2e1cbdbcc)) - **build:** externalize libs ([e55d735](https://togithub.com/posva/unplugin-vue-router/commit/e55d7357f25bf57ea944b71310381b40bea75c04)) - remove the need to install [@pinia/colada](https://togithub.com/pinia/colada) ([8d45669](https://togithub.com/posva/unplugin-vue-router/commit/8d45669c9119fc8a968493a0b26294f662df4ca7)) - **types:** externalize uvr/types ([ee9a2a3](https://togithub.com/posva/unplugin-vue-router/commit/ee9a2a35c6ea62fae950c6abb3bd3cd85b28edc5)), closes [#322](https://togithub.com/posva/unplugin-vue-router/issues/322) #### [0.8.3](https://togithub.com/posva/unplugin-vue-router/compare/v0.8.2...v0.8.3) (2024-02-22) ##### Bug Fixes - **dts:** fix default value for routesFolder ([1ed1eda](https://togithub.com/posva/unplugin-vue-router/commit/1ed1eda179138f4c3d8265349b826795e47d8499)), closes [#320](https://togithub.com/posva/unplugin-vue-router/issues/320) #### [0.8.2](https://togithub.com/posva/unplugin-vue-router/compare/v0.8.1...v0.8.2) (2024-02-22) ##### Bug Fixes - **data-loaders:** fix types references ([6558fa8](https://togithub.com/posva/unplugin-vue-router/commit/6558fa892d28ceab812fe42339ccc5e0e4ab067d)) - **types:** typed router ([8ff1984](https://togithub.com/posva/unplugin-vue-router/commit/8ff19848840c419dd1c8861d3935d542f4bd289e)) #### [0.8.1](https://togithub.com/posva/unplugin-vue-router/compare/v0.8.0...v0.8.1) (2024-02-22) ##### Bug Fixes - upgrade peer dep on vue-router to 4.3.0 ([746ad8f](https://togithub.com/posva/unplugin-vue-router/commit/746ad8fa9055853594dad09524657416402ef383))Configuration
📅 Schedule: Branch creation - "every weekend" (UTC), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by Mend Renovate. View repository job log here.