Skip to content

Latest commit

Β 

History

History
156 lines (123 loc) Β· 8.03 KB

CHANGELOG.md

File metadata and controls

156 lines (123 loc) Β· 8.03 KB

Changelog

v0.12.1 - 2024-07-20

Fix bug πŸ›

  • Close cached response / request body by @k1LoW in #84

v0.12.0 - 2024-07-12

New Features πŸŽ‰

  • Avoid getting request body as much as possible in the handler. by @k1LoW in #81

Other Changes

  • Use http.Read* in testutil by @k1LoW in #83

v0.11.0 - 2024-06-14

Breaking Changes πŸ› 

  • Use recorder instead of httptest.ResponseRecorder. by @k1LoW in #78

v0.10.0 - 2024-06-13

Breaking Changes πŸ› 

  • If rc.ErrShouldNotUseCache, skip all caching processes. by @k1LoW in #76

v0.9.9 - 2024-06-13

Other Changes

  • rc does not support websocket. by @k1LoW in #74

v0.9.8 - 2024-03-01

Fix bug πŸ›

  • Remember that the request may be nil by @k1LoW in #72

v0.9.7 - 2024-02-26

Other Changes

  • It is desirable that there should be no content body in the response, but the proxy server cannot handle it, so it is used as a debug log. by @k1LoW in #70

v0.9.6 - 2024-02-22

Other Changes

  • syscall.ECONNRESET and syscall.EPIPE are not errors by @k1LoW in #68

v0.9.5 - 2024-02-02

Other Changes

  • Fix handling for errors "failed to write response body" by @k1LoW in #66

v0.9.4 - 2024-01-30

New Features πŸŽ‰

  • Support for setting header names to mask by @k1LoW in #64

v0.9.3 - 2024-01-30

Other Changes

  • Add headers to log output by @k1LoW in #61
  • Cache expiration is normal behavior by @k1LoW in #63

v0.9.2 - 2024-01-30

Other Changes

  • Add isFinalStatusCode() by @k1LoW in #58
  • Because many upstreams may return a body with 1xx/204/304 status codes. by @k1LoW in #60

v0.9.1 - 2024-01-12

Breaking Changes πŸ› 

  • No request body is used for cache handling by default. by @k1LoW in #56

v0.9.0 - 2024-01-12

Breaking Changes πŸ› 

  • If cache is not used, no Age header is given by @k1LoW in #54

Fix bug πŸ›

  • Keep and use requests unaffected by the next middleware. by @k1LoW in #53

v0.8.2 - 2024-01-11

Fix bug πŸ›

  • Fix badkey log by @k1LoW in #52

Other Changes

  • Log more info by @k1LoW in #50

v0.8.1 - 2024-01-11

Fix bug πŸ›

  • Fix Set-Cookie handling by @k1LoW in #48

v0.8.0 - 2024-01-04

Breaking Changes πŸ› 

  • Use req.Host only ( does not use req.URL.Host ) by @k1LoW in #46

v0.7.3 - 2024-01-04

Fix bug πŸ›

  • Use the Date header field value first. by @k1LoW in #44

v0.7.2 - 2023-12-22

Other Changes

  • Revert "Add CacherHandler" by @k1LoW in #42

v0.7.1 - 2023-12-21

Other Changes

  • Add CacherHandler by @k1LoW in #40

v0.7.0 - 2023-12-20

Breaking Changes πŸ› 

  • Fix Cacher.Store signature by @k1LoW in #36
  • Support extended rules like proxy_cache_valid of NGINX by @k1LoW in #38
  • Does not store responses with Set-Cookie headers by default, similar to NGINX by @k1LoW in #39

v0.6.1 - 2023-12-18

Other Changes

  • Add license for RFC 9111 by @k1LoW in #34

v0.6.0 - 2023-12-18

New Features πŸŽ‰

  • Support logger (log/slog.Logger) by @k1LoW in #33

v0.5.2 - 2023-12-15

v0.5.1 - 2023-12-15

Fix bug πŸ›

  • For SNI compatibility, also compare req.Host by @k1LoW in #29

v0.5.0 - 2023-12-15

Breaking Changes πŸ› 

  • Support Age header by @k1LoW in #28

New Features πŸŽ‰

  • Add options by @k1LoW in #24

Fix bug πŸ›

  • Fix no-cache decision logic by @k1LoW in #22

Other Changes

  • Fix URL of comment by @k1LoW in #25
  • Although RFC 9111 does not explicitly define this, in general cacheable methods are GET and HEAD, so the default should be GET and HEAD. by @k1LoW in #26
  • Although not explicitly specified in RFC 9111, allow GET, HEAD, OPTIONS, and TRACE methods, which are specified as safe methods in RFC 9110. by @k1LoW in #27

v0.4.1 - 2023-12-14

Other Changes

  • Rename ErrDoNotUseCache to ErrShouldNotUseCache by @k1LoW in #19
  • Rename do to originRequester by @k1LoW in #20

v0.4.0 - 2023-12-14

Breaking Changes πŸ› 

  • Change the interface to be ready for RFC 9111 by @k1LoW in #18

Other Changes

  • Fix benchmark condition by @k1LoW in #13
  • Use rcutil v0.5.0 by @k1LoW in #14
  • Add gostyle-action by @k1LoW in #15
  • Run 2 benchmarks on same runner by @k1LoW in #16

v0.3.1 - 2023-09-05

Breaking Changes πŸ› 

  • Change error by @k1LoW in #10

v0.3.0 - 2023-09-05

Breaking Changes πŸ› 

  • Separate rcutil package by @k1LoW in #8

v0.2.0 - 2023-09-05

Breaking Changes πŸ› 

  • Create rcutil package by @k1LoW in #7

v0.1.1 - 2023-09-04

Other Changes

  • Add Usage by @k1LoW in #5

v0.1.0 - 2023-09-04

Other Changes

  • Change to use local file caching in testutil.*Cacher for benchmarking by @k1LoW in #2
  • Add benchmark by @k1LoW in #3