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

chore: release v1.0.22 (release.sh) #103

Merged
merged 2 commits into from
Sep 22, 2024
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
9 changes: 9 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,12 @@
## [1.0.22](https://github.com/uptrace/bunrouter/compare/v1.0.21...v1.0.22) (2024-09-22)


### Features

* add params.Int ([1709e1d](https://github.com/uptrace/bunrouter/commit/1709e1de85ddd98bc324a99652424c616dfd846c))



## [1.0.21](https://github.com/uptrace/bunrouter/compare/v1.0.20...v1.0.21) (2023-11-20)


Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ test:
done

go_mod_tidy:
go get -u && go mod tidy -compat=1.18
go get -u && go mod tidy
set -e; for dir in $(ALL_GO_MOD_DIRS); do \
echo "go mod tidy in $${dir}"; \
(cd "$${dir}" && \
Expand Down
4 changes: 2 additions & 2 deletions example/all-in-one/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ replace github.com/uptrace/bunrouter/extra/reqlog => ../../extra/reqlog
require (
github.com/klauspost/compress v1.17.9
github.com/rs/cors v1.11.1
github.com/uptrace/bunrouter v1.0.21
github.com/uptrace/bunrouter/extra/reqlog v1.0.21
github.com/uptrace/bunrouter v1.0.22
github.com/uptrace/bunrouter/extra/reqlog v1.0.22
)

require (
Expand Down
4 changes: 2 additions & 2 deletions example/basic-compat/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -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.21
github.com/uptrace/bunrouter/extra/reqlog v1.0.21
github.com/uptrace/bunrouter v1.0.22
github.com/uptrace/bunrouter/extra/reqlog v1.0.22
)

require (
Expand Down
4 changes: 2 additions & 2 deletions example/basic-verbose/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -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.21
github.com/uptrace/bunrouter/extra/reqlog v1.0.21
github.com/uptrace/bunrouter v1.0.22
github.com/uptrace/bunrouter/extra/reqlog v1.0.22
)

require (
Expand Down
4 changes: 2 additions & 2 deletions example/basic/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -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.21
github.com/uptrace/bunrouter/extra/reqlog v1.0.21
github.com/uptrace/bunrouter v1.0.22
github.com/uptrace/bunrouter/extra/reqlog v1.0.22
)

require (
Expand Down
6 changes: 3 additions & 3 deletions example/basicauth/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -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.21
github.com/uptrace/bunrouter/extra/basicauth v1.0.21
github.com/uptrace/bunrouter/extra/reqlog v1.0.21
github.com/uptrace/bunrouter v1.0.22
github.com/uptrace/bunrouter/extra/basicauth v1.0.22
github.com/uptrace/bunrouter/extra/reqlog v1.0.22
)

require (
Expand Down
4 changes: 2 additions & 2 deletions example/cors/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ replace github.com/uptrace/bunrouter/extra/reqlog => ../../extra/reqlog

require (
github.com/rs/cors v1.11.1
github.com/uptrace/bunrouter v1.0.21
github.com/uptrace/bunrouter/extra/reqlog v1.0.21
github.com/uptrace/bunrouter v1.0.22
github.com/uptrace/bunrouter/extra/reqlog v1.0.22
)

require (
Expand Down
4 changes: 2 additions & 2 deletions example/error-handling/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -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.21
github.com/uptrace/bunrouter/extra/reqlog v1.0.21
github.com/uptrace/bunrouter v1.0.22
github.com/uptrace/bunrouter/extra/reqlog v1.0.22
)

require (
Expand Down
4 changes: 2 additions & 2 deletions example/file-server/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -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.21
github.com/uptrace/bunrouter/extra/reqlog v1.0.21
github.com/uptrace/bunrouter v1.0.22
github.com/uptrace/bunrouter/extra/reqlog v1.0.22
)

require (
Expand Down
6 changes: 3 additions & 3 deletions example/opentelemetry/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@ replace github.com/uptrace/bunrouter/extra/bunrouterotel => ../../extra/bunroute

require (
github.com/klauspost/compress v1.17.9
github.com/uptrace/bunrouter v1.0.21
github.com/uptrace/bunrouter/extra/bunrouterotel v1.0.21
github.com/uptrace/bunrouter/extra/reqlog v1.0.21
github.com/uptrace/bunrouter v1.0.22
github.com/uptrace/bunrouter/extra/bunrouterotel v1.0.22
github.com/uptrace/bunrouter/extra/reqlog v1.0.22
github.com/uptrace/opentelemetry-go-extra/otelplay v0.3.2
go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.55.0
go.opentelemetry.io/otel/trace v1.30.0
Expand Down
4 changes: 2 additions & 2 deletions example/panic-recover/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -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.21
github.com/uptrace/bunrouter/extra/reqlog v1.0.21
github.com/uptrace/bunrouter v1.0.22
github.com/uptrace/bunrouter/extra/reqlog v1.0.22
)

require (
Expand Down
4 changes: 2 additions & 2 deletions example/rate-limiting/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -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.21
github.com/uptrace/bunrouter/extra/reqlog v1.0.21
github.com/uptrace/bunrouter v1.0.22
github.com/uptrace/bunrouter/extra/reqlog v1.0.22
)

require (
Expand Down
2 changes: 1 addition & 1 deletion extra/basicauth/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@ go 1.22

replace github.com/uptrace/bunrouter => ../..

require github.com/uptrace/bunrouter v1.0.21
require github.com/uptrace/bunrouter v1.0.22
2 changes: 1 addition & 1 deletion extra/bunrouterotel/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ go 1.22
replace github.com/uptrace/bunrouter => ../..

require (
github.com/uptrace/bunrouter v1.0.21
github.com/uptrace/bunrouter v1.0.22
go.opentelemetry.io/otel v1.30.0
go.opentelemetry.io/otel/trace v1.30.0
)
2 changes: 1 addition & 1 deletion extra/reqlog/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ replace github.com/uptrace/bunrouter => ../..
require (
github.com/fatih/color v1.17.0
github.com/felixge/httpsnoop v1.0.4
github.com/uptrace/bunrouter v1.0.21
github.com/uptrace/bunrouter v1.0.22
go.opentelemetry.io/otel/trace v1.30.0
)

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{
"name": "bunrouter",
"version": "1.0.21"
"version": "1.0.22"
}
6 changes: 3 additions & 3 deletions scripts/release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -47,16 +47,16 @@ PACKAGE_DIRS=$(find . -mindepth 2 -type f -name 'go.mod' -exec dirname {} \; \

for dir in $PACKAGE_DIRS
do
printf "${dir}: go mod tidy -compat=1.18\n"
(cd ./${dir} && go mod tidy -compat=1.18)
printf "${dir}: go mod tidy\n"
(cd ./${dir} && go mod tidy)
done


for dir in $PACKAGE_DIRS
do
sed --in-place \
"s/uptrace\/bunrouter\([^ ]*\) v.*/uptrace\/bunrouter\1 ${TAG}/" "${dir}/go.mod"
(cd ./${dir} && go mod tidy -compat=1.18)
(cd ./${dir} && go mod tidy)
done

sed --in-place "s/\(return \)\"[^\"]*\"/\1\"${TAG#v}\"/" ./version.go
Expand Down
2 changes: 1 addition & 1 deletion version.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@ package bunrouter

// Version is the current release version.
func Version() string {
return "1.0.21"
return "1.0.22"
}
Loading