(Feat): Initial Commit
This commit is contained in:
29
.changes-go-starter/25.02.0.md
Normal file
29
.changes-go-starter/25.02.0.md
Normal file
@@ -0,0 +1,29 @@
|
||||
## 25.02.0 - 2025-02-17
|
||||
### Added
|
||||
* Add STARTTLS support to the mailer, thx [@mwieser](https://github.com/mwieser)
|
||||
* Extend util and test package with additional helper functions, thx [@mwieser](https://github.com/mwieser)
|
||||
* Add MIME interface to use *mimtype.MIME or an already KnownMIME, thx [@mwieser](https://github.com/mwieser)
|
||||
* Add function to detach context to avoid context cancelation. Can be used to pass context information to go routines without a deadline or cancel, thx [@mwieser](https://github.com/mwieser)
|
||||
* Add oauth2 helper for PKCE extention to generate verifier and challenge, thx [@mwieser](https://github.com/mwieser)
|
||||
* Extend mailer mock to support waiting for all expected mails to arrive to check asynchronously sent mails in tests, thx [@mwieser](https://github.com/mwieser)
|
||||
* Add mock clock to server struct to ensure consistent and mockable time during tests
|
||||
* Add devcontainer startup commands to import local gitconfig into the container
|
||||
### Changed
|
||||
* Separated the go-starter and child project readme and changelog files to prevent conflicts
|
||||
* Simplify the endpoint tests by using test.RequireHTTPError, response snapshots and table-driven tests
|
||||
* Update to [golang:1.24.0-bookworm](https://hub.docker.com/layers/library/golang/1.24.0-bookworm/images/sha256-b95002399f27188790f0a2b598bee84ae7bfbf1043fb60921da3b81928e303ba) (requires `./docker-helper.sh --rebuild`)
|
||||
* Minor: [Bump github.com/golangci/golangci-lint from v1.62.2 to v1.64.5](https://github.com/golangci/golangci-lint/releases/tag/v1.64.5)
|
||||
* Dependency updates:
|
||||
- Patch: [Bump github.com/gabriel-vasile/mimetype from v1.4.7 to v1.4.8](https://github.com/gabriel-vasile/mimetype/releases/tag/v1.4.8)
|
||||
- Minor: [Bump github.com/spf13/cobra from v1.8.1 to v1.9.1](https://github.com/spf13/cobra/releases/tag/v1.9.1)
|
||||
- Patch: [Bump github.com/volatiletech/sqlboiler/v4 from v4.17.1 to v4.18.0](https://github.com/volatiletech/sqlboiler/releases/tag/v4.18.0)
|
||||
- Minor: [Bump golang.org/x/crypto from v0.31.0 to v0.33.0](https://github.com/golang/crypto/releases/tag/v0.33.0)
|
||||
- Minor: [Bump golang.org/x/mod from v0.22.0 to v0.23.0](https://github.com/golang/mod/releases/tag/v0.23.0)
|
||||
- Minor: [Bump golang.org/x/sys from v0.28.0 to v0.30.0](https://github.com/golang/sys/releases/tag/v0.30.0)
|
||||
- Minor: [Bump golang.org/x/text from v0.21.0 to v0.22.0](https://github.com/golang/text/releases/tag/v0.22.0)
|
||||
- Minor: [Bump google.golang.org/api from v0.214.0 to v0.221.0](https://github.com/googleapis/google-api-go-client/releases/tag/v0.221.0)
|
||||
|
||||
### Deprecated
|
||||
* Deprecated the mailer option UseTLS (`SERVER_SMTP_USE_TLS`) in favour of Encryption (`SERVER_SMTP_ENCRYPTION`). If you were using the `SERVER_SMTP_USE_TLS` flag before to enable TLS, you will need to migrate to the `SERVER_SMTP_ENCRYPTION` setting of `tls`. For the moment, both settings are supported (with a warning being printed when using `SERVER_SMTP_USE_TLS`, however support for the deprecated config will be dropped in one of the next releases. See [Mailer UseTLS SERVER_SMTP_USE_TLS Deprecation](https://github.com/allaboutapps/go-starter/wiki/Mailer-UseTLS-SERVER_SMTP_USE_TLS-Deprecation)
|
||||
### Removed
|
||||
* Remove `util.RunningInTest()` in favour of `testing.Testing()`, see https://pkg.go.dev/testing@master#Testing
|
||||
Reference in New Issue
Block a user