Skip to content

Commit

Permalink
chore: release 0.20.0-beta.0 (#905)
Browse files Browse the repository at this point in the history
  • Loading branch information
Joozty authored Dec 10, 2024
1 parent 11b2511 commit 22dbf70
Show file tree
Hide file tree
Showing 8 changed files with 28 additions and 14 deletions.
7 changes: 4 additions & 3 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,8 @@ release_npm:
script:
# release to NPM
- echo "//registry.npmjs.org/:_authToken=$NPM_TOKEN" > ~/.npmrc
- for f in artifacts/*.tgz; do npm publish ./$f; done;
# January: remove --tag beta
- for f in artifacts/*.tgz; do npm publish --tag beta ./$f; done;
- rm -f ~/.npmrc

release_github:
Expand All @@ -105,8 +106,8 @@ release_github:
- sudo apt update
- sudo apt install gh

# release in Github
- gh release create v${CI_COMMIT_REF_NAME:1} ./artifacts/* --target $CI_COMMIT_SHA --repo $GITHUB_REPOSITORY
# January: remove --prerelease
- gh release create v${CI_COMMIT_REF_NAME:1} ./artifacts/* --prerelease --target $CI_COMMIT_SHA --repo $GITHUB_REPOSITORY

release_cdn:
artifacts:
Expand Down
13 changes: 13 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,19 @@

If the version of Open Telemetry is unspecified for a version, then it is the same as in the previous release.

## 0.20.0-beta.0

* `@splunk/otel-web`
* feat: added `persistence` config parameter.
The session state can now be persisted to local storage instead of cookie. ([#900](https://github.com/signalfx/splunk-otel-js-web/pull/900), [#904](https://github.com/signalfx/splunk-otel-js-web/pull/904))
* feat: added `_experimental_longtaskNoStartSession` config parameter.
When enabled, `longtasks` spans will not start the new session when previous expired.
They will be simply ignored. ([#899](https://github.com/signalfx/splunk-otel-js-web/pull/899))
* internal: session management improvements. Session state contains now `expiresAt` field
and cookie age is set to 4 hours (session duration). Session is only extended/created when span
is emitted. The 1-minute periodic interval is removed. Thanks to that the session start time matches the first
span time and the session will not contain blank time at the beginning. ([#899](https://github.com/signalfx/splunk-otel-js-web/pull/899))

## 0.19.3

* `@splunk/otel-web-session-recorder`
Expand Down
10 changes: 5 additions & 5 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@splunk/otel-web-dev-root",
"private": true,
"version": "0.19.3",
"version": "0.20.0-beta.0",
"--workspaces": "Hardcoded so npm runs workspaces commands in order",
"workspaces": [
"packages/web",
Expand Down
4 changes: 2 additions & 2 deletions packages/session-recorder/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@splunk/otel-web-session-recorder",
"version": "0.19.3",
"version": "0.20.0-beta.0",
"description": "Splunk distribution of rrweb for recording session",
"repository": "github:signalfx/splunk-otel-js-browser",
"scripts": {
Expand Down Expand Up @@ -37,7 +37,7 @@
"type-fest": "^4.0.0"
},
"peerDependencies": {
"@splunk/otel-web": "^0.19.0"
"@splunk/otel-web": "^0.20.0-beta.0"
},
"devDependencies": {
"@babel/plugin-transform-runtime": "^7.22.9",
Expand Down
2 changes: 1 addition & 1 deletion packages/session-recorder/src/version.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,4 @@
*/

// this is an autogenerated file, see scripts/version-update.js
export const VERSION = '0.19.3'
export const VERSION = '0.20.0-beta.0'
2 changes: 1 addition & 1 deletion packages/web/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@splunk/otel-web",
"version": "0.19.3",
"version": "0.20.0-beta.0",
"description": "Splunk distribution of Open Telemetry for browser environment.",
"repository": "github:signalfx/splunk-otel-js-browser",
"scripts": {
Expand Down
2 changes: 1 addition & 1 deletion packages/web/src/version.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,4 @@
*/

// this is an autogenerated file, see scripts/version-update.js
export const VERSION = '0.19.3'
export const VERSION = '0.20.0-beta.0'

0 comments on commit 22dbf70

Please sign in to comment.