Releases: TykTechnologies/mserv
Releases · TykTechnologies/mserv
Release v1.1.0
What's Changed
- Actions(deps): bump actions/cache from 3 to 4 by @dependabot in #86
- Go(deps): bump github.com/google/uuid from 1.5.0 to 1.6.0 by @dependabot in #89
- Go(deps): bump go.mongodb.org/mongo-driver from 1.13.1 to 1.16.0 by @dependabot in #112
- Go(deps): bump golang.org/x/net from 0.21.0 to 0.27.0 by @dependabot in #113
- Go(deps): bump github.com/spf13/cobra from 1.8.0 to 1.8.1 by @dependabot in #116
- Actions(deps): bump ScribeMD/docker-cache from 0.3.7 to 0.5.0 by @dependabot in #111
- Go(deps): bump github.com/spf13/viper from 1.18.2 to 1.19.0 by @dependabot in #117
- Go(deps): bump github.com/rs/cors from 1.10.1 to 1.11.0 by @dependabot in #114
- TT-1961: add support for multiple plugin bundles by @imogenkraak in #126
- Go(deps): bump golang.org/x/net from 0.27.0 to 0.30.0 by @dependabot in #124
- Go(deps): bump go.mongodb.org/mongo-driver from 1.16.0 to 1.17.1 by @dependabot in #123
- TT-13350: bump go version to v1.22.8 by @mitjaziv in #127
- Go(deps): bump github.com/rs/cors from 1.11.0 to 1.11.1 by @dependabot in #120
- Go(deps): bump github.com/golang/protobuf from 1.5.3 to 1.5.4 by @dependabot in #103
- Go(deps): bump google.golang.org/grpc from 1.62.1 to 1.67.1 by @dependabot in #128
- Go(deps): bump github.com/go-openapi/swag from 0.22.4 to 0.23.0 by @dependabot in #104
- Go(deps): bump github.com/go-openapi/strfmt from 0.21.7 to 0.23.0 by @dependabot in #109
- Go(deps): bump github.com/go-openapi/validate from 0.22.1 to 0.24.0 by @dependabot in #106
- Go(deps): bump github.com/go-openapi/runtime from 0.26.0 to 0.28.0 by @dependabot in #105
New Contributors
- @imogenkraak made their first contribution in #126
Full Changelog: v1.0.1...v1.1.0
Release v1.0.1
What's Changed
- Go(deps): bump golang.org/x/net from 0.18.0 to 0.19.0 by @dependabot in #62
- Actions(deps): bump actions/setup-go from 4 to 5 by @dependabot in #69
- Actions(deps): bump actions/download-artifact from 3 to 4 by @dependabot in #70
- Actions(deps): bump actions/upload-artifact from 3 to 4 by @dependabot in #71
- Go(deps): bump go.mongodb.org/mongo-driver from 1.13.0 to 1.13.1 by @dependabot in #68
- Go(deps): bump github.com/google/uuid from 1.4.0 to 1.5.0 by @dependabot in #73
- Go(deps): bump github.com/spf13/viper from 1.17.0 to 1.18.2 by @dependabot in #74
- Actions(deps): bump ScribeMD/docker-cache from 0.3.6 to 0.3.7 by @dependabot in #80
- TT-10897: disable CGO from builds by @mitjaziv in #84
Full Changelog: v1.0.0...v1.0.1
Release v1.0.0
What's Changed
- TT-1913 Add CODEOWNERS, set up GitHub templates, and update docs by @jlucktay in #23
- Increase mservctl push timeout from 30 seconds to 2 minutes by @AaronFeledy in #26
- chore(actions): Build multi arch docker image by @gothka in #27
- chore(security): add dependabot to repository by @mitjaziv in #28
- Actions(deps): bump actions/checkout from 2 to 4 by @dependabot in #31
- TT-10430: add docker-compose setup by @mitjaziv in #29
- Actions(deps): bump actions/download-artifact from 1 to 3 by @dependabot in #30
- Actions(deps): bump actions/setup-go from 1 to 4 by @dependabot in #32
- Actions(deps): bump actions/upload-artifact from 1 to 3 by @dependabot in #33
- chore(ci): add testing pipeline by @mitjaziv in #44
- TT-10430: add bundle build setup by @mitjaziv in #47
- TT-10430: add integration tests for mserv and mservctl by @mitjaziv in #46
- TT-10430: bump Go version to v1.20.11 by @mitjaziv in #45
- Go(deps): bump github.com/sirupsen/logrus from 1.2.0 to 1.9.3 by @dependabot in #42
- TT-10430: migrate to mongo-go driver for MongoDB connectivity by @mitjaziv in #48
- Go(deps): bump github.com/gorilla/mux from 1.7.3 to 1.8.1 by @dependabot in #38
- Go(deps): bump github.com/golang/protobuf from 1.3.3 to 1.5.3 by @dependabot in #49
- Go(deps): bump github.com/spf13/cobra from 0.0.5 to 1.8.0 by @dependabot in #39
- chore(security): bump aws-sdk-go version by @mitjaziv in #50
- Go(deps): bump github.com/rs/cors from 1.7.0 to 1.10.1 by @dependabot in #35
- Go(deps): bump github.com/jpillora/overseer from 0.0.0-20191216115108-e26c3c66567f to 1.1.6 by @dependabot in #43
- Go(deps): bump github.com/graymeta/stow from 0.2.4 to 0.2.8 by @dependabot in #37
- TT-448: add mservctl update command by @AaronFeledy in #24
- TT-10430: update open-api libraries, spec and generated clients by @mitjaziv in #51
- TT-448: add integration test for bundle update by @mitjaziv in #52
- TT-10430: migrate to google/uuid by @mitjaziv in #53
- Go(deps): bump github.com/matryer/is from 1.4.0 to 1.4.1 by @dependabot in #59
- Go(deps): bump github.com/olekukonko/tablewriter from 0.0.4 to 0.0.5 by @dependabot in #56
- TT-10430: fix uploading bundles to S3 by @mitjaziv in #60
- TT-10430: migrate to gcr.io/distroless image by @mitjaziv in #54
- TT-10430: fix release pipelines by @mitjaziv in #55
- Go(deps): bump github.com/spf13/viper from 1.6.2 to 1.17.0 by @dependabot in #57
- Go(deps): bump google.golang.org/grpc from 1.58.2 to 1.59.0 by @dependabot in #58
New Contributors
- @AaronFeledy made their first contribution in #26
- @gothka made their first contribution in #27
- @mitjaziv made their first contribution in #28
- @dependabot made their first contribution in #31
Full Changelog: v0.9.9-beta.4...v1.0.0
Release v0.9.9-beta.4
[TT-1802] Clean up Stow locations when deleting middleware (#22) * refactor(http_funcs): carve up test files ahead of adding coverage * feat(configuration): add capability to refresh and reload config from disk Resetting the configuration for mserv to zero and (re)reading afresh aids testability. * ci(golangci-lint): remove as per warning; maligned has since moved into 'go vet' * test(http_funcs): add coverage for DeleteMW handler Added a new test, along with some helpers and mock implementations, to cover the DeleteMW. Note that the test is currently failing as of this commit, so let's see about fixing that! * refactor(api): set up format string const for container name pattern * refactor(api): use package consts instead of hard-coding Kind strings * fix(api): also remove stow container when deleting a bundle There was previously no call made from the bundle delete handler for stow to remove its local/S3 container, so local files and S3 buckets would be left lying around after their corresponding middleware definitions within MServ wer long gone. fix TT-1802 * fix(api): work around shortcoming with stow's "local" Kind The RemoveContainer implementation for "local" Kind in stow does not use the full path when deleting, only a relative one. If https://github.com/graymeta/stow/issues/239 were to be implemented/resolved then this block of code could be deleted. * fix(api): clean up lint issue by catching/logging potential error from Close call * fix(api): walk container and remove each item before removing container, for S3's sake Via Stow, S3 buckets can only be removed once they no longer contain any objects. fix TT-1802 * refactor(api): fix lint issues; stop shadowing error declarations * refactor(api): move store.DeleteMW call to end of handler rather than beginning We still do a GetMWByID call on the middleware in the store at the start of the handler, which would error and return immediately if middleware with that ID did not exist. Given that succeeds though, we proceed to clean out the stow container and remove that, which is much more error-prone given the new changes in this feature branch. Assuming all of that succeeds, then we delete the middleware from the store. * feat(api): export format string for container names
Release v0.9.9-beta.1
Add example conf