diff --git a/.changeset/fair-pillows-sin.md b/.changeset/fair-pillows-sin.md deleted file mode 100644 index d3c6f5caf..000000000 --- a/.changeset/fair-pillows-sin.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -'@segment/analytics-consent-tools': major ---- - -* Rename `shouldLoad` -> `shouldLoadSegment` -* Remove redundant `shouldDisableConsentRequirement` setting, in favor of shouldLoad's `ctx.abort({loadSegmentNormally: true})` -* Create `shouldLoadWrapper` API for waiting for consent script initialization. diff --git a/.changeset/five-masks-bow.md b/.changeset/five-masks-bow.md deleted file mode 100644 index 29ee5fc5d..000000000 --- a/.changeset/five-masks-bow.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@segment/analytics-next': minor ---- - -Change default retries to 10 to match docs + ajs classic diff --git a/.changeset/foo-thing-dog.md b/.changeset/foo-thing-dog.md deleted file mode 100644 index ebee7fb03..000000000 --- a/.changeset/foo-thing-dog.md +++ /dev/null @@ -1,8 +0,0 @@ ---- -'@segment/analytics-consent-wrapper-onetrust': patch ---- - -#987 - -Fix bug: if showAlertNotice is false and Segment has default categories, we want to immediately load Segment with any default categories. - diff --git a/.changeset/gold-impalas-kneel.md b/.changeset/gold-impalas-kneel.md deleted file mode 100644 index 99b461a22..000000000 --- a/.changeset/gold-impalas-kneel.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@segment/analytics-consent-tools': patch ---- - -Refactor consent wrapper; export GetCategoriesFunction diff --git a/.changeset/honest-radios-prove.md b/.changeset/honest-radios-prove.md deleted file mode 100644 index ee3695c7f..000000000 --- a/.changeset/honest-radios-prove.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@segment/analytics-consent-tools': patch ---- - -Import from local utils rather than lodash diff --git a/packages/browser/CHANGELOG.md b/packages/browser/CHANGELOG.md index a20bb1312..d2b4b13f6 100644 --- a/packages/browser/CHANGELOG.md +++ b/packages/browser/CHANGELOG.md @@ -1,5 +1,11 @@ # @segment/analytics-next +## 1.60.0 + +### Minor Changes + +- [#989](https://github.com/segmentio/analytics-next/pull/989) [`1faabf1`](https://github.com/segmentio/analytics-next/commit/1faabf1f51de63423f8995adf837137ab2d9d800) Thanks [@silesky](https://github.com/silesky)! - Change default retries to 10 to match docs + ajs classic + ## 1.59.0 ### Minor Changes diff --git a/packages/browser/package.json b/packages/browser/package.json index a9fff627e..0e37a5c7a 100644 --- a/packages/browser/package.json +++ b/packages/browser/package.json @@ -1,6 +1,6 @@ { "name": "@segment/analytics-next", - "version": "1.59.0", + "version": "1.60.0", "repository": { "type": "git", "url": "https://github.com/segmentio/analytics-next", diff --git a/packages/browser/src/generated/version.ts b/packages/browser/src/generated/version.ts index 49434b4a7..3b7b4c148 100644 --- a/packages/browser/src/generated/version.ts +++ b/packages/browser/src/generated/version.ts @@ -1,2 +1,2 @@ // This file is generated. -export const version = '1.59.0' +export const version = '1.60.0' diff --git a/packages/consent/consent-tools/CHANGELOG.md b/packages/consent/consent-tools/CHANGELOG.md index c59950d33..3c804e88e 100644 --- a/packages/consent/consent-tools/CHANGELOG.md +++ b/packages/consent/consent-tools/CHANGELOG.md @@ -1,5 +1,19 @@ # @segment/analytics-consent-tools +## 1.0.0 + +### Major Changes + +- [#983](https://github.com/segmentio/analytics-next/pull/983) [`930af49`](https://github.com/segmentio/analytics-next/commit/930af49b27f7c2973304c7ae76b67d264223e6f6) Thanks [@silesky](https://github.com/silesky)! - \* Rename `shouldLoad` -> `shouldLoadSegment` + - Remove redundant `shouldDisableConsentRequirement` setting, in favor of shouldLoad's `ctx.abort({loadSegmentNormally: true})` + - Create `shouldLoadWrapper` API for waiting for consent script initialization. + +### Patch Changes + +- [#990](https://github.com/segmentio/analytics-next/pull/990) [`a361575`](https://github.com/segmentio/analytics-next/commit/a361575152f8313dfded3b0cc4b9912b4e2a41c3) Thanks [@silesky](https://github.com/silesky)! - Refactor consent wrapper; export GetCategoriesFunction + +* [#991](https://github.com/segmentio/analytics-next/pull/991) [`008a019`](https://github.com/segmentio/analytics-next/commit/008a01927973340bd93cd0097e45c455d49baea5) Thanks [@silesky](https://github.com/silesky)! - Import from local utils rather than lodash + ## 0.2.1 ### Patch Changes diff --git a/packages/consent/consent-tools/package.json b/packages/consent/consent-tools/package.json index f6a7646ee..9f84676f8 100644 --- a/packages/consent/consent-tools/package.json +++ b/packages/consent/consent-tools/package.json @@ -1,6 +1,6 @@ { "name": "@segment/analytics-consent-tools", - "version": "0.2.1", + "version": "1.0.0", "main": "./dist/cjs/index.js", "module": "./dist/esm/index.js", "types": "./dist/types/index.d.ts", diff --git a/packages/consent/consent-wrapper-onetrust/CHANGELOG.md b/packages/consent/consent-wrapper-onetrust/CHANGELOG.md index 8547b0758..23dec26a9 100644 --- a/packages/consent/consent-wrapper-onetrust/CHANGELOG.md +++ b/packages/consent/consent-wrapper-onetrust/CHANGELOG.md @@ -1,5 +1,16 @@ # @segment/analytics-consent-wrapper-onetrust +## 0.3.2 + +### Patch Changes + +- [`4ca9f84`](https://github.com/segmentio/analytics-next/commit/4ca9f84106ba1f86953b6b8632bb49929416cb64) Thanks [@silesky](https://github.com/silesky)! - #987 + + Fix bug: if showAlertNotice is false and Segment has default categories, we want to immediately load Segment with any default categories. + +- Updated dependencies [[`930af49`](https://github.com/segmentio/analytics-next/commit/930af49b27f7c2973304c7ae76b67d264223e6f6), [`a361575`](https://github.com/segmentio/analytics-next/commit/a361575152f8313dfded3b0cc4b9912b4e2a41c3), [`008a019`](https://github.com/segmentio/analytics-next/commit/008a01927973340bd93cd0097e45c455d49baea5)]: + - @segment/analytics-consent-tools@1.0.0 + ## 0.3.1 ### Patch Changes diff --git a/packages/consent/consent-wrapper-onetrust/package.json b/packages/consent/consent-wrapper-onetrust/package.json index 677c58099..e9185b0b1 100644 --- a/packages/consent/consent-wrapper-onetrust/package.json +++ b/packages/consent/consent-wrapper-onetrust/package.json @@ -1,6 +1,6 @@ { "name": "@segment/analytics-consent-wrapper-onetrust", - "version": "0.3.1", + "version": "0.3.2", "keywords": [ "segment", "analytics", @@ -41,7 +41,7 @@ "webpack": "yarn run -T webpack" }, "dependencies": { - "@segment/analytics-consent-tools": "0.2.1" + "@segment/analytics-consent-tools": "1.0.0" }, "peerDependencies": { "@segment/analytics-next": ">=1.53.1" diff --git a/yarn.lock b/yarn.lock index 11ef5b0fa..09121e340 100644 --- a/yarn.lock +++ b/yarn.lock @@ -3707,7 +3707,7 @@ __metadata: languageName: node linkType: hard -"@segment/analytics-consent-tools@0.2.1, @segment/analytics-consent-tools@workspace:^, @segment/analytics-consent-tools@workspace:packages/consent/consent-tools": +"@segment/analytics-consent-tools@1.0.0, @segment/analytics-consent-tools@workspace:^, @segment/analytics-consent-tools@workspace:packages/consent/consent-tools": version: 0.0.0-use.local resolution: "@segment/analytics-consent-tools@workspace:packages/consent/consent-tools" dependencies: @@ -3728,7 +3728,7 @@ __metadata: dependencies: "@internal/config-webpack": "workspace:^" "@internal/test-helpers": "workspace:^" - "@segment/analytics-consent-tools": 0.2.1 + "@segment/analytics-consent-tools": 1.0.0 peerDependencies: "@segment/analytics-next": ">=1.53.1" peerDependenciesMeta: