Skip to content
This repository has been archived by the owner on Mar 31, 2023. It is now read-only.

Commit

Permalink
Merge pull request #43 from cybozu-go/update-dependencies
Browse files Browse the repository at this point in the history
Update dependencies
  • Loading branch information
morimoto-cybozu authored Feb 1, 2023
2 parents 17618f4 + 024a02c commit 6416a65
Show file tree
Hide file tree
Showing 14 changed files with 172 additions and 1,004 deletions.
9 changes: 6 additions & 3 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,11 @@ on:
branches:
- 'main'
env:
go-version: 1.18
cache-version: 1
go-version: 1.19
jobs:
test:
name: Small tests
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v3
- uses: actions/setup-go@v3
Expand All @@ -28,10 +27,14 @@ jobs:
./bin/staticcheck .
- name: Restart test
run: |
go vet ./test/restart
./bin/staticcheck ./test/restart
go build ./test/restart
CANCELLATION_DELAY_SECONDS=0 ./restart
- name: Config test
run: |
cd ./test/spf13
go vet .
../../bin/staticcheck .
go build .
./spf13 --config=.spf13.yml --loglevel=critical
2 changes: 1 addition & 1 deletion .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ on:
jobs:
release:
name: Release on GitHub
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v3
- name: Create release
Expand Down
31 changes: 19 additions & 12 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,44 +5,51 @@ This project adheres to [Semantic Versioning](http://semver.org/).

## [Unreleased]

### Changed
- Update dependencies in [#43](https://github.com/cybozu-go/well/pull/43)
- Upgrade direct dependencies in go.mod
- Update Golang used for testing from 1.18 to 1.19
- Update GitHub Actions
- Fix for deprecated "io/ioutil" in [#43](https://github.com/cybozu-go/well/pull/43)

## [1.11.1] - 2022-08-30

### Changed
- Update dependencies (#40).
- Update dependencies ([#40](https://github.com/cybozu-go/well/pull/40)).

## [1.11.0] - 2021-12-15

### Changed
- Update dependencies (#39).
- Update dependencies ([#39](https://github.com/cybozu-go/well/pull/39)).

### Removed
- The wrapped `http.ResponseWriter` no longer implements `http.CloseNotifier` (#39).
- The wrapped `http.ResponseWriter` no longer implements `http.CloseNotifier` ([#39](https://github.com/cybozu-go/well/pull/39)).

## [1.10.0] - 2020-01-24
### Added
- Getter for requestIDHeader (#35).
- Getter for requestIDHeader ([#35](https://github.com/cybozu-go/well/pull/35)).

### Changed
- Sleep for some seconds after signal handler receives a signal (#37).
- Sleep for some seconds after signal handler receives a signal ([#37](https://github.com/cybozu-go/well/pull/37)).

## [1.9.0] - 2019-09-24
### Added
- HTTPServer: add support for HTTP/2 request handling (#27, #32).
- HTTPServer: add support for HTTP/2 request handling ([#27](https://github.com/cybozu-go/well/pull/27), [#32](https://github.com/cybozu-go/well/pull/32)).

### Changed
- HTTPServer: fix remote IP access logging (#31).
- HTTPServer: fix remote IP access logging ([#31](https://github.com/cybozu-go/well/pull/31)).

## [1.8.1] - 2018-10-21
### Changed
- Remove dependency on `github.com/spf13/cobra`.

## [1.8.0] - 2018-10-21
### Added
- Support for users of [github.com/spf13/cobra](https://github.com/spf13/cobra) and its friends (#24).
- Support for users of [github.com/spf13/cobra](https://github.com/spf13/cobra) and its friends ([#24](https://github.com/cybozu-go/well/pull/24)).

## [1.7.0] - 2018-10-20
### Changed
- Use http.Server.Shutdown for Go 1.8+ (#23).
- Use http.Server.Shutdown for Go 1.8+ ([#23](https://github.com/cybozu-go/well/pull/23)).
- Rename the project from `cmd` to `well`.
- Remove dependency on `github.com/pkg/errors`.

Expand All @@ -55,16 +62,16 @@ This project adheres to [Semantic Versioning](http://semver.org/).
- `IsSystemdService` to detect if running as a systemd service.

### Changed
- Ignore SIGPIPE for systemd, reverts #15 (#17).
- Ignore SIGPIPE for systemd, reverts [#15](https://github.com/cybozu-go/well/pull/15) ([#17](https://github.com/cybozu-go/well/pull/17)).

## [1.4.2] - 2017-04-26
### Changed
- Exit abnormally upon SIGPIPE (#15).
- Exit abnormally upon SIGPIPE ([#15](https://github.com/cybozu-go/well/pull/15)).

## [1.4.1] - 2017-03-01
### Changed
- Fix `NewEnvironment` documentation.
- Ignore SIGPIPE for systemd (#13).
- Ignore SIGPIPE for systemd ([#13](https://github.com/cybozu-go/well/pull/13)).

## [1.4.0] - 2016-09-10
### Added
Expand Down
2 changes: 1 addition & 1 deletion doc.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ Signal handlers:
The framework installs SIGINT/SIGTERM signal handlers for
graceful exit, and SIGUSR1 signal handler to reopen log files.
Environment
Environment:
Environment is the heart of the framework. It provides a base
context.Context that will be canceled before program stops, and
Expand Down
31 changes: 25 additions & 6 deletions go.mod
Original file line number Diff line number Diff line change
@@ -1,12 +1,31 @@
module github.com/cybozu-go/well

go 1.19

require (
github.com/BurntSushi/toml v1.2.0
github.com/cybozu-go/log v1.6.1
github.com/cybozu-go/netutil v1.4.3
github.com/BurntSushi/toml v1.2.1
github.com/cybozu-go/log v1.7.0
github.com/cybozu-go/netutil v1.4.4
github.com/spf13/pflag v1.0.5
github.com/spf13/viper v1.12.0
golang.org/x/net v0.0.0-20220826154423-83b083e8dc8b
github.com/spf13/viper v1.15.0
golang.org/x/net v0.5.0
)

go 1.13
require (
github.com/fsnotify/fsnotify v1.6.0 // indirect
github.com/hashicorp/hcl v1.0.0 // indirect
github.com/magiconair/properties v1.8.7 // indirect
github.com/mitchellh/mapstructure v1.5.0 // indirect
github.com/onsi/gomega v1.25.0 // indirect
github.com/pelletier/go-toml/v2 v2.0.6 // indirect
github.com/spf13/afero v1.9.3 // indirect
github.com/spf13/cast v1.5.0 // indirect
github.com/spf13/jwalterweatherman v1.1.0 // indirect
github.com/subosito/gotenv v1.4.2 // indirect
github.com/vishvananda/netlink v1.2.1-beta.2 // indirect
github.com/vishvananda/netns v0.0.3 // indirect
golang.org/x/sys v0.4.0 // indirect
golang.org/x/text v0.6.0 // indirect
gopkg.in/ini.v1 v1.67.0 // indirect
gopkg.in/yaml.v3 v3.0.1 // indirect
)
Loading

0 comments on commit 6416a65

Please sign in to comment.