Skip to content

Commit

Permalink
Release 0.9.0
Browse files Browse the repository at this point in the history
  • Loading branch information
gagbo committed Nov 17, 2023
1 parent be7aa75 commit 652b544
Show file tree
Hide file tree
Showing 4 changed files with 29 additions and 6 deletions.
File renamed without changes.
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

0 comments on commit 652b544

Please sign in to comment.