@atlaskit/renderer 123.3.3 → 123.4.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 CHANGED
@@ -1,5 +1,12 @@
1
1
  # @atlaskit/renderer
2
2
 
3
+ ## 123.4.0
4
+
5
+ ### Minor Changes
6
+
7
+ - [`08569ab338048`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/08569ab338048) -
8
+ Removed feature gates for cleanup
9
+
3
10
  ## 123.3.3
4
11
 
5
12
  ### Patch Changes
@@ -8,7 +8,6 @@ exports.useLoadAnnotations = void 0;
8
8
  var _defineProperty2 = _interopRequireDefault(require("@babel/runtime/helpers/defineProperty"));
9
9
  var _react = require("react");
10
10
  var _types = require("@atlaskit/editor-common/types");
11
- var _platformFeatureFlags = require("@atlaskit/platform-feature-flags");
12
11
  var _context = require("../context");
13
12
  var _RendererActionsContext = require("../../RendererActionsContext");
14
13
  var _AnnotationManagerContext = require("../contexts/AnnotationManagerContext");
@@ -34,7 +33,7 @@ var useLoadAnnotations = exports.useLoadAnnotations = function useLoadAnnotation
34
33
  var annotations = actions.getAnnotationMarks();
35
34
  // we don't want to request integrators for state with an empty list of ids.
36
35
  if (!annotations.length) {
37
- if (!isNestedRender && (0, _platformFeatureFlags.fg)('use_comments_data_annotation_updater')) {
36
+ if (!isNestedRender) {
38
37
  // inlineCommentGetState handles empty lists gracefully. It has a side-effect of clearing state, which is why this call is needed
39
38
  inlineCommentGetState([], isNestedRender);
40
39
  }
@@ -1,6 +1,5 @@
1
1
  import { useContext, useEffect } from 'react';
2
2
  import { AnnotationUpdateEvent } from '@atlaskit/editor-common/types';
3
- import { fg } from '@atlaskit/platform-feature-flags';
4
3
  import { ProvidersContext } from '../context';
5
4
  import { RendererContext as ActionsContext } from '../../RendererActionsContext';
6
5
  import { useAnnotationManagerDispatch } from '../contexts/AnnotationManagerContext';
@@ -29,7 +28,7 @@ export const useLoadAnnotations = ({
29
28
  const annotations = actions.getAnnotationMarks();
30
29
  // we don't want to request integrators for state with an empty list of ids.
31
30
  if (!annotations.length) {
32
- if (!isNestedRender && fg('use_comments_data_annotation_updater')) {
31
+ if (!isNestedRender) {
33
32
  // inlineCommentGetState handles empty lists gracefully. It has a side-effect of clearing state, which is why this call is needed
34
33
  inlineCommentGetState([], isNestedRender);
35
34
  }
@@ -3,7 +3,6 @@ function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbol
3
3
  function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
4
4
  import { useContext, useEffect } from 'react';
5
5
  import { AnnotationUpdateEvent } from '@atlaskit/editor-common/types';
6
- import { fg } from '@atlaskit/platform-feature-flags';
7
6
  import { ProvidersContext } from '../context';
8
7
  import { RendererContext as ActionsContext } from '../../RendererActionsContext';
9
8
  import { useAnnotationManagerDispatch } from '../contexts/AnnotationManagerContext';
@@ -27,7 +26,7 @@ export var useLoadAnnotations = function useLoadAnnotations(_ref) {
27
26
  var annotations = actions.getAnnotationMarks();
28
27
  // we don't want to request integrators for state with an empty list of ids.
29
28
  if (!annotations.length) {
30
- if (!isNestedRender && fg('use_comments_data_annotation_updater')) {
29
+ if (!isNestedRender) {
31
30
  // inlineCommentGetState handles empty lists gracefully. It has a side-effect of clearing state, which is why this call is needed
32
31
  inlineCommentGetState([], isNestedRender);
33
32
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/renderer",
3
- "version": "123.3.3",
3
+ "version": "123.4.0",
4
4
  "description": "Renderer component",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/"
@@ -41,7 +41,7 @@
41
41
  "@atlaskit/feature-gate-js-client": "^5.5.0",
42
42
  "@atlaskit/icon": "^28.2.0",
43
43
  "@atlaskit/link": "^3.2.0",
44
- "@atlaskit/link-datasource": "^4.23.0",
44
+ "@atlaskit/link-datasource": "^4.24.0",
45
45
  "@atlaskit/media-card": "^79.5.0",
46
46
  "@atlaskit/media-client": "^35.3.0",
47
47
  "@atlaskit/media-client-react": "^4.1.0",
@@ -51,12 +51,12 @@
51
51
  "@atlaskit/media-viewer": "^52.4.0",
52
52
  "@atlaskit/platform-feature-flags": "^1.1.0",
53
53
  "@atlaskit/platform-feature-flags-react": "^0.3.0",
54
- "@atlaskit/react-ufo": "^4.7.0",
54
+ "@atlaskit/react-ufo": "^4.8.0",
55
55
  "@atlaskit/smart-card": "^42.0.0",
56
56
  "@atlaskit/status": "^3.0.0",
57
57
  "@atlaskit/task-decision": "^19.2.0",
58
58
  "@atlaskit/theme": "^21.0.0",
59
- "@atlaskit/tmp-editor-statsig": "^12.25.0",
59
+ "@atlaskit/tmp-editor-statsig": "^12.27.0",
60
60
  "@atlaskit/tokens": "^6.3.0",
61
61
  "@atlaskit/tooltip": "^20.4.0",
62
62
  "@atlaskit/visually-hidden": "^3.0.0",
@@ -70,7 +70,7 @@
70
70
  "uuid": "^3.1.0"
71
71
  },
72
72
  "peerDependencies": {
73
- "@atlaskit/editor-common": "^109.10.0",
73
+ "@atlaskit/editor-common": "^109.11.0",
74
74
  "@atlaskit/link-provider": "^4.0.0",
75
75
  "@atlaskit/media-core": "^37.0.0",
76
76
  "react": "^18.2.0",
@@ -83,8 +83,8 @@
83
83
  "@atlaskit/checkbox": "^17.1.0",
84
84
  "@atlaskit/css-reset": "^7.3.0",
85
85
  "@atlaskit/link-provider": "^4.0.0",
86
- "@atlaskit/link-test-helpers": "^8.3.0",
87
- "@atlaskit/linking-common": "^9.6.0",
86
+ "@atlaskit/link-test-helpers": "^8.4.0",
87
+ "@atlaskit/linking-common": "^9.7.0",
88
88
  "@atlaskit/media-core": "^37.0.0",
89
89
  "@atlaskit/media-integration-test-helpers": "workspace:^",
90
90
  "@atlaskit/media-test-helpers": "^39.0.0",
@@ -160,9 +160,6 @@
160
160
  "confluence-frontend-comments-panel": {
161
161
  "type": "boolean"
162
162
  },
163
- "use_comments_data_annotation_updater": {
164
- "type": "boolean"
165
- },
166
163
  "platform_editor_querySelector_fix_table_renderer": {
167
164
  "type": "boolean"
168
165
  },