@atlaskit/teams-client 5.0.1 → 5.1.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.
- package/CHANGELOG.md +30 -1
- package/compass.yml +38 -0
- package/dist/cjs/common/utils/ufo/index.js +2 -2
- package/dist/cjs/services/sentry/constants.js +2 -2
- package/dist/cjs/services/sentry/utils/get-sentry-config.js +1 -1
- package/dist/es2019/common/utils/ufo/index.js +2 -2
- package/dist/es2019/services/sentry/constants.js +1 -1
- package/dist/es2019/services/sentry/utils/get-sentry-config.js +1 -1
- package/dist/esm/common/utils/ufo/index.js +2 -2
- package/dist/esm/services/sentry/constants.js +1 -1
- package/dist/esm/services/sentry/utils/get-sentry-config.js +1 -1
- package/package.json +5 -5
package/CHANGELOG.md
CHANGED
|
@@ -1,11 +1,40 @@
|
|
|
1
1
|
# @atlaskit/teams-client
|
|
2
2
|
|
|
3
|
+
## 5.1.1
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [`b1cf9e336f0f0`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/b1cf9e336f0f0) -
|
|
8
|
+
Migrate consumers of @atlaskit/atlassian-context from barrel imports to direct subpath imports,
|
|
9
|
+
and remove the deprecated `./domain-lookup`, `./generalized-domain-lookup`, and `./perimeter`
|
|
10
|
+
entry-point exports (all symbols remain available via their per-export subpaths).
|
|
11
|
+
|
|
12
|
+
Also extends the `no-restricted-fedramp-imports` ESLint rule to cover the new
|
|
13
|
+
`@atlaskit/atlassian-context/is-fedramp` and `@atlaskit/atlassian-context/is-isolated-cloud`
|
|
14
|
+
subpaths, so the FedRamp/IsolatedCloud deprecation guardrail keeps firing after the migration.
|
|
15
|
+
|
|
16
|
+
- Updated dependencies
|
|
17
|
+
|
|
18
|
+
## 5.1.0
|
|
19
|
+
|
|
20
|
+
### Minor Changes
|
|
21
|
+
|
|
22
|
+
- [`cd097a2111788`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/cd097a2111788) -
|
|
23
|
+
Republish packages depending on `@atlaskit/react-compiler-gating` so their published dependency
|
|
24
|
+
reference is updated to the renamed `@atlaskit/react-compiler-gating` scope.
|
|
25
|
+
|
|
26
|
+
The earlier rename of `@atlassian/react-compiler-gating` to `@atlaskit/react-compiler-gating` only
|
|
27
|
+
bumped the renamed package itself, so dependent packages were never republished and their
|
|
28
|
+
published versions still referenced the old `@atlassian/react-compiler-gating` name, which is not
|
|
29
|
+
available in the public npm registry. This minor bump republishes all affected packages with the
|
|
30
|
+
corrected dependency.
|
|
31
|
+
|
|
3
32
|
## 5.0.1
|
|
4
33
|
|
|
5
34
|
### Patch Changes
|
|
6
35
|
|
|
7
36
|
- [`ee28cf33718b0`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/ee28cf33718b0) -
|
|
8
|
-
Add @
|
|
37
|
+
Add @atlaskit/react-compiler-gating as a runtime dependency to enable React Compiler platform
|
|
9
38
|
gating.
|
|
10
39
|
- Updated dependencies
|
|
11
40
|
|
package/compass.yml
ADDED
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
configVersion: 1
|
|
2
|
+
id: ari:cloud:compass:a436116f-02ce-4520-8fbb-7301462a1674:component/c5751cc6-3513-4070-9deb-af31e86aed34/dc85b076-b6e1-44b1-b034-6a505facbaf9
|
|
3
|
+
name: '@atlaskit/teams-client'
|
|
4
|
+
ownerId: ari:cloud:identity::team/og-c0632dbd-17ef-49bc-b053-208b9fd565c5 # People and Teams Collective
|
|
5
|
+
labels:
|
|
6
|
+
- platform-code
|
|
7
|
+
- platform-afm
|
|
8
|
+
typeId: OTHER
|
|
9
|
+
fields:
|
|
10
|
+
tier: 4
|
|
11
|
+
lifecycle: Active
|
|
12
|
+
isMonorepoProject: true
|
|
13
|
+
links:
|
|
14
|
+
- name: Root Repository
|
|
15
|
+
type: REPOSITORY
|
|
16
|
+
url: https://bitbucket.org/atlassian/atlassian-frontend-monorepo/src/master
|
|
17
|
+
- name: Slack Channel
|
|
18
|
+
type: CHAT_CHANNEL
|
|
19
|
+
url: https://atlassian.enterprise.slack.com/archives/C024C40LREH # #pt-frontend
|
|
20
|
+
- name: Teams Client
|
|
21
|
+
type: REPOSITORY
|
|
22
|
+
url: https://bitbucket.org/atlassian/atlassian-frontend-monorepo/src/master/platform/packages/people-and-teams/teams-client
|
|
23
|
+
customFields:
|
|
24
|
+
- name: Department
|
|
25
|
+
type: text
|
|
26
|
+
value: Eng - Atlas - Spoonsteen
|
|
27
|
+
- name: Technical Owner
|
|
28
|
+
type: user
|
|
29
|
+
value: ari:cloud:identity::user/60eee7cec94cc20068ac280c # Alex O'Shannessy
|
|
30
|
+
- name: Required Reviewers Opt In
|
|
31
|
+
type: boolean
|
|
32
|
+
value: true
|
|
33
|
+
- name: Reviewer Selection Mechanism
|
|
34
|
+
type: text
|
|
35
|
+
value: random(2)
|
|
36
|
+
- name: Required Reviewer Approvals
|
|
37
|
+
type: number
|
|
38
|
+
value: 1
|
|
@@ -52,7 +52,7 @@ var TeamsUFOExperience = exports.TeamsUFOExperience = /*#__PURE__*/function (_UF
|
|
|
52
52
|
return _superPropGet(TeamsUFOExperience, "failure", this, 3)([{
|
|
53
53
|
metadata: {
|
|
54
54
|
error: (0, _utils.createErrorMetadata)(error),
|
|
55
|
-
packageVersion: "5.
|
|
55
|
+
packageVersion: "5.1.0",
|
|
56
56
|
packageName: "@atlaskit/teams-client"
|
|
57
57
|
}
|
|
58
58
|
}]);
|
|
@@ -60,7 +60,7 @@ var TeamsUFOExperience = exports.TeamsUFOExperience = /*#__PURE__*/function (_UF
|
|
|
60
60
|
return _superPropGet(TeamsUFOExperience, "failure", this, 3)([{
|
|
61
61
|
metadata: {
|
|
62
62
|
error: 'unknown error',
|
|
63
|
-
packageVersion: "5.
|
|
63
|
+
packageVersion: "5.1.0",
|
|
64
64
|
packageName: "@atlaskit/teams-client"
|
|
65
65
|
}
|
|
66
66
|
}]);
|
|
@@ -4,7 +4,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
6
|
exports.SENTRY_PUBLIC_KEY = exports.SENTRY_PROJECT_ID = exports.SENTRY_FEDRAMP_PUBLIC_KEY = exports.SENTRY_FEDRAMP_PROJECT_ID = exports.SENTRY_DSN = void 0;
|
|
7
|
-
var
|
|
7
|
+
var _isFedramp = require("@atlaskit/atlassian-context/is-fedramp");
|
|
8
8
|
// https://sentry.io/settings/atlassian-2y/projects/people-and-teams-directory/keys/
|
|
9
9
|
var SENTRY_PUBLIC_KEY = exports.SENTRY_PUBLIC_KEY = '1dc056d49dfe4df8961dc1b810e4620d';
|
|
10
10
|
var SENTRY_PROJECT_ID = exports.SENTRY_PROJECT_ID = '5988845';
|
|
@@ -12,4 +12,4 @@ var SENTRY_FEDRAMP_PUBLIC_KEY = exports.SENTRY_FEDRAMP_PUBLIC_KEY = '067abcc494b
|
|
|
12
12
|
var SENTRY_FEDRAMP_PROJECT_ID = exports.SENTRY_FEDRAMP_PROJECT_ID = '47';
|
|
13
13
|
var SENTRY_COMMERCIAL_DSN = "https://".concat(SENTRY_PUBLIC_KEY, "@o55978.ingest.sentry.io/").concat(SENTRY_PROJECT_ID);
|
|
14
14
|
var SENTRY_FEDRAMP_DSN = "https://".concat(SENTRY_FEDRAMP_PUBLIC_KEY, "@sentry.atlassian-us-gov-mod.com/").concat(SENTRY_FEDRAMP_PROJECT_ID);
|
|
15
|
-
var SENTRY_DSN = exports.SENTRY_DSN = (0,
|
|
15
|
+
var SENTRY_DSN = exports.SENTRY_DSN = (0, _isFedramp.isFedRamp)() ? SENTRY_FEDRAMP_DSN : SENTRY_COMMERCIAL_DSN;
|
|
@@ -36,7 +36,7 @@ function getSentryConfig(options) {
|
|
|
36
36
|
return _objectSpread(_objectSpread(_objectSpread({}, otherOptions), DEFAULT_SENTRY_CONFIG), {}, {
|
|
37
37
|
// Standalone __VERSION__ is set from `bin/set-release-version.sh`
|
|
38
38
|
// when building to deploy to production
|
|
39
|
-
release: "".concat("@atlaskit/teams-client", "@").concat("5.
|
|
39
|
+
release: "".concat("@atlaskit/teams-client", "@").concat("5.1.0") ||
|
|
40
40
|
// @ts-ignore Jira - window.BUILD_KEY
|
|
41
41
|
window.BUILD_KEY || ( // @ts-ignore Confluence - window.__buildInfo
|
|
42
42
|
(_window$__buildInfo = window.__buildInfo) === null || _window$__buildInfo === void 0 ? void 0 : _window$__buildInfo.FRONTEND_VERSION) || '---',
|
|
@@ -27,7 +27,7 @@ export class TeamsUFOExperience extends UFOExperience {
|
|
|
27
27
|
return super.failure({
|
|
28
28
|
metadata: {
|
|
29
29
|
error: createErrorMetadata(error),
|
|
30
|
-
packageVersion: "5.
|
|
30
|
+
packageVersion: "5.1.0",
|
|
31
31
|
packageName: "@atlaskit/teams-client"
|
|
32
32
|
}
|
|
33
33
|
});
|
|
@@ -35,7 +35,7 @@ export class TeamsUFOExperience extends UFOExperience {
|
|
|
35
35
|
return super.failure({
|
|
36
36
|
metadata: {
|
|
37
37
|
error: 'unknown error',
|
|
38
|
-
packageVersion: "5.
|
|
38
|
+
packageVersion: "5.1.0",
|
|
39
39
|
packageName: "@atlaskit/teams-client"
|
|
40
40
|
}
|
|
41
41
|
});
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { isFedRamp } from '@atlaskit/atlassian-context';
|
|
1
|
+
import { isFedRamp } from '@atlaskit/atlassian-context/is-fedramp';
|
|
2
2
|
|
|
3
3
|
// https://sentry.io/settings/atlassian-2y/projects/people-and-teams-directory/keys/
|
|
4
4
|
export const SENTRY_PUBLIC_KEY = '1dc056d49dfe4df8961dc1b810e4620d';
|
|
@@ -28,7 +28,7 @@ export function getSentryConfig(options) {
|
|
|
28
28
|
...DEFAULT_SENTRY_CONFIG,
|
|
29
29
|
// Standalone __VERSION__ is set from `bin/set-release-version.sh`
|
|
30
30
|
// when building to deploy to production
|
|
31
|
-
release: `${"@atlaskit/teams-client"}@${"5.
|
|
31
|
+
release: `${"@atlaskit/teams-client"}@${"5.1.0"}` ||
|
|
32
32
|
// @ts-ignore Jira - window.BUILD_KEY
|
|
33
33
|
window.BUILD_KEY || ( // @ts-ignore Confluence - window.__buildInfo
|
|
34
34
|
(_window$__buildInfo = window.__buildInfo) === null || _window$__buildInfo === void 0 ? void 0 : _window$__buildInfo.FRONTEND_VERSION) || '---',
|
|
@@ -45,7 +45,7 @@ export var TeamsUFOExperience = /*#__PURE__*/function (_UFOExperience) {
|
|
|
45
45
|
return _superPropGet(TeamsUFOExperience, "failure", this, 3)([{
|
|
46
46
|
metadata: {
|
|
47
47
|
error: createErrorMetadata(error),
|
|
48
|
-
packageVersion: "5.
|
|
48
|
+
packageVersion: "5.1.0",
|
|
49
49
|
packageName: "@atlaskit/teams-client"
|
|
50
50
|
}
|
|
51
51
|
}]);
|
|
@@ -53,7 +53,7 @@ export var TeamsUFOExperience = /*#__PURE__*/function (_UFOExperience) {
|
|
|
53
53
|
return _superPropGet(TeamsUFOExperience, "failure", this, 3)([{
|
|
54
54
|
metadata: {
|
|
55
55
|
error: 'unknown error',
|
|
56
|
-
packageVersion: "5.
|
|
56
|
+
packageVersion: "5.1.0",
|
|
57
57
|
packageName: "@atlaskit/teams-client"
|
|
58
58
|
}
|
|
59
59
|
}]);
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { isFedRamp } from '@atlaskit/atlassian-context';
|
|
1
|
+
import { isFedRamp } from '@atlaskit/atlassian-context/is-fedramp';
|
|
2
2
|
|
|
3
3
|
// https://sentry.io/settings/atlassian-2y/projects/people-and-teams-directory/keys/
|
|
4
4
|
export var SENTRY_PUBLIC_KEY = '1dc056d49dfe4df8961dc1b810e4620d';
|
|
@@ -29,7 +29,7 @@ export function getSentryConfig(options) {
|
|
|
29
29
|
return _objectSpread(_objectSpread(_objectSpread({}, otherOptions), DEFAULT_SENTRY_CONFIG), {}, {
|
|
30
30
|
// Standalone __VERSION__ is set from `bin/set-release-version.sh`
|
|
31
31
|
// when building to deploy to production
|
|
32
|
-
release: "".concat("@atlaskit/teams-client", "@").concat("5.
|
|
32
|
+
release: "".concat("@atlaskit/teams-client", "@").concat("5.1.0") ||
|
|
33
33
|
// @ts-ignore Jira - window.BUILD_KEY
|
|
34
34
|
window.BUILD_KEY || ( // @ts-ignore Confluence - window.__buildInfo
|
|
35
35
|
(_window$__buildInfo = window.__buildInfo) === null || _window$__buildInfo === void 0 ? void 0 : _window$__buildInfo.FRONTEND_VERSION) || '---',
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/teams-client",
|
|
3
|
-
"version": "5.
|
|
3
|
+
"version": "5.1.1",
|
|
4
4
|
"description": "A client to retrieve team related data",
|
|
5
5
|
"author": "Atlassian Pty Ltd",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
"react-compiler": {
|
|
12
12
|
"enabled": true,
|
|
13
13
|
"gating": {
|
|
14
|
-
"source": "@
|
|
14
|
+
"source": "@atlaskit/react-compiler-gating",
|
|
15
15
|
"importSpecifierName": "isReactCompilerActivePlatform"
|
|
16
16
|
}
|
|
17
17
|
},
|
|
@@ -30,10 +30,10 @@
|
|
|
30
30
|
"test:coverage": "(cd ../../.. && yarn test 'packages/people-and-teams/teams-client/src' --coverage --coverageProvider=v8 --collectCoverageFrom='[\"packages/people-and-teams/teams-client/src/**\", \"!packages/people-and-teams/teams-client/src/**/**/types.ts\", \"!packages/people-and-teams/teams-client/src/ui/**/styled.tsx\"]')"
|
|
31
31
|
},
|
|
32
32
|
"dependencies": {
|
|
33
|
-
"@atlaskit/atlassian-context": "^1.
|
|
33
|
+
"@atlaskit/atlassian-context": "^1.1.0",
|
|
34
34
|
"@atlaskit/platform-feature-flags": "^2.0.0",
|
|
35
|
+
"@atlaskit/react-compiler-gating": "^0.2.0",
|
|
35
36
|
"@atlaskit/ufo": "^1.0.0",
|
|
36
|
-
"@atlassian/react-compiler-gating": "^0.2.0",
|
|
37
37
|
"@babel/runtime": "^7.0.0",
|
|
38
38
|
"@sentry/browser": "^6.18.2",
|
|
39
39
|
"date-fns-tz": "^2.0.0",
|
|
@@ -48,7 +48,7 @@
|
|
|
48
48
|
"devDependencies": {
|
|
49
49
|
"@atlaskit/feature-gate-js-client": "^6.0.0",
|
|
50
50
|
"@atlassian/codegen": "^0.2.0",
|
|
51
|
-
"@atlassian/ptc-test-utils": "^0.
|
|
51
|
+
"@atlassian/ptc-test-utils": "^0.14.0",
|
|
52
52
|
"@testing-library/react": "^16.3.0",
|
|
53
53
|
"@types/faker": "^4.1.8",
|
|
54
54
|
"react": "^18.2.0",
|