diff --git a/CHANGELOG.md b/CHANGELOG.md index c898af7..ac2c818 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,9 +4,10 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). -## [0.5.0] - TBD +## [0.5.0] - 2020-06-30 - Upgrade to Telemetry SDK 0.6.1 - Allow URI override to include or omit the full endpoint path component. +- Close TelemetryClient upon NewRelicReporter.close() ## [0.4.0] - 2020-04-01 - Contributed: `NewRelicReporterFactory` by [Steven Schwell](https://github.com/sschwell) diff --git a/README.md b/README.md index 926c171..da5fed8 100644 --- a/README.md +++ b/README.md @@ -9,16 +9,16 @@ please visit [the exporter specs documentation repo](https://github.com/newrelic `build.gradle:` ``` -compile("com.newrelic.telemetry:dropwizard-metrics-newrelic:0.4.0") -compile("com.newrelic.telemetry:telemetry-http-okhttp:0.4.0") +compile("com.newrelic.telemetry:dropwizard-metrics-newrelic:0.5.0") +compile("com.newrelic.telemetry:telemetry-http-okhttp:0.5.0") ``` or if you're using kotlin build gradle... `build.gradle.kts:` ``` -implementation("com.newrelic.telemetry:dropwizard-metrics-newrelic:0.4.0") -implementation("com.newrelic.telemetry:telemetry-http-okhttp:0.4.0") +implementation("com.newrelic.telemetry:dropwizard-metrics-newrelic:0.5.0") +implementation("com.newrelic.telemetry:telemetry-http-okhttp:0.5.0") ``` If you do not want to depend on okhttp, you can remove the dependency on `telemetry-http-okhttp`, @@ -131,7 +131,7 @@ For general querying information, see: #### Publish to Staging Repo -To stage the release simply submit and merge a PR to update the [build.gradle.kts](build.gradle.kts) file with the version to be released (e.g. `version := "0.4.0"`). +To stage the release simply submit and merge a PR to update the [build.gradle.kts](build.gradle.kts) file with the version to be released (e.g. `version := "0.5.0"`). Results of the job can be viewed here: https://dev.azure.com/NRAzurePipelines/Java%20CI/_build After the staging release job has run successfully it will publish the new artifact to a staging repository on Sonatype at: https://oss.sonatype.org/#stagingRepositories. @@ -139,17 +139,17 @@ After the staging release job has run successfully it will publish the new artif #### Manually Release Staging Repo 1. Find the staging repo on Sonatype, which should be named similar to `comnewrelic-nnnn`, and validate that the contents and version look correct. -2. If the contents look correct, select the staging repo and choose `close`, leaving a comment such as `releasing 0.4.0`. -3. When the staging repo is finished closing, select the staging repo and choose `release`, keeping the `Automatically Drop` checkbox checked, and leave a comment such as `releasing 0.4.0`. +2. If the contents look correct, select the staging repo and choose `close`, leaving a comment such as `releasing 0.5.0`. +3. When the staging repo is finished closing, select the staging repo and choose `release`, keeping the `Automatically Drop` checkbox checked, and leave a comment such as `releasing 0.5.0`. 4. Verify that the artifact was published on Maven Central at: https://repo1.maven.org/maven2/com/newrelic/telemetry/dropwizard-metrics-newrelic/ #### Post Release Submit and merge a PR with the following: -* Update the [build.gradle.kts](build.gradle.kts) file with to a snapshot version of a potential future release (e.g. `version := "0.4.1-SNAPSHOT"`). +* Update the [build.gradle.kts](build.gradle.kts) file with to a snapshot version of a potential future release (e.g. `version := "0.5.1-SNAPSHOT"`). * Update the [CHANGELOG](CHANGELOG.md) with details of the new release: ```markdown - ## [0.4.0] + ## [0.5.0] - Miscellaneous bug fixes and tweaks ``` * Update the [Usage](#usage) example in the [README](README.md) with the newly released version (e.g. `implementation("com.newrelic.telemetry:dropwizard-metrics-newrelic:0.4.0")`). diff --git a/gradle.properties b/gradle.properties index b058dc9..9c54c20 100644 --- a/gradle.properties +++ b/gradle.properties @@ -1,4 +1,4 @@ -releaseVersion = 0.5.0-SNAPSHOT +releaseVersion = 0.5.0 # set this to true to enable using a local sonatype (for debugging publishing issues) # (start a local sonatype in docker with this command: $ docker run -d -p 8081:8081 --name nexus sonatype/nexus3)