diff --git a/CHANGELOG.md b/CHANGELOG.md index a46556d..0b71b16 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,12 @@ +## [1.0.18](https://github.com/uptrace/bunrouter/compare/v1.0.17...v1.0.18) (2022-08-09) + + +### Bug Fixes + +* panic when trying to register same routes with different param names ([ace1f17](https://github.com/uptrace/bunrouter/commit/ace1f177c3bae9819612209e6fbb9c0496c8f58a)) + + + ## [1.0.17](https://github.com/uptrace/bunrouter/compare/v1.0.16...v1.0.17) (2022-05-25) diff --git a/example/all-in-one/go.mod b/example/all-in-one/go.mod index ea91d6f..88aadc0 100644 --- a/example/all-in-one/go.mod +++ b/example/all-in-one/go.mod @@ -9,8 +9,8 @@ replace github.com/uptrace/bunrouter/extra/reqlog => ../../extra/reqlog require ( github.com/klauspost/compress v1.15.9 github.com/rs/cors v1.8.2 - github.com/uptrace/bunrouter v1.0.17 - github.com/uptrace/bunrouter/extra/reqlog v1.0.17 + github.com/uptrace/bunrouter v1.0.18 + github.com/uptrace/bunrouter/extra/reqlog v1.0.18 ) require ( diff --git a/example/basic-compat/go.mod b/example/basic-compat/go.mod index d9311f2..f359a58 100644 --- a/example/basic-compat/go.mod +++ b/example/basic-compat/go.mod @@ -7,8 +7,8 @@ replace github.com/uptrace/bunrouter => ../.. replace github.com/uptrace/bunrouter/extra/reqlog => ../../extra/reqlog require ( - github.com/uptrace/bunrouter v1.0.17 - github.com/uptrace/bunrouter/extra/reqlog v1.0.17 + github.com/uptrace/bunrouter v1.0.18 + github.com/uptrace/bunrouter/extra/reqlog v1.0.18 ) require ( diff --git a/example/basic-verbose/go.mod b/example/basic-verbose/go.mod index cbabcb8..c567525 100644 --- a/example/basic-verbose/go.mod +++ b/example/basic-verbose/go.mod @@ -7,8 +7,8 @@ replace github.com/uptrace/bunrouter => ../.. replace github.com/uptrace/bunrouter/extra/reqlog => ../../extra/reqlog require ( - github.com/uptrace/bunrouter v1.0.17 - github.com/uptrace/bunrouter/extra/reqlog v1.0.17 + github.com/uptrace/bunrouter v1.0.18 + github.com/uptrace/bunrouter/extra/reqlog v1.0.18 ) require ( diff --git a/example/basic/go.mod b/example/basic/go.mod index 55ebf39..7add2fa 100644 --- a/example/basic/go.mod +++ b/example/basic/go.mod @@ -7,8 +7,8 @@ replace github.com/uptrace/bunrouter => ../.. replace github.com/uptrace/bunrouter/extra/reqlog => ../../extra/reqlog require ( - github.com/uptrace/bunrouter v1.0.17 - github.com/uptrace/bunrouter/extra/reqlog v1.0.17 + github.com/uptrace/bunrouter v1.0.18 + github.com/uptrace/bunrouter/extra/reqlog v1.0.18 ) require ( diff --git a/example/basicauth/go.mod b/example/basicauth/go.mod index 7e8ad8b..3f4a9f2 100644 --- a/example/basicauth/go.mod +++ b/example/basicauth/go.mod @@ -9,9 +9,9 @@ replace github.com/uptrace/bunrouter/extra/reqlog => ../../extra/reqlog replace github.com/uptrace/bunrouter/extra/basicauth => ../../extra/basicauth require ( - github.com/uptrace/bunrouter v1.0.17 - github.com/uptrace/bunrouter/extra/basicauth v1.0.17 - github.com/uptrace/bunrouter/extra/reqlog v1.0.17 + github.com/uptrace/bunrouter v1.0.18 + github.com/uptrace/bunrouter/extra/basicauth v1.0.18 + github.com/uptrace/bunrouter/extra/reqlog v1.0.18 ) require ( diff --git a/example/cors/go.mod b/example/cors/go.mod index 68551ac..02c4a89 100644 --- a/example/cors/go.mod +++ b/example/cors/go.mod @@ -8,8 +8,8 @@ replace github.com/uptrace/bunrouter/extra/reqlog => ../../extra/reqlog require ( github.com/rs/cors v1.8.2 - github.com/uptrace/bunrouter v1.0.17 - github.com/uptrace/bunrouter/extra/reqlog v1.0.17 + github.com/uptrace/bunrouter v1.0.18 + github.com/uptrace/bunrouter/extra/reqlog v1.0.18 ) require ( diff --git a/example/error-handling/go.mod b/example/error-handling/go.mod index 84e89c5..2dba546 100644 --- a/example/error-handling/go.mod +++ b/example/error-handling/go.mod @@ -7,8 +7,8 @@ replace github.com/uptrace/bunrouter => ../.. replace github.com/uptrace/bunrouter/extra/reqlog => ../../extra/reqlog require ( - github.com/uptrace/bunrouter v1.0.17 - github.com/uptrace/bunrouter/extra/reqlog v1.0.17 + github.com/uptrace/bunrouter v1.0.18 + github.com/uptrace/bunrouter/extra/reqlog v1.0.18 ) require ( diff --git a/example/file-server/go.mod b/example/file-server/go.mod index 76ba9ee..dc75400 100644 --- a/example/file-server/go.mod +++ b/example/file-server/go.mod @@ -7,8 +7,8 @@ replace github.com/uptrace/bunrouter => ../.. replace github.com/uptrace/bunrouter/extra/reqlog => ../../extra/reqlog require ( - github.com/uptrace/bunrouter v1.0.17 - github.com/uptrace/bunrouter/extra/reqlog v1.0.17 + github.com/uptrace/bunrouter v1.0.18 + github.com/uptrace/bunrouter/extra/reqlog v1.0.18 ) require ( diff --git a/example/opentelemetry/go.mod b/example/opentelemetry/go.mod index 3a2f9d5..708d27c 100644 --- a/example/opentelemetry/go.mod +++ b/example/opentelemetry/go.mod @@ -10,9 +10,9 @@ replace github.com/uptrace/bunrouter/extra/bunrouterotel => ../../extra/bunroute require ( github.com/klauspost/compress v1.15.9 - github.com/uptrace/bunrouter v1.0.17 - github.com/uptrace/bunrouter/extra/bunrouterotel v1.0.17 - github.com/uptrace/bunrouter/extra/reqlog v1.0.17 + github.com/uptrace/bunrouter v1.0.18 + github.com/uptrace/bunrouter/extra/bunrouterotel v1.0.18 + github.com/uptrace/bunrouter/extra/reqlog v1.0.18 github.com/uptrace/opentelemetry-go-extra/otelplay v0.1.15 go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.34.0 go.opentelemetry.io/otel/trace v1.9.0 diff --git a/example/panic-recover/go.mod b/example/panic-recover/go.mod index 037145c..ab65049 100644 --- a/example/panic-recover/go.mod +++ b/example/panic-recover/go.mod @@ -7,8 +7,8 @@ replace github.com/uptrace/bunrouter => ../.. replace github.com/uptrace/bunrouter/extra/reqlog => ../../extra/reqlog require ( - github.com/uptrace/bunrouter v1.0.17 - github.com/uptrace/bunrouter/extra/reqlog v1.0.17 + github.com/uptrace/bunrouter v1.0.18 + github.com/uptrace/bunrouter/extra/reqlog v1.0.18 ) require ( diff --git a/example/rate-limiting/go.mod b/example/rate-limiting/go.mod index 335c0c1..50ee7a7 100644 --- a/example/rate-limiting/go.mod +++ b/example/rate-limiting/go.mod @@ -9,8 +9,8 @@ replace github.com/uptrace/bunrouter/extra/reqlog => ../../extra/reqlog require ( github.com/go-redis/redis/v8 v8.11.5 github.com/go-redis/redis_rate/v9 v9.1.2 - github.com/uptrace/bunrouter v1.0.17 - github.com/uptrace/bunrouter/extra/reqlog v1.0.17 + github.com/uptrace/bunrouter v1.0.18 + github.com/uptrace/bunrouter/extra/reqlog v1.0.18 ) require ( diff --git a/extra/basicauth/go.mod b/extra/basicauth/go.mod index d3a43ed..0addae2 100644 --- a/extra/basicauth/go.mod +++ b/extra/basicauth/go.mod @@ -4,4 +4,4 @@ go 1.17 replace github.com/uptrace/bunrouter => ../.. -require github.com/uptrace/bunrouter v1.0.17 +require github.com/uptrace/bunrouter v1.0.18 diff --git a/extra/bunrouterotel/go.mod b/extra/bunrouterotel/go.mod index f072dc8..7b367ef 100644 --- a/extra/bunrouterotel/go.mod +++ b/extra/bunrouterotel/go.mod @@ -5,7 +5,7 @@ go 1.17 replace github.com/uptrace/bunrouter => ../.. require ( - github.com/uptrace/bunrouter v1.0.17 + github.com/uptrace/bunrouter v1.0.18 go.opentelemetry.io/otel v1.9.0 go.opentelemetry.io/otel/trace v1.9.0 ) diff --git a/extra/reqlog/go.mod b/extra/reqlog/go.mod index 8985893..f6c7a55 100644 --- a/extra/reqlog/go.mod +++ b/extra/reqlog/go.mod @@ -7,7 +7,7 @@ replace github.com/uptrace/bunrouter => ../.. require ( github.com/fatih/color v1.13.0 github.com/felixge/httpsnoop v1.0.3 - github.com/uptrace/bunrouter v1.0.17 + github.com/uptrace/bunrouter v1.0.18 go.opentelemetry.io/otel/trace v1.9.0 ) diff --git a/package.json b/package.json index 1595b10..31b8fbb 100644 --- a/package.json +++ b/package.json @@ -1,4 +1,4 @@ { "name": "bunrouter", - "version": "1.0.17" + "version": "1.0.18" } diff --git a/version.go b/version.go index 6a4a40f..b6c632b 100644 --- a/version.go +++ b/version.go @@ -2,5 +2,5 @@ package bunrouter // Version is the current release version. func Version() string { - return "1.0.17" + return "1.0.18" }