Skip to content

Releases: oxyno-zeta/s3-proxy

v4.1.2

26 Sep 13:26
9962566
Compare
Choose a tag to compare

4.1.2 (2021-09-26)

Bug Fixes

Continuous Integration

  • Add QEMU support and docker experimental flag (9962566)

Maintenance

  • Remove trimpath option for local build and run (28a31f0)
  • Rework goreleaser config to remove arch and allow docker builds for arm and amd64 (d41f6b4)
  • Upgrade mockgen andrename make receipt (31a4a63)

v4.1.1

22 Sep 09:26
8775783
Compare
Choose a tag to compare

4.1.1 (2021-09-22)

Bug Fixes

  • authentication: Fix cookie expires date to match the date in ID token (20fdd87)
  • deps: update github.com/johannesboyne/gofakes3 commit hash to 5c8dfcf (a746676)
  • deps: update golang.org/x/net commit hash to 8d99171 (667a3c4)
  • deps: update golang.org/x/net commit hash to 978cfad (8fc1f2d)
  • deps: update golang.org/x/net commit hash to a5e0955 (555e75a)
  • deps: update golang.org/x/net commit hash to aaa1db6 (292f6b9)
  • deps: update golang.org/x/oauth2 commit hash to 2bc19b1 (5e0ee39)
  • deps: update module github.com/coreos/go-oidc/v3 to v3.1.0 (29c1f13)
  • deps: update module github.com/fsnotify/fsnotify to v1.5.0 (0c5b6a0)
  • deps: update module github.com/fsnotify/fsnotify to v1.5.1 (6a330d6)
  • deps: update module github.com/go-chi/chi/v5 to v5.0.4 (7bd0b2d)
  • deps: update module github.com/go-playground/validator/v10 to v10.9.0 (8fcbe1f)
  • deps: update module github.com/spf13/viper to v1.9.0 (b127190)
  • deps: update module github.com/thoas/go-funk to v0.9.1 (75aca9a)
  • tracing: Fix wraping error (023eb51)

Maintenance

  • Clean dependencies (0d14f4a)
  • Upgrade golangci-lint (8775783)
  • Upgrade mkdocs-material (b9cfc33)
  • deps: update precommit hook commitizen-tools/commitizen to v2.18.0 (409cea4)

Pull Requests

  • Merge pull request #216 from oxyno-zeta/renovate/github.heygears.com-spf13-viper-1.x (2ef8825), closes #216
  • Merge pull request #213 from oxyno-zeta/renovate/golang.org-x-net-digest (af497f9), closes #213
  • Merge pull request #214 from oxyno-zeta/renovate/github.heygears.com-coreos-go-oidc-v3-3.x (99f4818), closes #214
  • Merge pull request #212 from oxyno-zeta/renovate/github.heygears.com-thoas-go-funk-0.x (1f6feb2), closes #212
  • Merge pull request #211 from oxyno-zeta/renovate/golang.org-x-net-digest (2339e4b), closes #211
  • Merge pull request #209 from oxyno-zeta/renovate/github.heygears.com-go-chi-chi-v5-5.x (7434144), closes #209
  • Merge pull request #208 from oxyno-zeta/renovate/github.heygears.com-fsnotify-fsnotify-1.x (368b04f), closes #208
  • Merge pull request #205 from oxyno-zeta/renovate/golang.org-x-net-digest (bccc569), closes #205
  • Merge pull request #203 from oxyno-zeta/renovate/golang.org-x-oauth2-digest (7360e17), closes #203
  • Merge pull request #206 from oxyno-zeta/renovate/github.heygears.com-johannesboyne-gofakes3-digest (57549c1), closes #206
  • Merge pull request #207 from oxyno-zeta/renovate/github.heygears.com-fsnotify-fsnotify-1.x (7bf4cfc), closes #207
  • Merge pull request #204 from oxyno-zeta/renovate/commitizen-tools-commitizen-2.x (37b5b14), closes #204
  • Merge pull request #202 from oxyno-zeta/renovate/golang.org-x-net-digest (07611d8), closes #202
  • Merge pull request #201 from oxyno-zeta/renovate/github.heygears.com-go-playground-validator-v10-10.x (15b55e1), closes #201

v4.1.0

18 Jul 21:34
f2d7f61
Compare
Choose a tag to compare

4.1.0 (2021-07-18)

Bug Fixes

  • deps: update github.com/johannesboyne/gofakes3 commit hash to 6a9f95c (9995468)
  • deps: update golang.org/x/net commit hash to 853a461 (09c14e7)
  • deps: update module github.com/go-playground/validator/v10 to v10.7.0 (52e6249)
  • deps: update module github.com/thoas/go-funk to v0.9.0 (ff037ef)

