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

Latest commit

 

History

History
92 lines (73 loc) · 3.15 KB

CHANGELOG.md

File metadata and controls

92 lines (73 loc) · 3.15 KB

Change Log

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

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