proje-react-panel 1.11.0-beta.0 → 1.11.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -2,6 +2,28 @@
2
2
 
3
3
  This file starts at 1.11.0; earlier releases are only in the git history.
4
4
 
5
+ ## 1.11.0
6
+
7
+ ### Fixed
8
+
9
+ - **`@LinkCell({ path: '/users/:id' })` now fills its path parameters from the row.** The path was
10
+ handed to `<Link to>` verbatim, so every open/edit cell rendered the literal `/users/:id` and
11
+ 404'd on click — a link that looks right until it is used. Every `:param` in `path` is now
12
+ replaced with the row's value of that name. A parameter the row has no value for is left in
13
+ place rather than dropped, so a missing field stays visible instead of quietly producing
14
+ `/users/undefined`. Consumers carrying a local patch for this can remove it.
15
+
16
+ ### Added
17
+
18
+ - `src/__tests__/components/list/LinkCell.test.tsx` pins the substitution: one parameter, several
19
+ parameters, an unmatched parameter, and a path with none.
20
+
21
+ ### Changed
22
+
23
+ - **The `react-router` peer range is now `^7.3.0`** instead of the exact `7.3.0` pin. Any 7.x from
24
+ 7.3.0 up satisfies it, so a consumer upgrading the router for its own reasons (e.g. a security
25
+ advisory) no longer gets a permanent peer warning.
26
+
5
27
  ## 1.11.0-beta.0
6
28
 
7
29
  ### Changed — please read before upgrading
@@ -0,0 +1 @@
1
+ import 'reflect-metadata';