@atlaskit/editor-plugin-analytics 2.3.2 → 3.0.1

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 +49 -0
  2. package/package.json +5 -6
package/CHANGELOG.md CHANGED
@@ -1,5 +1,54 @@
1
1
  # @atlaskit/editor-plugin-analytics
2
2
 
3
+ ## 3.0.1
4
+
5
+ ### Patch Changes
6
+
7
+ - [#187144](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/pull-requests/187144)
8
+ [`a16147d8fbdfe`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/a16147d8fbdfe) -
9
+ Bump @atlaskit/adf-schema to v49.0.5
10
+ - Updated dependencies
11
+
12
+ ## 3.0.0
13
+
14
+ ### Major Changes
15
+
16
+ - [#181024](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/pull-requests/181024)
17
+ [`8e80c487ca307`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/8e80c487ca307) - ##
18
+ Make `@atlaskit/editor-common` a peer dependency
19
+
20
+ **WHAT:** `@atlaskit/editor-common` has been moved from `dependencies` to `peerDependencies` in
21
+ all editor plugin packages.
22
+
23
+ **WHY:** This change ensures that only a single version of `@atlaskit/editor-common` is used in
24
+ consuming applications, preventing issues caused by multiple versions of singleton libraries (such
25
+ as context mismatches or duplicated state). This is especially important for packages that rely on
26
+ shared context or singletons.
27
+
28
+ **HOW TO ADJUST:**
29
+
30
+ - Consumers must now explicitly install `@atlaskit/editor-common` in their own project if they use
31
+ any of these editor plugins.
32
+ - Ensure the version you install matches the version required by the plugins.
33
+ - You can use the
34
+ [`check-peer-dependencies`](https://www.npmjs.com/package/check-peer-dependencies) package to
35
+ verify that all required peer dependencies are installed and compatible.
36
+ - Example install command:
37
+ ```
38
+ npm install @atlaskit/editor-common
39
+ ```
40
+ or
41
+ ```
42
+ yarn add @atlaskit/editor-common
43
+ ```
44
+
45
+ **Note:** This is a breaking change. If `@atlaskit/editor-common` is not installed at the
46
+ application level, you may see errors or unexpected behavior.
47
+
48
+ ### Patch Changes
49
+
50
+ - Updated dependencies
51
+
3
52
  ## 2.3.2
4
53
 
5
54
  ### Patch Changes
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/editor-plugin-analytics",
3
- "version": "2.3.2",
3
+ "version": "3.0.1",
4
4
  "description": "Analytics plugin for @atlaskit/editor-core",
5
5
  "author": "Atlassian Pty Ltd",
6
6
  "license": "Apache-2.0",
@@ -9,8 +9,7 @@
9
9
  },
10
10
  "atlassian": {
11
11
  "team": "Editor: Lego",
12
- "singleton": true,
13
- "runReact18": true
12
+ "singleton": true
14
13
  },
15
14
  "repository": "https://bitbucket.org/atlassian/atlassian-frontend-mirror",
16
15
  "main": "dist/cjs/index.js",
@@ -31,16 +30,16 @@
31
30
  ".": "./src/index.ts"
32
31
  },
33
32
  "dependencies": {
34
- "@atlaskit/adf-schema": "^47.6.0",
33
+ "@atlaskit/adf-schema": "^49.0.6",
35
34
  "@atlaskit/analytics-listeners": "^9.0.0",
36
35
  "@atlaskit/analytics-next": "^11.1.0",
37
- "@atlaskit/editor-common": "^107.0.0",
38
- "@atlaskit/editor-plugin-feature-flags": "^1.4.0",
36
+ "@atlaskit/editor-plugin-feature-flags": "^2.0.0",
39
37
  "@atlaskit/editor-prosemirror": "7.0.0",
40
38
  "@atlaskit/editor-tables": "^2.9.0",
41
39
  "@babel/runtime": "^7.0.0"
42
40
  },
43
41
  "peerDependencies": {
42
+ "@atlaskit/editor-common": "^107.8.0",
44
43
  "react": "^18.2.0"
45
44
  },
46
45
  "techstack": {