@valbuild/next 0.145.1 → 0.146.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 +22 -0
- package/dist/valbuild-next.cjs.dev.js +1 -1
- package/dist/valbuild-next.cjs.prod.js +1 -1
- package/dist/valbuild-next.esm.js +1 -1
- package/dist/{version-b549b0d9.cjs.prod.js → version-80dd7c10.cjs.dev.js} +1 -1
- package/dist/{version-101c11a5.esm.js → version-eb7cf4ba.esm.js} +1 -1
- package/dist/{version-d124a709.cjs.dev.js → version-fc649cc5.cjs.prod.js} +1 -1
- package/package.json +7 -7
- package/rsc/dist/valbuild-next-rsc.cjs.dev.js +3 -27
- package/rsc/dist/valbuild-next-rsc.cjs.prod.js +3 -27
- package/rsc/dist/valbuild-next-rsc.esm.js +3 -27
- package/server/dist/valbuild-next-server.cjs.dev.js +1 -1
- package/server/dist/valbuild-next-server.cjs.prod.js +1 -1
- package/server/dist/valbuild-next-server.esm.js +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,27 @@
|
|
|
1
1
|
# @valbuild/next
|
|
2
2
|
|
|
3
|
+
## 0.146.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- [#864](https://github.com/valbuild/val/pull/864) [`f0c7d27`](https://github.com/valbuild/val/commit/f0c7d27846c21f81ff6ce79c579185150bc0d063) Thanks [@freekh](https://github.com/freekh)! - Patch groups are removed. **Publish** now publishes every pending change, and
|
|
8
|
+
the Review list shows everyone's pending changes in one list. To keep changes
|
|
9
|
+
out of a publish, move them to a proposal.
|
|
10
|
+
|
|
11
|
+
Draft reads no longer send `own_patch_groups_only`, `patch_id` or
|
|
12
|
+
`include_patch_groups`, and the server no longer has the patch-group routes or
|
|
13
|
+
fields. A content host that still sends them is fine: they are ignored.
|
|
14
|
+
|
|
15
|
+
### Patch Changes
|
|
16
|
+
|
|
17
|
+
- Updated dependencies [[`89b0fa8`](https://github.com/valbuild/val/commit/89b0fa82a3ae0d8ccd5d0282c1034f1f40cc4e26), [`f0c7d27`](https://github.com/valbuild/val/commit/f0c7d27846c21f81ff6ce79c579185150bc0d063)]:
|
|
18
|
+
- @valbuild/ui@0.146.0
|
|
19
|
+
- @valbuild/server@0.146.0
|
|
20
|
+
- @valbuild/shared@0.146.0
|
|
21
|
+
- @valbuild/react@0.146.0
|
|
22
|
+
- @valbuild/language-server@0.146.0
|
|
23
|
+
- @valbuild/mcp@0.146.0
|
|
24
|
+
|
|
3
25
|
## 0.145.1
|
|
4
26
|
|
|
5
27
|
### Patch Changes
|
|
@@ -14,7 +14,7 @@ var jsxRuntime = require('react/jsx-runtime');
|
|
|
14
14
|
var ValVideo = require('./ValVideo-b8130c1b.cjs.dev.js');
|
|
15
15
|
var ValApp = require('./ValApp-294e5b53.cjs.dev.js');
|
|
16
16
|
var ValModulesClient = require('./ValModulesClient-4ecabf99.cjs.dev.js');
|
|
17
|
-
var version = require('./version-
|
|
17
|
+
var version = require('./version-80dd7c10.cjs.dev.js');
|
|
18
18
|
var createForOfIteratorHelper = require('./createForOfIteratorHelper-0445603c.cjs.dev.js');
|
|
19
19
|
require('./defineProperty-f90345d7.cjs.dev.js');
|
|
20
20
|
require('./unsupportedIterableToArray-c8ab77c9.cjs.dev.js');
|
|
@@ -14,7 +14,7 @@ var jsxRuntime = require('react/jsx-runtime');
|
|
|
14
14
|
var ValVideo = require('./ValVideo-94e5aa28.cjs.prod.js');
|
|
15
15
|
var ValApp = require('./ValApp-ab8a96fd.cjs.prod.js');
|
|
16
16
|
var ValModulesClient = require('./ValModulesClient-10c0721c.cjs.prod.js');
|
|
17
|
-
var version = require('./version-
|
|
17
|
+
var version = require('./version-fc649cc5.cjs.prod.js');
|
|
18
18
|
var createForOfIteratorHelper = require('./createForOfIteratorHelper-d4afcad8.cjs.prod.js');
|
|
19
19
|
require('./defineProperty-8951f469.cjs.prod.js');
|
|
20
20
|
require('./unsupportedIterableToArray-0d2087a2.cjs.prod.js');
|
|
@@ -13,7 +13,7 @@ import { jsx } from 'react/jsx-runtime';
|
|
|
13
13
|
export { ValVideo } from './ValVideo-19f2ab05.esm.js';
|
|
14
14
|
export { ValApp } from './ValApp-3a70afe1.esm.js';
|
|
15
15
|
export { ValModulesClient, useRegisterValModules } from './ValModulesClient-0dd601a1.esm.js';
|
|
16
|
-
import { V as VERSION } from './version-
|
|
16
|
+
import { V as VERSION } from './version-eb7cf4ba.esm.js';
|
|
17
17
|
import { _ as _createForOfIteratorHelper } from './createForOfIteratorHelper-5758a730.esm.js';
|
|
18
18
|
import './defineProperty-cca5affa.esm.js';
|
|
19
19
|
import './unsupportedIterableToArray-5baabfdc.esm.js';
|
package/package.json
CHANGED
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
"next",
|
|
13
13
|
"react"
|
|
14
14
|
],
|
|
15
|
-
"version": "0.
|
|
15
|
+
"version": "0.146.0",
|
|
16
16
|
"main": "dist/valbuild-next.cjs.js",
|
|
17
17
|
"module": "dist/valbuild-next.esm.js",
|
|
18
18
|
"exports": {
|
|
@@ -47,13 +47,13 @@
|
|
|
47
47
|
"dependencies": {
|
|
48
48
|
"client-only": "^0.0.1",
|
|
49
49
|
"server-only": "^0.0.1",
|
|
50
|
+
"@valbuild/language-server": "0.146.0",
|
|
50
51
|
"@valbuild/core": "0.145.0",
|
|
51
|
-
"@valbuild/
|
|
52
|
-
"@valbuild/
|
|
53
|
-
"@valbuild/
|
|
54
|
-
"@valbuild/
|
|
55
|
-
"@valbuild/
|
|
56
|
-
"@valbuild/ui": "0.145.1"
|
|
52
|
+
"@valbuild/mcp": "0.146.0",
|
|
53
|
+
"@valbuild/shared": "0.146.0",
|
|
54
|
+
"@valbuild/ui": "0.146.0",
|
|
55
|
+
"@valbuild/server": "0.146.0",
|
|
56
|
+
"@valbuild/react": "0.146.0"
|
|
57
57
|
},
|
|
58
58
|
"devDependencies": {
|
|
59
59
|
"@testing-library/react": "^16.3.3",
|
|
@@ -12,7 +12,7 @@ var core = require('@valbuild/core');
|
|
|
12
12
|
var React = require('react');
|
|
13
13
|
var internal = require('@valbuild/shared/internal');
|
|
14
14
|
var server = require('@valbuild/server');
|
|
15
|
-
var version = require('../../dist/version-
|
|
15
|
+
var version = require('../../dist/version-80dd7c10.cjs.dev.js');
|
|
16
16
|
require('../../dist/createForOfIteratorHelper-0445603c.cjs.dev.js');
|
|
17
17
|
require('../../dist/unsupportedIterableToArray-c8ab77c9.cjs.dev.js');
|
|
18
18
|
require('../../dist/slicedToArray-44036a76.cjs.dev.js');
|
|
@@ -116,22 +116,7 @@ function _loadDraftSources() {
|
|
|
116
116
|
validate_binary_files: false,
|
|
117
117
|
exclude_patches: false,
|
|
118
118
|
// RSC pre-render uses the legacy "server applies patches" path.
|
|
119
|
-
apply_patches: undefined
|
|
120
|
-
/*
|
|
121
|
-
* The caller's own staged work, and nobody else's.
|
|
122
|
-
*
|
|
123
|
-
* A draft render cannot name its group ids — it has no client
|
|
124
|
-
* state — so it asks for "mine" and the server resolves them from
|
|
125
|
-
* the session. Without this a preview shows base + every pending
|
|
126
|
-
* patch on the branch, so one person's half-finished edit appears
|
|
127
|
-
* in another person's draft.
|
|
128
|
-
*
|
|
129
|
-
* `patch_id` stays `undefined`: naming an explicit list is for a
|
|
130
|
-
* caller that already knows what it wants, and it would override
|
|
131
|
-
* the resolution rather than intersect with it.
|
|
132
|
-
*/
|
|
133
|
-
patch_id: undefined,
|
|
134
|
-
own_patch_groups_only: true
|
|
119
|
+
apply_patches: undefined
|
|
135
120
|
},
|
|
136
121
|
cookies: defineProperty._defineProperty({}, internal.VAL_SESSION_COOKIE, sessionCookie)
|
|
137
122
|
});
|
|
@@ -671,16 +656,7 @@ function _loadDraftJsonEntry() {
|
|
|
671
656
|
// single-entry shape
|
|
672
657
|
offset: undefined,
|
|
673
658
|
limit: undefined,
|
|
674
|
-
apply_patches: true
|
|
675
|
-
/*
|
|
676
|
-
* Scoped the same way the module content beside it is.
|
|
677
|
-
*
|
|
678
|
-
* A draft page renders both, and this call was unscoped — so one page
|
|
679
|
-
* showed base + the caller's group for its modules and base + EVERY
|
|
680
|
-
* pending patch on the branch for any `jsonValues` entry, including other
|
|
681
|
-
* authors' half-finished edits. See the same flag on `/sources/~` above.
|
|
682
|
-
*/
|
|
683
|
-
own_patch_groups_only: true
|
|
659
|
+
apply_patches: true
|
|
684
660
|
},
|
|
685
661
|
cookies: defineProperty._defineProperty({}, internal.VAL_SESSION_COOKIE, (_cookies3 = cookies) === null || _cookies3 === void 0 || (_cookies3 = _cookies3.get(internal.VAL_SESSION_COOKIE)) === null || _cookies3 === void 0 ? void 0 : _cookies3.value)
|
|
686
662
|
});
|
|
@@ -12,7 +12,7 @@ var core = require('@valbuild/core');
|
|
|
12
12
|
var React = require('react');
|
|
13
13
|
var internal = require('@valbuild/shared/internal');
|
|
14
14
|
var server = require('@valbuild/server');
|
|
15
|
-
var version = require('../../dist/version-
|
|
15
|
+
var version = require('../../dist/version-fc649cc5.cjs.prod.js');
|
|
16
16
|
require('../../dist/createForOfIteratorHelper-d4afcad8.cjs.prod.js');
|
|
17
17
|
require('../../dist/unsupportedIterableToArray-0d2087a2.cjs.prod.js');
|
|
18
18
|
require('../../dist/slicedToArray-ce613de6.cjs.prod.js');
|
|
@@ -116,22 +116,7 @@ function _loadDraftSources() {
|
|
|
116
116
|
validate_binary_files: false,
|
|
117
117
|
exclude_patches: false,
|
|
118
118
|
// RSC pre-render uses the legacy "server applies patches" path.
|
|
119
|
-
apply_patches: undefined
|
|
120
|
-
/*
|
|
121
|
-
* The caller's own staged work, and nobody else's.
|
|
122
|
-
*
|
|
123
|
-
* A draft render cannot name its group ids — it has no client
|
|
124
|
-
* state — so it asks for "mine" and the server resolves them from
|
|
125
|
-
* the session. Without this a preview shows base + every pending
|
|
126
|
-
* patch on the branch, so one person's half-finished edit appears
|
|
127
|
-
* in another person's draft.
|
|
128
|
-
*
|
|
129
|
-
* `patch_id` stays `undefined`: naming an explicit list is for a
|
|
130
|
-
* caller that already knows what it wants, and it would override
|
|
131
|
-
* the resolution rather than intersect with it.
|
|
132
|
-
*/
|
|
133
|
-
patch_id: undefined,
|
|
134
|
-
own_patch_groups_only: true
|
|
119
|
+
apply_patches: undefined
|
|
135
120
|
},
|
|
136
121
|
cookies: defineProperty._defineProperty({}, internal.VAL_SESSION_COOKIE, sessionCookie)
|
|
137
122
|
});
|
|
@@ -671,16 +656,7 @@ function _loadDraftJsonEntry() {
|
|
|
671
656
|
// single-entry shape
|
|
672
657
|
offset: undefined,
|
|
673
658
|
limit: undefined,
|
|
674
|
-
apply_patches: true
|
|
675
|
-
/*
|
|
676
|
-
* Scoped the same way the module content beside it is.
|
|
677
|
-
*
|
|
678
|
-
* A draft page renders both, and this call was unscoped — so one page
|
|
679
|
-
* showed base + the caller's group for its modules and base + EVERY
|
|
680
|
-
* pending patch on the branch for any `jsonValues` entry, including other
|
|
681
|
-
* authors' half-finished edits. See the same flag on `/sources/~` above.
|
|
682
|
-
*/
|
|
683
|
-
own_patch_groups_only: true
|
|
659
|
+
apply_patches: true
|
|
684
660
|
},
|
|
685
661
|
cookies: defineProperty._defineProperty({}, internal.VAL_SESSION_COOKIE, (_cookies3 = cookies) === null || _cookies3 === void 0 || (_cookies3 = _cookies3.get(internal.VAL_SESSION_COOKIE)) === null || _cookies3 === void 0 ? void 0 : _cookies3.value)
|
|
686
662
|
});
|
|
@@ -8,7 +8,7 @@ import { Internal } from '@valbuild/core';
|
|
|
8
8
|
import { cache } from 'react';
|
|
9
9
|
import { VAL_SESSION_COOKIE, memoizePerRequest } from '@valbuild/shared/internal';
|
|
10
10
|
import { createValServer } from '@valbuild/server';
|
|
11
|
-
import { V as VERSION } from '../../dist/version-
|
|
11
|
+
import { V as VERSION } from '../../dist/version-eb7cf4ba.esm.js';
|
|
12
12
|
import '../../dist/createForOfIteratorHelper-5758a730.esm.js';
|
|
13
13
|
import '../../dist/unsupportedIterableToArray-5baabfdc.esm.js';
|
|
14
14
|
import '../../dist/slicedToArray-aa291011.esm.js';
|
|
@@ -112,22 +112,7 @@ function _loadDraftSources() {
|
|
|
112
112
|
validate_binary_files: false,
|
|
113
113
|
exclude_patches: false,
|
|
114
114
|
// RSC pre-render uses the legacy "server applies patches" path.
|
|
115
|
-
apply_patches: undefined
|
|
116
|
-
/*
|
|
117
|
-
* The caller's own staged work, and nobody else's.
|
|
118
|
-
*
|
|
119
|
-
* A draft render cannot name its group ids — it has no client
|
|
120
|
-
* state — so it asks for "mine" and the server resolves them from
|
|
121
|
-
* the session. Without this a preview shows base + every pending
|
|
122
|
-
* patch on the branch, so one person's half-finished edit appears
|
|
123
|
-
* in another person's draft.
|
|
124
|
-
*
|
|
125
|
-
* `patch_id` stays `undefined`: naming an explicit list is for a
|
|
126
|
-
* caller that already knows what it wants, and it would override
|
|
127
|
-
* the resolution rather than intersect with it.
|
|
128
|
-
*/
|
|
129
|
-
patch_id: undefined,
|
|
130
|
-
own_patch_groups_only: true
|
|
115
|
+
apply_patches: undefined
|
|
131
116
|
},
|
|
132
117
|
cookies: _defineProperty({}, VAL_SESSION_COOKIE, sessionCookie)
|
|
133
118
|
});
|
|
@@ -667,16 +652,7 @@ function _loadDraftJsonEntry() {
|
|
|
667
652
|
// single-entry shape
|
|
668
653
|
offset: undefined,
|
|
669
654
|
limit: undefined,
|
|
670
|
-
apply_patches: true
|
|
671
|
-
/*
|
|
672
|
-
* Scoped the same way the module content beside it is.
|
|
673
|
-
*
|
|
674
|
-
* A draft page renders both, and this call was unscoped — so one page
|
|
675
|
-
* showed base + the caller's group for its modules and base + EVERY
|
|
676
|
-
* pending patch on the branch for any `jsonValues` entry, including other
|
|
677
|
-
* authors' half-finished edits. See the same flag on `/sources/~` above.
|
|
678
|
-
*/
|
|
679
|
-
own_patch_groups_only: true
|
|
655
|
+
apply_patches: true
|
|
680
656
|
},
|
|
681
657
|
cookies: _defineProperty({}, VAL_SESSION_COOKIE, (_cookies3 = cookies) === null || _cookies3 === void 0 || (_cookies3 = _cookies3.get(VAL_SESSION_COOKIE)) === null || _cookies3 === void 0 ? void 0 : _cookies3.value)
|
|
682
658
|
});
|
|
@@ -9,7 +9,7 @@ var objectSpread2 = require('../../dist/objectSpread2-58024783.cjs.dev.js');
|
|
|
9
9
|
var core = require('@valbuild/core');
|
|
10
10
|
var server = require('@valbuild/server');
|
|
11
11
|
var server$1 = require('next/server');
|
|
12
|
-
var version = require('../../dist/version-
|
|
12
|
+
var version = require('../../dist/version-80dd7c10.cjs.dev.js');
|
|
13
13
|
var mcp = require('@valbuild/mcp');
|
|
14
14
|
require('../../dist/unsupportedIterableToArray-c8ab77c9.cjs.dev.js');
|
|
15
15
|
require('../../dist/defineProperty-f90345d7.cjs.dev.js');
|
|
@@ -9,7 +9,7 @@ var objectSpread2 = require('../../dist/objectSpread2-13f847a9.cjs.prod.js');
|
|
|
9
9
|
var core = require('@valbuild/core');
|
|
10
10
|
var server = require('@valbuild/server');
|
|
11
11
|
var server$1 = require('next/server');
|
|
12
|
-
var version = require('../../dist/version-
|
|
12
|
+
var version = require('../../dist/version-fc649cc5.cjs.prod.js');
|
|
13
13
|
var mcp = require('@valbuild/mcp');
|
|
14
14
|
require('../../dist/unsupportedIterableToArray-0d2087a2.cjs.prod.js');
|
|
15
15
|
require('../../dist/defineProperty-8951f469.cjs.prod.js');
|
|
@@ -6,7 +6,7 @@ import { Internal } from '@valbuild/core';
|
|
|
6
6
|
import { createValApiRouter, createValServer } from '@valbuild/server';
|
|
7
7
|
export { createPrettierFormatter } from '@valbuild/server';
|
|
8
8
|
import { NextResponse } from 'next/server';
|
|
9
|
-
import { V as VERSION } from '../../dist/version-
|
|
9
|
+
import { V as VERSION } from '../../dist/version-eb7cf4ba.esm.js';
|
|
10
10
|
import { initValMcp as initValMcp$1 } from '@valbuild/mcp';
|
|
11
11
|
import '../../dist/unsupportedIterableToArray-5baabfdc.esm.js';
|
|
12
12
|
import '../../dist/defineProperty-cca5affa.esm.js';
|