Skip to content

Commit

Permalink
release 0.18.0-beta.0 (#784)
Browse files Browse the repository at this point in the history
  • Loading branch information
t2t2 authored May 23, 2024
1 parent ce30113 commit 9083530
Show file tree
Hide file tree
Showing 8 changed files with 21 additions and 13 deletions.
7 changes: 5 additions & 2 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ release_npm:
script:
# release to NPM
- echo "//registry.npmjs.org/:_authToken=$NPM_TOKEN" > ~/.npmrc
- for f in artifacts/*.tgz; do npm publish ./$f; done;
- for f in artifacts/*.tgz; do npm publish --tag beta ./$f; done;
- rm -f ~/.npmrc

release_github:
Expand All @@ -106,7 +106,7 @@ release_github:
- sudo apt install gh

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

release_cdn:
artifacts:
Expand All @@ -116,6 +116,9 @@ release_cdn:
only:
- /^v[0-9]+\..*/
needs: ["release_github"]
id_tokens:
CI_JOB_JWT:
aud: $CICD_VAULT_ADDR
script:
# authenticate and release to CDN
- creds-helper init && eval $(creds-helper aws --eval aws:v1/o11y-infra/role/o11y_gdi_otel_js_web_releaser_role)
Expand Down
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,11 @@ If the version of Open Telemetry is unspecified for a version, then it is the sa

## Unreleased

## 0.18.0-beta.0

* `@splunk/otel-web-session-recorder`
* Switch from using otlp/protobuf to otlp/json. This removes dependency on protobuf.js, allowing the library to be ran on sites where unsafe-eval is blocked via CSP and reducing the bundle size by half ([#765](https://github.com/signalfx/splunk-otel-js-web/pull/756))

## 0.17.0

| Open Telemetry API | Core | Instrumentations & Contrib |
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.17.0",
"version": "0.18.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.17.0",
"version": "0.18.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.17.0"
"@splunk/otel-web": "^0.18.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 @@ -15,4 +15,4 @@ limitations under the License.
*/

// this is an autogenerated file, see scripts/version-update.js
export const VERSION = '0.17.0';
export const VERSION = '0.18.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.17.0",
"version": "0.18.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 @@ -15,4 +15,4 @@ limitations under the License.
*/

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

0 comments on commit 9083530

Please sign in to comment.