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

Latest commit

 

History

History
143 lines (111 loc) · 5.3 KB

CHANGELOG.md

File metadata and controls

143 lines (111 loc) · 5.3 KB

Change Log

All notable changes to this project will be documented in this file. This project adheres to Semantic Versioning.

1.11.2 - 2023-02-01

Changed

  • Update dependencies in #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

1.11.1 - 2022-08-30

Changed

  • Update dependencies (#40).

1.11.0 - 2021-12-15

Changed

  • Update dependencies (#39).

Removed

  • The wrapped http.ResponseWriter no longer implements http.CloseNotifier (#39).

1.10.0 - 2020-01-24

Added

  • Getter for requestIDHeader (#35).

Changed

  • Sleep for some seconds after signal handler receives a signal (#37).

1.9.0 - 2019-09-24

Added

  • HTTPServer: add support for HTTP/2 request handling (#27, #32).

Changed

  • HTTPServer: fix remote IP access logging (#31).

1.8.1 - 2018-10-21

Changed

  • Remove dependency on github.com/spf13/cobra.

1.8.0 - 2018-10-21

Added

1.7.0 - 2018-10-20

Changed

  • Use http.Server.Shutdown for Go 1.8+ (#23).
  • Rename the project from cmd to well.
  • Remove dependency on github.com/pkg/errors.

1.6.0 - 2018-09-14

Added

1.5.0 - 2017-04-28

Added

  • IsSystemdService to detect if running as a systemd service.

Changed

  • Ignore SIGPIPE for systemd, reverts #15 (#17).

1.4.2 - 2017-04-26

Changed

  • Exit abnormally upon SIGPIPE (#15).

1.4.1 - 2017-03-01

Changed

  • Fix NewEnvironment documentation.
  • Ignore SIGPIPE for systemd (#13).

1.4.0 - 2016-09-10

Added

  • BackgroundWithID creates a new context inheriting the request ID.
  • Graceful for Windows to make porting easy, though it does not restart.

Changed

  • Fix Windows support by @mattn.
  • Fix a subtle data race in Graceful.

1.3.0 - 2016-09-02

Added

  • GoWithID starts a goroutine with a new request tracking ID.

Changed

  • Go no longer issues new ID automatically. Use GoWithID instead.

1.2.0 - 2016-08-31

Added

  • Graceful for network servers to implement graceful restart.
  • SystemdListeners returns []net.Listener for systemd socket activation.

Changed

  • Optimize IDGenerator performance.
  • Server.Handler closes connection.
  • Lower Environment.Wait log to debug level.

1.1.0 - 2016-08-24

Added

  • IDGenerator generates UUID-like ID string for request tracking.
  • Go issues new request tracking ID and store it in the derived context.
  • HTTPClient, a wrapper for http.Client that exports request tracking ID and logs results.
  • LogCmd, a wrapper for exec.Cmd that records command execution results together with request tracking ID.

Changed

  • HTTPServer adds or imports request tracking ID for every request.
  • Server adds request tracking ID for each new connection.
  • Install signal handler only for the global environment.

Removed

  • Context method of Environment is removed. It was a design flaw.

1.0.1 - 2016-08-22

Changed