Continuous Integration

  • Upgrade mkdocs-material (c1a058f)

Documentation

  • Add limitations title on webhooks page (f0e50db)
  • Fix documentation indent on webhooks (b61c715)

Features

  • authentication: Add support for cookie domains (7adf71c)
  • authentication: Add support for dynamic redirect url (7043810)
  • authorization: Forward tracing to OPA (b41ac1e)

Maintenance

  • Add make recept to build and serve documentation (3d3eb53)
  • Clean dependencies (f2d7f61)
  • Clean dependencies (a25c6c9)
  • Upgrade stale action (8afd2b5)
  • deps: update precommit hook commitizen-tools/commitizen to v2.17.12 (6667d2a)
  • deps: update precommit hook commitizen-tools/commitizen to v2.17.13 (233a8ee)

Pull Requests

  • Merge pull request #198 from oxyno-zeta/renovate/golang.org-x-net-digest (67fcd59), closes #198
  • Merge pull request #197 from oxyno-zeta/renovate/commitizen-tools-commitizen-2.x (2f6404f), closes #197
  • Merge pull request #199 from oxyno-zeta/add-feature (3edb928), closes #199
  • Merge pull request #193 from oxyno-zeta/renovate/commitizen-tools-commitizen-2.x (2971fc5), closes #193
  • Merge pull request #194 from oxyno-zeta/renovate/github.heygears.com-thoas-go-funk-0.x (b5be19c), closes #194
  • Merge pull request #195 from oxyno-zeta/renovate/github.heygears.com-go-playground-validator-v10-10.x (c18aa82), closes #195
  • Merge pull request #192 from oxyno-zeta/renovate/github.heygears.com-johannesboyne-gofakes3-digest (5dbbbc2), closes #192

v4.0.0

03 Jul 13:46
5e4ce98
Compare
Choose a tag to compare

4.0.0 (2021-07-03)

Bug Fixes

  • authentication: Fix email verified check and validation (3316011)
  • authorization: Delete unwanted error logs (b84dba8)
  • bucket: Fix no trailing / generated in the transform S3 entries (0d39b8c)
  • config: Change config to be more uniform (569dcc1)
  • deps: update github.com/johannesboyne/gofakes3 commit hash to 92d5d4a (0bee00e)
  • deps: update golang.org/x/net commit hash to 04defd4 (cee1781)
  • deps: update golang.org/x/oauth2 commit hash to a41e5a7 (bbf29ef)
  • deps: update module github.com/go-chi/chi/v5 to v5.0.3 (15fbfbf)
  • deps: update module github.com/go-chi/cors to v1.2.0 (089f1ba)
  • deps: update module github.com/go-playground/validator/v10 to v10.6.1 (5961572)
  • deps: update module github.com/golang/mock to v1.6.0 (9ddb52f)
  • deps: update module github.com/prometheus/client_golang to v1.11.0 (cee4e06)
  • deps: update module github.com/spf13/viper to v1.8.1 (db878c9)
  • deps: update module github.com/uber/jaeger-client-go to v2.29.1 (bf4a5a0)
  • deps: update module github.com/uber/jaeger-lib to v2.4.1 (60f7159)
  • responsehandler: Avoid setting empty header (c24a4d6)
  • responsehandler: Fix data to be usable with sprig (cd85134)
  • responsehandler: Fix folder list function to use generic template execution function (2f78240)
  • responsehandler: Fix no helpers for internal server error specific case template (13cb88e)
  • responsehandler: Remove old and unused data in folder list (2ff36f4)
  • responsehanlder: Fix use real request and not proxy in template data (186ad45)
  • responsehanlder: Remove uneeded data transformation (dd93506)
  • server: Fix hostrouter to ensure wildcard domains are tested in the injection order (178cb61)
  • Fix potential unescape path coming from server (04b88bb)
  • s3client: Do not create pointer on interface (c2e0045)
  • server: Fix panic catch (3990245)

Code Refactoring

  • config: Change error package (2035315)
  • Change all errors to add stack trace and rework some others (24f28ab)
  • authentication: Refactor authentication to save user as soon as possible (dfafc0d)
  • authx: Rework context functions (98aec3b)
  • log: Change public to private for local method used (a7745e2)
  • responsehandler: Change structure name to keep names in sync (371400c)
  • responsehandler: Refactor code and add set response handler in context (2661b65)
  • responsehandler: Rename header data structure (f806541)
  • templates: Refactor json body error helper name (44505aa)
  • Change bucket package to use context (d7945bc)
  • Change error key names and template file names (4ebaa6f)
  • Changing authx methods to get resource and user from context (3c141c5)
  • Changing tracing methods to get trace from context (e82807d)
  • Extract execute template and template functions to general utils (08f5395)
  • Refactor bucket context http middleware (dca6d97)

