From 9fd30f29403716a0091e604a065b567c27fa6f80 Mon Sep 17 00:00:00 2001 From: Sam Xie Date: Sun, 16 Apr 2023 14:44:06 -0700 Subject: [PATCH] Release v0.21.0 (#160) * Prepare for releasing v0.21.0 * Update CHANGELOG * Add more notices in CHANGELOG * Add more info --- CHANGELOG.md | 14 ++++++++++++-- version.go | 2 +- 2 files changed, 13 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index c7794b2..44bb89e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -8,9 +8,18 @@ This project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.htm ## [Unreleased] +## [0.21.0] - 2023-04-16 + +### ⚠️ Notice ⚠️ + +This update contains a breaking change of correcting the behavior of returning `driver.ErrSkip` when not permitted by `sql/driver`. + +- If your driver uses the old `sql/driver` interfaces, which does not use the `Context` as a parameter, this update may let your driver work with this library. +- If your driver uses the new `sql/driver` interfaces, which use the `Context` as a parameter, this update should not affect your code. + ### Changed -- Avoid returning `ErrSkip` when not permitted by sql/driver (#153) +- Avoid returning `driver.ErrSkip` when not permitted by `sql/driver`. (#153) - Upgrade all `semconv` packages to use `v1.18.0`. (#156) ## [0.20.0] - 2023-03-02 @@ -235,7 +244,8 @@ It contains instrumentation for trace and depends on OTel `v0.18.0`. - Example code for a basic usage. - Apache-2.0 license. -[Unreleased]: https://github.com/XSAM/otelsql/compare/v0.20.0...HEAD +[Unreleased]: https://github.com/XSAM/otelsql/compare/v0.21.0...HEAD +[0.21.0]: https://github.com/XSAM/otelsql/releases/tag/v0.21.0 [0.20.0]: https://github.com/XSAM/otelsql/releases/tag/v0.20.0 [0.19.0]: https://github.com/XSAM/otelsql/releases/tag/v0.19.0 [0.18.0]: https://github.com/XSAM/otelsql/releases/tag/v0.18.0 diff --git a/version.go b/version.go index 504c0ab..ec6aba3 100644 --- a/version.go +++ b/version.go @@ -16,5 +16,5 @@ package otelsql // Version is the current release version of otelsql in use. func Version() string { - return "0.20.0" + return "0.21.0" }