Deprecation Warning
- OPA support is deprecated.
opapackage and all its sub-packages is no longer supported. It still works with OPA v0 agent
What's Changed
- Minimum Go version bumped to 1.24
- Upgraded dependencies.
- Service Discovery:
- Support scheme override when using DNS service discovery with fallback values.
- Command line tool (
lanai-cli):lanai-cli init: Allow service to ignore default tool installation by specifying emptybinaries.[].versioninModule.ymllanai-cli init: Support forgolangci-lintv2. Generate correct makefiles for both v1 and v2.lanai-cli init: Added binaries/tool conflict check before tooling installation- Tests: Added basic test support for sub commands
- OAuth2:
- Allow service developers to implement their own
auth.TokenGranterandauth.TokenEnhanceron top of the oauth2 spec. - Allow service developers to implement their own
auth.AuthorizationRegistry - Allow service developers to implement their own
th_loader.Loader
- Allow service developers to implement their own
- Minor bug fixes and more test coverage
Dependencies Upgrade Details
| Library | From | To |
|---|---|---|
| github.com/getkin/kin-openapi | v0.127.0 | v0.132.0 |
| github.com/open-policy-agent/opa | v0.67.1 | v1.4.2 |
| ------- | ----- | ----- |
| dario.cat/mergo | v1.0.0 | v1.0.2 |
| github.com/IBM/sarama | v1.43.2 | v1.45.2 |
| github.com/Masterminds/sprig/v3 | v3.2.3 | v3.3.0 |
| github.com/alicebob/miniredis/v2 | v2.33.0 | v2.34.0 |
| github.com/aws/aws-sdk-go-v2 | v1.30.3 | v1.36.3 |
| github.com/aws/aws-sdk-go-v2/config | v1.27.27 | v1.29.14 |
| github.com/aws/aws-sdk-go-v2/credentials | v1.17.27 | v1.17.67 |
| github.com/aws/aws-sdk-go-v2/service/acm | v1.28.4 | v1.32.0 |
| github.com/aws/aws-sdk-go-v2/service/sts | v1.30.3 | v1.33.19 |
| github.com/beevik/etree | v1.4.1 | v1.5.1 |
| github.com/bmatcuk/doublestar/v4 | v4.6.1 | v4.8.1 |
| github.com/crewjam/saml | v0.4.14 | v0.5.1 |
| github.com/gin-gonic/gin | v1.10.0 | v1.10.1 |
| github.com/go-git/go-git/v5 | v5.13.1 | v5.16.0 |
| github.com/go-playground/validator/v10 | v10.22.0 | v10.26.0 |
| github.com/hashicorp/consul/api | v1.30.0 | v1.32.1 |
| github.com/hashicorp/vault/api | v1.14.0 | v1.16.0 |
| github.com/hashicorp/vault/api/auth/kubernetes | v0.7.0 | v0.9.0 |
| github.com/jackc/pgx/v5 | v5.6.0 | v5.7.5 |
| github.com/miekg/dns | v1.1.61 | v1.1.66 |
| github.com/onsi/gomega | v1.34.1 | v1.37.0 |
| github.com/pquerna/otp | v1.4.0 | v1.5.0 |
| github.com/rs/cors | v1.11.0 | v1.11.1 |
| github.com/russellhaering/goxmldsig | v1.4.0 | v1.5.0 |
| github.com/spf13/cobra | v1.8.1 | v1.9.1 |
| github.com/spf13/pflag | v1.0.5 | v1.0.6 |
| github.com/spyzhov/ajson | v0.9.3 | v0.9.6 |
| go.step.sm/crypto | v0.51.1 | v0.64.0 |
| go.uber.org/fx | v1.22.2 | v1.24.0 |
| gorm.io/driver/postgres | v1.5.9 | v1.6.0 |
| gorm.io/gorm | v1.25.11 | v1.30.0 |
| mvdan.cc/sh/v3 | v3.8.0 | v3.11.0 |
| github.com/go-jose/go-jose/v4 | v4.0.4 | v4.1.0 |
Full Changelog: v0.15.1...v0.15.2