Continuous Integration

  • Change linter step in CI (5cb0df2)
  • Pin mkdocs-material version (a1189d9)
  • Switch from CircleCI to Github Actions (6dbd5df)
  • Update CI to filter update path (7cd0e45)

Documentation

  • Add documentation on cache-control (218ed7f)
  • Add documentation to explain how to migrate from v3 to v4 (6c9fe8b)
  • Add line numbers on code example (c4977d8)
  • Improved templates and headers documentation (68573b2)
  • Patch documentation about prometheus metrics (4e4e2d1)
  • Refactor documentation to use mkdocs with material theme (064785b)
  • Refactor README (db33c70)
  • responsehandler: Add documentation on interface (4b83595)

Features

  • Upgrade alpine version in docker image (b3b0c4d)
  • authx: Add more getter to generic user (45a750a)
  • bucket: Add templating on PUT metadata and storage class (7fe1f2c)
  • bucket: Clean bucket structure and values (c1b61f5)
  • config: Add default header template when template is override without headers (fce9bea)
  • log: Add set logger to context function and refactor (5db6244)
  • log: Simplify logger construction (9744774)
  • logger: Display stack trace when possible and when an error is provided to logger.Error (4566e5b)
  • logger: Improve log errors in error, fatal, etc (cd65b71)
  • responsehandler: Add helpers for template execution ([7a9d511](https://github.com/oxyno-zeta/s3-pr...
Read more

v3.4.0

11 Jun 19:51
f54fd27
Compare
Choose a tag to compare

3.4.0 (2021-06-11)

Bug Fixes

  • deps: update golang.org/x/net commit hash to 34ac3e1 (884d2df)
  • deps: update module github.com/go-chi/chi/v5 to v5.0.1 (6d4b738)
  • deps: update module github.com/sirupsen/logrus to v1.8.1 (ed3978c)
  • deps: update module github.com/thoas/go-funk to v0.8.0 (51b214d)

Features

Maintenance

Pull Requests

  • Merge pull request #183 from croustiPoulet/range-support (79ee798), closes #183
  • Merge pull request #162 from oxyno-zeta/renovate/github.heygears.com-sirupsen-logrus-1.x (08de1e6), closes #162
  • Merge pull request #163 from oxyno-zeta/renovate/github.heygears.com-go-chi-chi-v5-5.x (0c389f5), closes #163
  • Merge pull request #166 from oxyno-zeta/renovate/golang.org-x-net-digest (7d73187), closes #166
  • Merge pull request #164 from oxyno-zeta/renovate/github.heygears.com-thoas-go-funk-0.x (7f2a210), closes #164

v3.3.0

15 Mar 22:23
0f1daf9
Compare
Choose a tag to compare

3.3.0 (2021-03-15)

Bug Fixes

  • config: Fix configuration loading for key rewrite and add tests for it (9ba06ca)
  • deps: update github.com/johannesboyne/gofakes3 commit hash to 02ffa76 (f4316fa)
  • deps: update go-chi packages to v5 (6acb54b)
  • deps: update golang.org/x/net commit hash to e18ecbb (9178946)
  • deps: update golang.org/x/oauth2 commit hash to 9bb9049 (1a85680)
  • deps: update golang.org/x/sync commit hash to 036812b (b7a1069)
  • Build HTTPS redirect URI when behind LB (a437992)
  • deps: update module github.com/golang/mock to v1.5.0 (d45fb89)
  • deps: update module github.com/sirupsen/logrus to v1.8.0 (19e94cf)

Code Refactoring

  • bucket: Split code for lisibility (e15c439)

Continuous Integration

Documentation

  • Add documentation for cache management and ETag (d0e4d6c)
  • Add documentation for compress server options (9767255)
  • Add documentation for key-rewrite feature (bdafbd4)

Features

  • Add ETag and cache management (8f2cc38)
  • Add key rewrite feature (f17caf7)
  • Allow to configure compress middleware (097c776)
  • Deprecate index document field at target root level (00b44b4)

Maintenance

  • Clean dependencies and fix dependency in Makefile (0f1daf9)
  • goreleaser: Update for docker deprecations (17933da)
  • Clean dependencies (9cad70f)
  • Clean dependencies (53de747)
  • Limit concurrent build for goreleaser (b7e0727)
  • deps: update golang.org/x/oauth2 commit hash to 6667018 (5fa900d)
  • deps: update johannesboyne/gofakes3 commit hash to ecdfbfd (a029640)
  • deps: update module aws/aws-sdk-go to v1.37.10 (80c4d81)
  • Upgrade coreos/oidc dependency (0dcf176)
  • Upgrade sprig dependency (8ea567a)

Pull Requests

  • Merge pull request #167 from oxyno-zeta/compress-middleware (13d92ce), closes #167
  • Merge pull request #161 from oxyno-zeta/cache-etag (a1dc2e3), closes #161
  • Merge pull request #160 from abeltay/update-go-chi-v5 (0544738), closes #160
  • Merge pull request #151 from oxyno-zeta/renovate/golang.org-x-sync-digest (7cd2d88), closes #151
  • Merge pull request #153 from oxyno-zeta/renovate/github.heygears.com-johannesboyne-gofakes3-digest (daec5e4), closes #153
  • Merge pull request #150 from oxyno-zeta/renovate/golang.org-x-net-digest (c322b4f), closes #150
  • Merge pull request #146 from oxyno-zeta/renovate/golang.org-x-oauth2-digest (296cbdf), closes #146
  • Merge pull request #155 from oxyno-zeta/renovate/github.heygears.com-sirupsen-logrus-1.x (710e6a0), closes #155
  • Merge pull request #154 from oxyno-zeta/renovate/github.heygears.com-golang-mock-1.x (f193a56), closes #154
  • Merge pull request #157 from oxyno-zeta/key-rewrite (6cb3db0), closes #157
  • Merge pull request #156 from iskandar/fix-tls-2 (04cd22d), closes #156
  • Merge pull request #140 from oxyno-zeta/renovate/johannesboyne-gofakes3-digest (92d021e), closes #140
  • Merge pull request #139 from oxyno-zeta/renovate/golang.org-x-oauth2-digest (bcf5195), closes #139
  • Merge pull request #141 from oxyno-zeta/renovate/aws-aws-sdk-go-1.x (864a8b0), closes #141

Styles

Tests

  • Add tests for compress (92387ac)
  • Add tests for not modified and precondition failed cases (ce24325)

v3.2.0

20 Jan 22:57
1189cd2
Compare
Choose a tag to compare

3.2.0 (2021-01-20)

Bug Fixes

  • authentication: Fix multiple provider support and add better support of it (3d6a350)
  • authorization: Change requester to OPA to use new context API (6aa6a2b)

Documentation

  • Correct wrong openid scope example in configuration example (155a727)
  • Update documentation to add pre-commit installation (407801d)
  • Upgrade documentation for new configuration fields (8fced7c)
  • Upgrade documentation for s3 list max keys (534e3d8)

Features

  • Add way to redirect with trailing slash when getting a file gives a not found error (c441329)
  • Manage S3 list pagination (766f56b)

Maintenance

  • Add pre-commit configuration (eb2c1ef)
  • Clean dependencies (67bb8bd)
  • Update pre-commit hooks (29c61d9)
  • Upgrade Keycloak to v11 for local use (c613b47)
  • deps: update alpine docker tag to v3.13 (7ff2df0)
  • deps: update arm32v6/alpine docker tag to v3.13 (1075614)
  • deps: update arm32v7/alpine docker tag to v3.13 (f89651d)
  • deps: update arm64v8/alpine docker tag to v3.13 (584dabd)
  • deps: update github.com/johannesboyne/gofakes3 commit hash to e8b5dbd (2f73574)
  • deps: update golang.org/x/net commit hash to 5f4716e (9e47dd6)
  • Add setup tracing-services for dev usages (62d1610)
  • Upgrade all dependencies (454ba21)

Pull Requests

  • Merge pull request #136 from oxyno-zeta/develop (1189cd2), closes #136
  • Merge pull request #132 from oxyno-zeta/renovate/golang.org-x-net-digest (41b6347), closes #132
  • Merge pull request #133 from oxyno-zeta/develop (1093673), closes #133
  • Merge pull request #131 from oxyno-zeta/renovate/github.heygears.com-johannesboyne-gofakes3-digest (1b3eec3), closes #131
  • Merge pull request #127 from oxyno-zeta/renovate/docker-arm32v6-alpine-3.x (e43bc99), closes #127
  • Merge pull request #128 from oxyno-zeta/renovate/docker-arm32v7-alpine-3.x (abea89e), closes #128
  • Merge pull request #129 from oxyno-zeta/renovate/docker-arm64v8-alpine-3.x (f2d93af), closes #129
  • Merge pull request #126 from oxyno-zeta/renovate/docker-alpine-3.x (cd80515), closes #126
  • Merge pull request #125 from oxyno-zeta/develop (f39aa5d), closes #125

Styles

Tests

  • server: Add integration tests for trailing slash redirect (de9cf6e)

v3.1.1

05 Jan 22:33
a278465
Compare
Choose a tag to compare

3.1.1 (2021-01-05)

Bug Fixes

  • bucket: Do a head on index document to avoid skipping it (f31552a), closes #118

Maintenance

  • Clean dependencies (8181068)
  • Clean dependencies (555804a)
  • Update configuration for stale action (ce63f5b)
  • deps: update golang.org/x/net commit hash to 6772e93 (82a6e5d)
  • deps: update golang.org/x/oauth2 commit hash to 08078c5 (c808c03)
  • deps: update golang.org/x/sync commit hash to 09787c9 (cc2a074)
  • deps: update module go-chi/httptracer to v0.2.1 (d28cbc2)
  • deps: update module prometheus/client_golang to v1.9.0 (fd7eb10)

Pull Requests

  • Merge pull request #120 from oxyno-zeta/dev (a278465), closes #120
  • Merge pull request #116 from oxyno-zeta/renovate/golang.org-x-sync-digest (ca0f946), closes #116
  • Merge pull request #112 from oxyno-zeta/renovate/golang.org-x-net-digest (4f26050), closes #112
  • Merge pull request #115 from oxyno-zeta/renovate/github.heygears.com-go-chi-httptracer-0.x (f646de8), closes #115
  • Merge pull request #114 from oxyno-zeta/renovate/golang.org-x-oauth2-digest (c4d9d22), closes #114
  • Merge pull request #117 from oxyno-zeta/renovate/github.heygears.com-prometheus-client_golang-1.x (3cdd4e6), closes #117

v3.1.0

27 Nov 07:13
4d07763
Compare
Choose a tag to compare

3.1.0 (2020-11-27)

Documentation

  • Add config example for CORS in documentation (00016c0)
  • Add documentation for CORS (19899ce)
  • Add mention for CORS in features list (15bdb3d)

Features

Maintenance

  • Clean dependencies (4d07763)
  • deps: update actions/labeler action to v3 (5db5745)
  • deps: update golang.org/x/net commit hash to 69a7880 (35b7700)
  • deps: update golang.org/x/oauth2 commit hash to 9fd6049 (228c1cf)

Pull Requests

  • Merge pull request #110 from oxyno-zeta/renovate/golang.org-x-oauth2-digest (70a48db), closes #110
  • Merge pull request #105 from oxyno-zeta/renovate/golang.org-x-net-digest (a0ffce8), closes #105
  • Merge pull request #107 from oxyno-zeta/renovate/actions-labeler-3.x (0935213), closes #107
  • Merge pull request #111 from oxyno-zeta/issue-95 (7c3eab5), closes #111

v3.0.4

09 Nov 17:00
e75878a
Compare
Choose a tag to compare

3.0.4 (2020-11-09)

Bug Fixes

  • config: Fix OIDC scopes viper tag value (de4c5bc), closes #109

Maintenance

  • Clean dependencies (e75878a)
  • deps: update actions/stale action to v3 (db5440e)
  • deps: update golang.org/x/net commit hash to 8eef523 (6cf5dae)
  • deps: update golang.org/x/sync commit hash to 67f06af (d707de5)
  • deps: update module go-playground/validator/v10 to v10.4.1 (0dd2e57)
  • deps: update module prometheus/client_golang to v1.8.0 (bb871de)
  • deps: update module uber/jaeger-lib to v2.4.0 (bc08dfd)

Pull Requests

  • Merge pull request #98 from oxyno-zeta/renovate/golang.org-x-sync-digest (492dcf7), closes #98
  • Merge pull request #103 from oxyno-zeta/renovate/github.heygears.com-go-playground-validator-v10-10.x (7633f79), closes #103
  • Merge pull request #99 from oxyno-zeta/renovate/golang.org-x-net-digest (6ef3c68), closes #99
  • Merge pull request #104 from oxyno-zeta/renovate/actions-stale-3.x (8772f70), closes #104
  • Merge pull request #101 from oxyno-zeta/renovate/github.heygears.com-uber-jaeger-lib-2.x (b1fac62), closes #101
  • Merge pull request #102 from oxyno-zeta/renovate/github.heygears.com-prometheus-client_golang-1.x (9ffd865), closes #102