Skip to content
This repository has been archived by the owner on Oct 3, 2023. It is now read-only.

Commit

Permalink
chore(multiple): 0.0.4 release proposal (#154)
Browse files Browse the repository at this point in the history
* chore(multiple): 0.0.4 release proposal

* Update CircleCI

* Change example Agent endpoint

* Add NPM push for `scripts` package

This is needed to make sure the scripts get to NPM
  • Loading branch information
crdgonzalezca authored and draffensperger committed Aug 6, 2019
1 parent 9f2c2a8 commit dd53697
Show file tree
Hide file tree
Showing 14 changed files with 43 additions and 35 deletions.
5 changes: 4 additions & 1 deletion .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,9 +51,12 @@ jobs:
name: Install modules and dependencies.
command: npm install
# Run publish script for each package suffix and its NPM wombat token.
- run: .circleci/publish.sh all $WOMBAT_TOKEN_ALL
- run: .circleci/publish.sh initial-load $WOMBAT_TOKEN_INITIAL_LOAD
- run: .circleci/publish.sh core $WOMBAT_TOKEN_CORE
- run: .circleci/publish.sh exporter-ocagent $WOMBAT_TOKEN_EXPORTER_OCAGENT
- run: .circleci/publish.sh instrumentation-perf $WOMBAT_TOKEN_INSTRUMENTATION_PERF
- run: .circleci/publish.sh propagation-tracecontext "$WOMBAT_TOKEN_PROPAGATION_TRACECONTEXT"
- run: .circleci/publish.sh scripts "$WOMBAT_TOKEN_TYPES"
- run: .circleci/publish.sh types "$WOMBAT_TOKEN_TYPES"
- run: .circleci/publish.sh instrumentation-zone $WOMBAT_TOKEN_INSTRUMENTATION_ZONE
- run: .circleci/publish.sh instrumentation-zone-peer-dep $WOMBAT_TOKEN_INSTRUMENTATION_ZONE_PEER_DEP
7 changes: 6 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

All notable changes to this project will be documented in this file.

## Unreleased
## 0.0.4 - 2019-08-06

- Rename `@opencensus/web-all` to `@opencensus/web-scripts` so now this package
is only in charge of bundling OC Web to allow importing it as <script> tag.
Expand All @@ -13,6 +13,11 @@ All notable changes to this project will be documented in this file.
`@opencensus/web-instrumentation-zone-peer-dep` also exports all the functionality but `Zone.js`
is a peer dependency.

- Implementation of *User interaction tracing* monkey-patching the `Zone.js` library. This includes
some features like: automatic tracing for click events and route transitions, custom spans,
automatic spans for HTTP requests and Browser performance data, relate user interaction traces
back the the initial page load trace and sampling.

## 0.0.3 - 2019-06-08

- Support custom end time for span (#95), thanks @skjindal93
Expand Down
2 changes: 1 addition & 1 deletion examples/user_interaction/client/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"metrics"
],
"dependencies": {
"@opencensus/web-instrumentation-zone": "^0.0.3",
"@opencensus/web-instrumentation-zone": "^0.0.4",
"react": "^16.8.6",
"react-dom": "^16.8.6",
"react-router-dom": "^5.0.1",
Expand Down
2 changes: 1 addition & 1 deletion examples/user_interaction/client/src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ const routing = (

ReactDOM.render(routing, document.getElementById('root'));

window.ocAgent = 'http://104.196.170.62';
window.ocAgent = 'http://localhost:55678';
// For the purpose of this example, send trace header to all hosts.
window.ocTraceHeaderHostRegex = /.*/;
window.ocSampleRate = 1.0; // Sample at 100% for test only. Default is 1/10000.
Expand Down
2 changes: 1 addition & 1 deletion lerna.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,5 @@
"packages": [
"packages/*"
],
"version": "0.0.3"
"version": "0.0.4"
}
4 changes: 2 additions & 2 deletions packages/opencensus-web-core/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@opencensus/web-core",
"version": "0.0.3",
"version": "0.0.4",
"description": "OpenCensus Web is a toolkit for collecting application performance and behavior data from client side web browser apps.",
"main": "build/src/index.js",
"types": "build/src/index.d.ts",
Expand Down Expand Up @@ -63,7 +63,7 @@
"zone.js": "^0.10.1"
},
"dependencies": {
"@opencensus/web-types": "^0.0.3",
"@opencensus/web-types": "^0.0.4",
"@types/node": "^12.6.9"
},
"sideEffects": false
Expand Down
4 changes: 2 additions & 2 deletions packages/opencensus-web-exporter-ocagent/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@opencensus/web-exporter-ocagent",
"version": "0.0.3",
"version": "0.0.4",
"description": "OpenCensus Agent Exporter web allows user to send collected traces to the OpenCensus Agent via HTTP/JSON in a browser.",
"main": "build/src/index.js",
"types": "build/src/index.d.ts",
Expand Down Expand Up @@ -62,7 +62,7 @@
"webpack-cli": "^3.1.0"
},
"dependencies": {
"@opencensus/web-core": "^0.0.3"
"@opencensus/web-core": "^0.0.4"
},
"sideEffects": false
}
12 changes: 6 additions & 6 deletions packages/opencensus-web-initial-load/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@opencensus/web-initial-load",
"version": "0.0.3",
"version": "0.0.4",
"description": "OpenCensus Web trace instrumentation for the initial page load",
"main": "build/src/index.js",
"types": "build/src/index.d.ts",
Expand Down Expand Up @@ -61,11 +61,11 @@
"webpack-cli": "^3.1.0"
},
"dependencies": {
"@opencensus/web-core": "^0.0.3",
"@opencensus/web-types": "^0.0.3",
"@opencensus/web-instrumentation-perf": "^0.0.3",
"@opencensus/web-propagation-tracecontext": "^0.0.3",
"@opencensus/web-exporter-ocagent": "^0.0.3"
"@opencensus/web-core": "^0.0.4",
"@opencensus/web-exporter-ocagent": "^0.0.4",
"@opencensus/web-instrumentation-perf": "^0.0.4",
"@opencensus/web-propagation-tracecontext": "^0.0.4",
"@opencensus/web-types": "^0.0.4"
},
"sideEffects": false
}
4 changes: 2 additions & 2 deletions packages/opencensus-web-instrumentation-perf/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@opencensus/web-instrumentation-perf",
"version": "0.0.3",
"version": "0.0.4",
"description": "OpenCensus Web instrumentation to generate spans for browser performance API data.",
"main": "build/src/index.js",
"types": "build/src/index.d.ts",
Expand Down Expand Up @@ -63,7 +63,7 @@
"webpack-cli": "^3.1.0"
},
"dependencies": {
"@opencensus/web-core": "^0.0.3"
"@opencensus/web-core": "^0.0.4"
},
"sideEffects": false
}
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@opencensus/web-instrumentation-zone-peer-dep",
"version": "0.0.3",
"version": "0.0.4",
"description": "OpenCensus Web instrumentation zone is used to generate user interaction spans for interactions after the initial page loads. Add Zone.js as peer dependency.",
"main": "build/src/index.js",
"types": "build/src/index.d.ts",
Expand Down Expand Up @@ -64,11 +64,11 @@
"zone.js": "^0.10.1"
},
"dependencies": {
"@opencensus/web-core": "^0.0.3",
"@opencensus/web-exporter-ocagent": "^0.0.3",
"@opencensus/web-instrumentation-perf": "0.0.3",
"@opencensus/web-propagation-tracecontext": "0.0.3",
"@opencensus/web-initial-load": "0.0.3"
"@opencensus/web-core": "^0.0.4",
"@opencensus/web-exporter-ocagent": "^0.0.4",
"@opencensus/web-initial-load": "^0.0.4",
"@opencensus/web-instrumentation-perf": "^0.0.4",
"@opencensus/web-propagation-tracecontext": "^0.0.4"
},
"peerDependencies": {
"zone.js": "^0.10.1"
Expand Down
4 changes: 2 additions & 2 deletions packages/opencensus-web-instrumentation-zone/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@opencensus/web-instrumentation-zone",
"version": "0.0.3",
"version": "0.0.4",
"description": "OpenCensus Web instrumentation zone is used to generate user interaction spans for interactions after the initial page loads.",
"main": "build/src/index.js",
"types": "build/src/index.d.ts",
Expand Down Expand Up @@ -61,7 +61,7 @@
"webpack-dev-server": "^3.4.1"
},
"dependencies": {
"@opencensus/web-instrumentation-zone-peer-dep": "^0.0.3",
"@opencensus/web-instrumentation-zone-peer-dep": "^0.0.4",
"zone.js": "^0.10.1"
},
"sideEffects": true
Expand Down
4 changes: 2 additions & 2 deletions packages/opencensus-web-propagation-tracecontext/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@opencensus/web-propagation-tracecontext",
"version": "0.0.3",
"version": "0.0.4",
"description": "OpenCensus Trace Context format propagation for the web browser",
"main": "build/src/index.js",
"types": "build/src/index.d.ts",
Expand Down Expand Up @@ -61,7 +61,7 @@
"webpack-cli": "^3.1.0"
},
"dependencies": {
"@opencensus/web-core": "^0.0.3"
"@opencensus/web-core": "^0.0.4"
},
"sideEffects": false
}
14 changes: 7 additions & 7 deletions packages/opencensus-web-scripts/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@opencensus/web-scripts",
"version": "0.0.3",
"version": "0.0.4",
"description": "OpenCensus Web scripts brings all the main OpenCensus Web packages to provide distributions for easy use in web applications via <script> tags.",
"main": "build/src/index.js",
"types": "build/src/index.d.ts",
Expand Down Expand Up @@ -68,12 +68,12 @@
"webpack-dev-server": "^3.2.1"
},
"dependencies": {
"@opencensus/web-core": "^0.0.3",
"@opencensus/web-exporter-ocagent": "^0.0.3",
"@opencensus/web-initial-load": "^0.0.3",
"@opencensus/web-instrumentation-perf": "^0.0.3",
"@opencensus/web-instrumentation-zone": "^0.0.3",
"@opencensus/web-instrumentation-zone-peer-dep": "^0.0.3"
"@opencensus/web-core": "^0.0.4",
"@opencensus/web-exporter-ocagent": "^0.0.4",
"@opencensus/web-initial-load": "^0.0.4",
"@opencensus/web-instrumentation-perf": "^0.0.4",
"@opencensus/web-instrumentation-zone": "^0.0.4",
"@opencensus/web-instrumentation-zone-peer-dep": "^0.0.4"
},
"sideEffects": [
"./src/entrypoints/*.ts"
Expand Down
2 changes: 1 addition & 1 deletion packages/opencensus-web-types/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@opencensus/web-types",
"version": "0.0.3",
"version": "0.0.4",
"description": "OpenCensus Web types is a slightly-patched copy of the `types.ts` files from `@opencensus/core` so that they can be easily imported in web-specific packages.",
"main": "build/src/index.js",
"types": "build/src/index.d.ts",
Expand Down

0 comments on commit dd53697

Please sign in to comment.