Skip to content

Commit f9f743d

Browse files
chore: Update version for release (pre) (#21)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> Co-authored-by: Matt Brophy <matt@brophy.org>
1 parent 97d1ffe commit f9f743d

File tree

4 files changed

+19
-3
lines changed

4 files changed

+19
-3
lines changed

.changeset/pre.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,5 +5,7 @@
55
"@remix-run/v1-meta": "0.1.1",
66
"@remix-run/v1-route-convention": "0.1.1"
77
},
8-
"changesets": []
8+
"changesets": [
9+
"sibling-pathless-routes"
10+
]
911
}

.changeset/sibling-pathless-routes.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,8 @@
22
"@remix-run/v1-route-convention": patch
33
---
44

5-
Allow sibling pathless layout routes (from https://github.com/remix-run/remix/pull/4421)
5+
- Fix route ranking bug with pathless layout route next to a sibling index route
6+
7+
- Under the hood this is done by removing the trailing slash from all generated `path` values since the number of slash-delimited segments counts towards route ranking so the trailing slash incorrectly increases the score for routes
8+
9+
- Support sibling pathless layout routes by removing pathless layout routes from the unique route path checks in conventional route generation since they inherently trigger duplicate paths

packages/v1-route-convention/CHANGELOG.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,15 @@
11
# `@remix-run/v1-route-convention`
22

3+
## 0.1.2-pre.0
4+
5+
### Patch Changes
6+
7+
- Fix route ranking bug with pathless layout route next to a sibling index route ([#20](https://github.com/remix-run/v1-compat-utils/pull/20))
8+
9+
- Under the hood this is done by removing the trailing slash from all generated `path` values since the number of slash-delimited segments counts towards route ranking so the trailing slash incorrectly increases the score for routes
10+
11+
- Support sibling pathless layout routes by removing pathless layout routes from the unique route path checks in conventional route generation since they inherently trigger duplicate paths ([#20](https://github.com/remix-run/v1-compat-utils/pull/20))
12+
313
## 0.1.1
414

515
### Patch Changes

packages/v1-route-convention/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@remix-run/v1-route-convention",
3-
"version": "0.1.1",
3+
"version": "0.1.2-pre.0",
44
"homepage": "https://remix.run",
55
"bugs": {
66
"url": "https://github.com/remix-run/v1-compat-utils/issues"

0 commit comments

Comments
 (0)