@klnap/payload-redirect 0.4.3 → 0.4.5
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 +12 -0
- package/README.md +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,17 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 0.4.5
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- 07cd76b: Test infrastructure only: the integration pool teardown waits for pg-pool to close each client socket before the test database is dropped. No runtime change.
|
|
8
|
+
|
|
9
|
+
## 0.4.4
|
|
10
|
+
|
|
11
|
+
### Patch Changes
|
|
12
|
+
|
|
13
|
+
- 2c92fa0: Document that the README Next.js proxy example is verified against PostgreSQL by the integration suite. No runtime change.
|
|
14
|
+
|
|
3
15
|
## 0.4.3
|
|
4
16
|
|
|
5
17
|
### Patch Changes
|
package/README.md
CHANGED
|
@@ -261,7 +261,7 @@ The plugin stores these rules only. It does not collect attribution data or conn
|
|
|
261
261
|
|
|
262
262
|
## Application integration
|
|
263
263
|
|
|
264
|
-
The plugin stores rules and never sends a response. The example below is
|
|
264
|
+
The plugin stores rules and never sends a response. The example below is verified by `tests/integration/nextjs-proxy-example.test.ts`: the test runs this proxy function against a PostgreSQL fixture with real Next.js request and response objects. It does not start a Next.js server or check your `matcher`. How your application serves redirects is up to you. Your application looks each request up and redirects. The example below is for Next.js 16 (`src/proxy.ts`); the same logic works in any framework that can call the Payload Local API.
|
|
265
265
|
|
|
266
266
|
```ts
|
|
267
267
|
// src/proxy.ts
|