Skip to content

Commit 6ffa46c

Browse files
authored
Release 0.9.0 (#81)
1 parent be7aa75 commit 6ffa46c

File tree

4 files changed

+29
-6
lines changed

4 files changed

+29
-6
lines changed
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
# Release <Version Number>
2+
3+
- [ ] The `CHANGELOG` is updated with a new section and the correct links
4+
- [ ] The `Version` value in `internal/build` package is updated
5+
6+
Once this PR is merged, the commit must have a matching tag in the repository,
7+
and a corresponding release must be created in Github. If no other PR is merged
8+
after this one, it is possible to do both steps in one go by creating the release
9+
from Github UI. Otherwise, put the tag on the correct commit first, and do
10+
the release "from an existing tag".

CHANGELOG.md

Lines changed: 18 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,21 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
66
and this project adheres to [Go module
77
versioning](https://go.dev/doc/modules/version-numbers).
88

9-
## [Unreleased](https://github.com/autometrics-dev/autometrics-go/compare/v0.8.2...main)
9+
## [Unreleased](https://github.com/autometrics-dev/autometrics-go/compare/v0.9.0...main)
10+
11+
### Added
12+
13+
### Changed
14+
15+
### Deprecated
16+
17+
### Removed
18+
19+
### Fixed
20+
21+
### Security
22+
23+
## [0.9.0](https://github.com/autometrics-dev/autometrics-go/releases/tag/v0.9.0) 2023-11-17
1024

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

2239
### Changed
2340

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

42-
### Deprecated
43-
44-
### Removed
45-
4659
### Fixed
4760

4861
- [Generator] Fix a few generator crashes when instrumented functions have specific argument types.

internal/build/build.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
package build // import "github.com/autometrics-dev/autometrics-go/internal/build"
22

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

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

0 commit comments

Comments
 (0)