@se-studio/hubspot 16.0.3 → 17.0.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 +18 -0
- package/README.md +1 -1
- package/docs/llms.md +1 -1
- package/package.json +5 -5
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,23 @@
|
|
|
1
1
|
# @se-studio/hubspot
|
|
2
2
|
|
|
3
|
+
## 17.0.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- 8e94be2: Support Next.js 16.3 while remaining compatible with Next.js 15.5 (peer `>=15.5.0 <17`). CMS webhooks call `revalidateTag(tag, { expire: 0 })` so published content is not served stale. Template apps use `proxy.ts` on Next 16. Not-found metadata uses `title.absolute` so layout `title.template` does not produce duplicated site names.
|
|
8
|
+
|
|
9
|
+
### Patch Changes
|
|
10
|
+
|
|
11
|
+
- Updated dependencies [8e94be2]
|
|
12
|
+
- @se-studio/core-ui@1.25.0
|
|
13
|
+
|
|
14
|
+
## 16.0.4
|
|
15
|
+
|
|
16
|
+
### Patch Changes
|
|
17
|
+
|
|
18
|
+
- Updated dependencies [f8a2ec2]
|
|
19
|
+
- @se-studio/core-ui@1.24.7
|
|
20
|
+
|
|
3
21
|
## 16.0.3
|
|
4
22
|
|
|
5
23
|
### Patch Changes
|
package/README.md
CHANGED
|
@@ -142,5 +142,5 @@ When a form changes in HubSpot, revalidate:
|
|
|
142
142
|
import { revalidateTag } from 'next/cache';
|
|
143
143
|
import { hubspotFormTag } from '@se-studio/hubspot/server';
|
|
144
144
|
|
|
145
|
-
revalidateTag(hubspotFormTag(formId));
|
|
145
|
+
revalidateTag(hubspotFormTag(formId), { expire: 0 });
|
|
146
146
|
```
|
package/docs/llms.md
CHANGED
|
@@ -32,7 +32,7 @@ useHubspotSubmit({ portalId, formDefinition, onSuccess, redirectUrlOverride })
|
|
|
32
32
|
<HubspotDynamicForm redirectUrlOverride={url} onSuccess={fn} ... />
|
|
33
33
|
```
|
|
34
34
|
|
|
35
|
-
After HubSpot form editor changes, revalidate: `revalidateTag(hubspotFormTag(formId))` (definitions cached ~1h).
|
|
35
|
+
After HubSpot form editor changes, revalidate: `revalidateTag(hubspotFormTag(formId), { expire: 0 })` (definitions cached ~1h). Do not use `'max'` — that is stale-while-revalidate.
|
|
36
36
|
|
|
37
37
|
## Analytics
|
|
38
38
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@se-studio/hubspot",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "17.0.0",
|
|
4
4
|
"description": "HubSpot tracking and API-driven form rendering for Next.js marketing sites",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -40,11 +40,11 @@
|
|
|
40
40
|
"react"
|
|
41
41
|
],
|
|
42
42
|
"peerDependencies": {
|
|
43
|
-
"next": ">=15.5.0 <
|
|
43
|
+
"next": ">=15.5.0 <17",
|
|
44
44
|
"react": "^19.0.0",
|
|
45
45
|
"react-dom": "^19.0.0",
|
|
46
46
|
"@se-studio/core-data-types": "1.12.0",
|
|
47
|
-
"@se-studio/core-ui": "1.
|
|
47
|
+
"@se-studio/core-ui": "1.25.0"
|
|
48
48
|
},
|
|
49
49
|
"dependencies": {
|
|
50
50
|
"@hubspot/api-client": "^14.0.1",
|
|
@@ -57,13 +57,13 @@
|
|
|
57
57
|
"@types/react": "^19.2.17",
|
|
58
58
|
"@types/react-dom": "^19.2.3",
|
|
59
59
|
"jsdom": "^29.1.1",
|
|
60
|
-
"next": "^
|
|
60
|
+
"next": "^16.3.1",
|
|
61
61
|
"react": "^19.2.8",
|
|
62
62
|
"react-dom": "^19.2.8",
|
|
63
63
|
"typescript": "^6.0.3",
|
|
64
64
|
"vitest": "^4.1.10",
|
|
65
65
|
"@se-studio/core-data-types": "1.12.0",
|
|
66
|
-
"@se-studio/core-ui": "1.
|
|
66
|
+
"@se-studio/core-ui": "1.25.0"
|
|
67
67
|
},
|
|
68
68
|
"scripts": {
|
|
69
69
|
"build": "tsc --project tsconfig.build.json",
|