@atlaskit/editor-plugin-show-diff 10.4.9 → 10.5.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.
Files changed (2) hide show
  1. package/CHANGELOG.md +55 -0
  2. package/package.json +5 -5
package/CHANGELOG.md CHANGED
@@ -1,5 +1,60 @@
1
1
  # @atlaskit/editor-plugin-show-diff
2
2
 
3
+ ## 10.5.0
4
+
5
+ ### Minor Changes
6
+
7
+ - [`2cfc0f295c39a`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/2cfc0f295c39a) -
8
+ [ux] FG cleanup - Removes `confluence_frontend_content_wrapper` from platform (treated as
9
+ permanently launched / implicitly true).
10
+
11
+ ## Breaking change
12
+
13
+ The `confluence_frontend_content_wrapper` gate previously guarded a scroll-gutter tweak in
14
+ `basePluginOptions` that only read the `base` builder's `__livePage` field. With the gate
15
+ launched, that field is no longer read, so the now-dead `base` option was removed rather than left
16
+ as vestigial API.
17
+
18
+ For `@atlaskit/editor-presets` (published):
19
+ - The `base` option was removed from the public preset plugin options type
20
+ (`AllPublicPluginOptions.base` is now `never`).
21
+ - `basePluginOptions()` no longer takes an argument (was `basePluginOptions({ options })`).
22
+
23
+ This is a **type-level** breaking change only. At runtime it is a no-op: the `base` option (and
24
+ the `__livePage` value passed through it) was already unused once the gate was on, so removing it
25
+ does not change editor behaviour. It is scored `major` for `@atlaskit/editor-presets` because that
26
+ package is published and the type contract change will break the builds of external TypeScript
27
+ consumers that still pass `base`. `@atlassian/confluence-presets` is `private` (not published) and
28
+ receives the same code change, so it is scored `minor`.
29
+
30
+ ## Migration
31
+
32
+ Stop passing the `base` option to the preset, and call `basePluginOptions()` with no arguments:
33
+
34
+ ```diff
35
+ fullPagePreset({
36
+ intl,
37
+ pluginOptions: {
38
+ - base: { __livePage },
39
+ // ...other plugin options unchanged
40
+ },
41
+ });
42
+ ```
43
+
44
+ ```diff
45
+ - basePluginOptions({ options: { __livePage } });
46
+ + basePluginOptions();
47
+ ```
48
+
49
+ Note: `__livePage` itself is not removed — it remains a valid, live field on the other plugin
50
+ option builders (e.g. `selection`, `selectionMarker`, `collabEdit`, `card`). Only the unused
51
+ `base.__livePage` passthrough is gone. All in-repo consumers have been migrated as part of this
52
+ PR.
53
+
54
+ ### Patch Changes
55
+
56
+ - Updated dependencies
57
+
3
58
  ## 10.4.9
4
59
 
5
60
  ### Patch Changes
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/editor-plugin-show-diff",
3
- "version": "10.4.9",
3
+ "version": "10.5.0",
4
4
  "description": "ShowDiff plugin for @atlaskit/editor-core",
5
5
  "author": "Atlassian Pty Ltd",
6
6
  "license": "Apache-2.0",
@@ -27,8 +27,8 @@
27
27
  "@atlaskit/editor-plugin-user-intent": "^10.0.0",
28
28
  "@atlaskit/editor-prosemirror": "^8.0.0",
29
29
  "@atlaskit/editor-tables": "^3.0.0",
30
- "@atlaskit/platform-feature-flags": "^2.0.0",
31
- "@atlaskit/tmp-editor-statsig": "^130.0.0",
30
+ "@atlaskit/platform-feature-flags": "^2.1.0",
31
+ "@atlaskit/tmp-editor-statsig": "^130.2.0",
32
32
  "@atlaskit/tokens": "^16.1.0",
33
33
  "@babel/runtime": "^7.0.0",
34
34
  "@compiled/react": "^0.22.2",
@@ -41,7 +41,7 @@
41
41
  "@atlaskit/button": "^24.3.0",
42
42
  "@atlaskit/css": "^1.0.0",
43
43
  "@atlaskit/dropdown-menu": "^17.1.0",
44
- "@atlaskit/editor-core": "^221.9.0",
44
+ "@atlaskit/editor-core": "^221.10.0",
45
45
  "@atlaskit/editor-json-transformer": "^9.0.0",
46
46
  "@atlaskit/form": "^16.1.0",
47
47
  "@atlaskit/primitives": "^22.0.0",
@@ -54,7 +54,7 @@
54
54
  "react-intl": "^7.0.0"
55
55
  },
56
56
  "peerDependencies": {
57
- "@atlaskit/editor-common": "^116.33.0",
57
+ "@atlaskit/editor-common": "^116.34.0",
58
58
  "react": "^18.2.0"
59
59
  },
60
60
  "techstack": {