Skip to content

Commit f8c8fa2

Browse files
philibeaprotobuf-ci-cd
authored andcommitted
fix(analytics): revert upgrade of rudderstack package
1 parent 2978271 commit f8c8fa2

File tree

9 files changed

+22
-14
lines changed

9 files changed

+22
-14
lines changed

.changeset/loud-ends-tie.md renamed to .changeset/ready-snakes-end.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@
22
"@scaleway/use-analytics": patch
33
---
44

5-
export normalize id of analytics
5+
Rollback ruddestack version

.github/workflows/ci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
- name: Use Node.js
1717
uses: actions/[email protected]
1818
with:
19-
node-version: 22
19+
node-version: 22.19.0
2020
check-latest: true
2121
cache: "pnpm"
2222
- run: pnpm install
@@ -30,7 +30,7 @@ jobs:
3030
- name: Use Node.js
3131
uses: actions/[email protected]
3232
with:
33-
node-version: 22
33+
node-version: 22.19.0
3434
check-latest: true
3535
cache: "pnpm"
3636
- run: pnpm install

.github/workflows/pull_request_title.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313
- name: Use Node.js
1414
uses: actions/[email protected]
1515
with:
16-
node-version: 22
16+
node-version: 22.19.0
1717
check-latest: true
1818
cache: 'pnpm'
1919
- run: pnpm install

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ jobs:
2424
- name: Use Node.js
2525
uses: actions/[email protected]
2626
with:
27-
node-version: 22
27+
node-version: 22.19.0
2828
cache: 'pnpm'
2929
- run: pnpm install
3030
- name: Create Release Pull Request or Publish to npm

packages/use-analytics/CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
11
# Change Log
22

3+
## 0.0.13
4+
5+
### Patch Changes
6+
7+
- [#2762](https://github.com/scaleway/scaleway-lib/pull/2762) [`65c02e2`](https://github.com/scaleway/scaleway-lib/commit/65c02e2c8177050fcb9504416d95181f5fe3a163) Thanks [@philibea](https://github.com/philibea)! - export normalize id of analytics
8+
39
## 0.0.12
410

511
### Patch Changes

packages/use-analytics/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@scaleway/use-analytics",
3-
"version": "0.0.12",
3+
"version": "0.0.13",
44
"description": "A small hook to handle events analytics",
55
"engines": {
66
"node": ">=20.x"

packages/use-analytics/src/analytics/useAnalytics.tsx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ import { useDeepCompareEffectNoCheck } from 'use-deep-compare-effect'
66
import { destSDKBaseURL, pluginsSDKBaseURL } from '../constants'
77
import type { CategoryKind } from '../types'
88
import { defaultConsentOptions, defaultLoadOptions } from './constants'
9+
import { normalizeIdsMigration } from './normalizeIdsMigration'
910

1011
type Analytics = RudderAnalytics
1112
export type { Analytics }
@@ -136,6 +137,7 @@ export function AnalyticsProvider<T extends Events>({
136137
deniedConsentIds: deniedConsents,
137138
},
138139
})
140+
normalizeIdsMigration(analytics)
139141

140142
onLoaded(rudderAnalytics)
141143

pnpm-lock.yaml

Lines changed: 7 additions & 7 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pnpm-workspace.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ catalog:
2020
'@formatjs/fast-memoize': 2.2.7
2121
'@formatjs/icu-messageformat-parser': 2.11.2
2222
'@growthbook/growthbook-react': 1.6.1
23-
'@rudderstack/analytics-js': 3.23.2
23+
'@rudderstack/analytics-js': 3.22.0
2424
'@scaleway/use-segment': 1.1.11
2525
'@segment/analytics-next': 1.81.1
2626
'@stylistic/eslint-plugin': 4.4.1

0 commit comments

Comments
 (0)