Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Release 0.9.0 #81

Merged
merged 1 commit into from
Nov 17, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions .github/PULL_REQUEST_TEMPLATE/release.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
# Release <Version Number>

- [ ] The `CHANGELOG` is updated with a new section and the correct links
- [ ] The `Version` value in `internal/build` package is updated

Once this PR is merged, the commit must have a matching tag in the repository,
and a corresponding release must be created in Github. If no other PR is merged
after this one, it is possible to do both steps in one go by creating the release
from Github UI. Otherwise, put the tag on the correct commit first, and do
the release "from an existing tag".
23 changes: 18 additions & 5 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,21 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Go module
versioning](https://go.dev/doc/modules/version-numbers).

## [Unreleased](https://github.com/autometrics-dev/autometrics-go/compare/v0.8.2...main)
## [Unreleased](https://github.com/autometrics-dev/autometrics-go/compare/v0.9.0...main)

### Added

### Changed

### Deprecated

### Removed

### Fixed

### Security

## [0.9.0](https://github.com/autometrics-dev/autometrics-go/releases/tag/v0.9.0) 2023-11-17

The main goal of this release is to reach compatibility with 1.0.0 version of Autometrics
specification.
Expand All @@ -18,6 +32,9 @@ specification.
set in the `BuildInformation` structure when calling `autometrics.Init`, or by setting
environment variables `AUTOMETRICS_REPOSITORY_URL` and `AUTOMETRICS_REPOSITORY_PROVIDER`,
respectively.
- [All] `autometrics` now adds the version of the specification it follows in the `build_info`
metric. `autometrics.version` label will point the version of autometrics specification the
associated metrics will follow.

### Changed

Expand All @@ -39,10 +56,6 @@ specification.
and how users want autometrics to log events. Passing `nil` for the argument value will use a "No Op"
logger that does not do anything.

### Deprecated

### Removed

### Fixed

- [Generator] Fix a few generator crashes when instrumented functions have specific argument types.
Expand Down
2 changes: 1 addition & 1 deletion internal/build/build.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package build // import "github.com/autometrics-dev/autometrics-go/internal/build"

// Version is the version string of the build, when made available through ldflags.
var Version = "development"
var Version = "0.9.0"

// User is the user who triggered this build, when made available through ldflags.
var User = "n/a"
Expand Down
Loading