diff --git a/.github/.OwlBot.lock.yaml b/.github/.OwlBot.lock.yaml index fbf0659c..9e90d54b 100644 --- a/.github/.OwlBot.lock.yaml +++ b/.github/.OwlBot.lock.yaml @@ -1,4 +1,4 @@ -# Copyright 2023 Google LLC +# Copyright 2024 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. @@ -13,5 +13,5 @@ # limitations under the License. docker: image: gcr.io/cloud-devrel-public-resources/owlbot-nodejs:latest - digest: sha256:bfe4592953269bfa8d135200ca1b17809f106a337a885d7ecc12cd2a9998e98a -# created: 2023-11-15T20:00:24.246072277Z + digest: sha256:d920257482ca1cd72978f29f7d28765a9f8c758c21ee0708234db5cf4c5016c2 +# created: 2024-06-12T16:18:41.688792375Z diff --git a/.github/auto-approve.yml b/.github/auto-approve.yml index 4cd91cc1..ec51b072 100644 --- a/.github/auto-approve.yml +++ b/.github/auto-approve.yml @@ -1,3 +1,4 @@ processes: - "NodeDependency" - - "OwlBotTemplateChanges" + - "OwlBotTemplateChangesNode" + - "OwlBotPRsNode" \ No newline at end of file diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index ab92ba08..21d92b4e 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -18,7 +18,7 @@ jobs: matrix: node: [14, 16, 18, 20] steps: - - uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608 # v4 + - uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4 - uses: actions/setup-node@v4 with: node-version: ${{ matrix.node }} @@ -36,7 +36,7 @@ jobs: lint: runs-on: ubuntu-latest steps: - - uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608 # v4 + - uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4 - uses: actions/setup-node@v4 with: node-version: 14 @@ -45,7 +45,7 @@ jobs: docs: runs-on: ubuntu-latest steps: - - uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608 # v4 + - uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4 - uses: actions/setup-node@v4 with: node-version: 14 diff --git a/.github/workflows/ci2.yaml b/.github/workflows/ci2.yaml index 73e03b68..649e6616 100644 --- a/.github/workflows/ci2.yaml +++ b/.github/workflows/ci2.yaml @@ -10,7 +10,7 @@ jobs: system-test: runs-on: ubuntu-latest steps: - - uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608 # v4 + - uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4 - uses: actions/setup-node@v4 with: node-version: 14 diff --git a/.repo-metadata.json b/.repo-metadata.json index befd09d1..b98f2287 100644 --- a/.repo-metadata.json +++ b/.repo-metadata.json @@ -1,7 +1,7 @@ { "name": "profiler", "name_pretty": "Cloud Profiler", - "product_documentation": "https://cloud.google.com/profiler", + "product_documentation": "https://cloud.google.com/profiler/docs", "client_documentation": "https://cloud.google.com/nodejs/docs/reference/profiler/latest", "issue_tracker": "https://issuetracker.google.com/savedsearches/5116474", "release_level": "stable", diff --git a/CHANGELOG.md b/CHANGELOG.md index cbc65698..93ebc2b3 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,15 @@ [1]: https://www.npmjs.com/package/@google-cloud/profiler?activeTab=versions +## [6.0.2](https://github.com/googleapis/cloud-profiler-nodejs/compare/v6.0.1...v6.0.2) (2024-09-11) + + +### Bug Fixes + +* **deps:** Update dependency @google-cloud/logging-min to v11 ([#939](https://github.com/googleapis/cloud-profiler-nodejs/issues/939)) ([97ec3fb](https://github.com/googleapis/cloud-profiler-nodejs/commit/97ec3fbe9d254dc824b6df9eec6630b3acfd04c6)) +* **deps:** Update dependency protobufjs to ~7.3.0 ([#928](https://github.com/googleapis/cloud-profiler-nodejs/issues/928)) ([89eb3be](https://github.com/googleapis/cloud-profiler-nodejs/commit/89eb3be3c19e8f607d5a7764c8849a0f602f47dc)) +* **deps:** Update dependency protobufjs to ~7.4.0 ([#938](https://github.com/googleapis/cloud-profiler-nodejs/issues/938)) ([60b8264](https://github.com/googleapis/cloud-profiler-nodejs/commit/60b826405724d16c5173a1b9c6a852bd34222f4d)) + ## [6.0.1](https://github.com/googleapis/cloud-profiler-nodejs/compare/v6.0.0...v6.0.1) (2024-02-05) diff --git a/README.md b/README.md index 9ab4e5c9..1a60be6e 100644 --- a/README.md +++ b/README.md @@ -400,7 +400,7 @@ Apache Version 2.0 See [LICENSE](https://github.com/googleapis/cloud-profiler-nodejs/blob/main/LICENSE) [client-docs]: https://cloud.google.com/nodejs/docs/reference/profiler/latest -[product-docs]: https://cloud.google.com/profiler +[product-docs]: https://cloud.google.com/profiler/docs [shell_img]: https://gstatic.com/cloudssh/images/open-btn.png [projects]: https://console.cloud.google.com/project [billing]: https://support.google.com/cloud/answer/6293499#enable-billing diff --git a/package.json b/package.json index d4e4d1ed..4ce9e97e 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@google-cloud/profiler", - "version": "6.0.1", + "version": "6.0.2", "description": "Adds support for Cloud Profiler to Node.js applications", "repository": "googleapis/cloud-profiler-nodejs", "main": "build/src/index.js", @@ -28,7 +28,7 @@ "license": "Apache-2.0", "dependencies": { "@google-cloud/common": "^5.0.0", - "@google-cloud/logging-min": "^10.0.0", + "@google-cloud/logging-min": "^11.0.0", "@types/console-log-level": "^1.4.0", "@types/semver": "^7.0.0", "console-log-level": "^1.4.0", @@ -38,17 +38,17 @@ "parse-duration": "^1.0.0", "pprof": "4.0.0", "pretty-ms": "^7.0.0", - "protobufjs": "~7.2.4", + "protobufjs": "~7.4.0", "semver": "^7.0.0", "teeny-request": "^9.0.0" }, "devDependencies": { "@types/extend": "^3.0.0", - "@types/long": "^4.0.0", + "@types/long": "^5.0.0", "@types/mocha": "^9.0.0", - "@types/nock": "^10.0.0", + "@types/nock": "^11.0.0", "@types/node": "^20.4.9", - "@types/pretty-ms": "^4.0.0", + "@types/pretty-ms": "^5.0.0", "@types/sinon": "^17.0.0", "@types/tmp": "0.2.6", "c8": "^9.0.0", @@ -61,9 +61,9 @@ "linkinator": "^5.0.0", "mocha": "^9.2.2", "nock": "^13.0.0", - "sinon": "^17.0.0", + "sinon": "^18.0.0", "source-map": "^0.7.0", - "tmp": "0.2.1", + "tmp": "0.2.3", "typescript": "^5.1.6" }, "files": [ diff --git a/renovate.json b/renovate.json index 26428fcf..c5c702cf 100644 --- a/renovate.json +++ b/renovate.json @@ -4,6 +4,7 @@ "docker:disable", ":disableDependencyDashboard" ], + "constraintsFiltering": "strict", "pinVersions": false, "rebaseStalePrs": true, "schedule": [ diff --git a/samples/README.md b/samples/README.md index 3cd5c756..02a26cf7 100644 --- a/samples/README.md +++ b/samples/README.md @@ -65,4 +65,4 @@ __Usage:__ [shell_img]: https://gstatic.com/cloudssh/images/open-btn.png [shell_link]: https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/cloud-profiler-nodejs&page=editor&open_in_editor=samples/README.md -[product-docs]: https://cloud.google.com/profiler +[product-docs]: https://cloud.google.com/profiler/docs diff --git a/samples/package.json b/samples/package.json index 7df85594..8eca0116 100644 --- a/samples/package.json +++ b/samples/package.json @@ -17,7 +17,7 @@ "author": "Google LLC.", "license": "Apache-2.0", "dependencies": { - "@google-cloud/profiler": "^6.0.1" + "@google-cloud/profiler": "^6.0.2" }, "files": [ "*.js" diff --git a/system-test/integration_test.sh b/system-test/integration_test.sh index 7dba8fec..9596c9f5 100755 --- a/system-test/integration_test.sh +++ b/system-test/integration_test.sh @@ -29,21 +29,19 @@ export GOOGLE_APPLICATION_CREDENTIALS="${SERVICE_KEY}" # Run test. cd "system-test" +# Pull in newer version of Go than provided by Kokoro image go version - -# Ensure a newer version of Go is used so it is compatible with newer libraries. -# The current Go version in the VM is 1.18.4, however we explicitly set it to -# pin the Go dependency to v1.18.4 for consistency. -retry curl -LO https://go.dev/dl/go1.18.4.linux-amd64.tar.gz -sudo rm -rf /usr/local/go && tar -C /usr/local -xzf go1.18.4.linux-amd64.tar.gz +GO_VERSION="1.22.4" +retry curl -LO https://go.dev/dl/go${GO_VERSION}.linux-amd64.tar.gz +sudo rm -rf /usr/local/go && tar -C /usr/local -xzf go${GO_VERSION}.linux-amd64.tar.gz export PATH=$PATH:/usr/local/go/bin +go version # Initializing go modules allows our dependencies to install versions of their # dependencies specified by their go.mod files. This reduces the likelihood of # dependencies breaking this test. -go version go mod init e2e -retry go get cloud.google.com/go/profiler/proftest@HEAD +retry go get cloud.google.com/go/profiler/proftest@main retry go test -c -tags=integration . if [ "$KOKORO_GITHUB_PULL_REQUEST_NUMBER" = "" ]; then