Releases: jungaretti/bacon
v2.0
Bacon v2 enforces .yml
config file validation and adds support for Porkbun's priority property. v2 may break your deployment pipeline if your config file isn't valid. See Bacon's README for more details about validation.
In order for a config file to be valid, all of the following must be true:
- The config file must have a
domain
field. - Each record must have a
host
field. - Each record must have a
type
field. - Each record must have a
content
field. - Each record must have a
ttl
field. - Each record's
type
must beA
,MX
,CNAME
,ALIAS
,TXT
,NS
,AAAA
,SRV
,TLSA
,CAA
,HTTPS
, orSVCB
. - Each record's
ttl
must be greater than or equal to600
. - Each record with a
priority
must have type ofMX
orSRV
. - Each
CNAME
record must have a uniquehost
. - Non-
CNAME
records may not sharehost
with anyCNAME
record.
These validations ensure consistency between deployments.
v1.4.1
This release moves some code around.
What's Changed
- Move business logic to cmd package by @jungaretti in #47
Full Changelog: v1.4...v1.4.1
v1.4
This release includes a fix for requests failing with status code 503
due to rate limiting. It also improves Bacon's error message when Porkbun returns a non-successful status code.
What's Changed
- Throttle Porkbun API requests by @jungaretti in #46
- Check API response and improve non-200 error by @jungaretti in #42
- Rename ConsoleProvider to MockProvider by @jungaretti in #44
Full Changelog: v1.3...v1.4
v1.3
v1.2.1
Spring cleaning! This release does not include any new features. Instead, it prunes the unnecessary secrets
package and moves configuration-related code to a new config
package.
What's Changed
- Upgrade to Go 1.22 by @jungaretti in #35
- Remove secrets package by @jungaretti in #36
- Move config code to new config package by @jungaretti in #37
Full Changelog: v1.2...v1.2.1
v1.2
This release adds a new print
command that helps you create config files. It also includes significant improvements to Bacon's inner loop: unit tests, system tests, PR gates, and documentation improvements.
What's Changed
- Remove equality and hashing methods from Record interface by @jungaretti in #18
- Add workflow to test PRs by @jungaretti in #20
- Document print command and tidy up README by @jungaretti in #24
- Add system test that builds Bacon and runs commands by @jungaretti in #25
- Add make test commands and update docs by @jungaretti in #27
- Rename GitHub workflows by @jungaretti in #28
- Mention Porkbun support in introduction by @jungaretti in #29
- Mention domain argument in print help by @jungaretti in #31
- Bump go-release-action to v1.40 by @jungaretti in #32
Full Changelog: v1.1...v1.2
v1.1
Bacon's long-awaited readability rewrite is finally here! This release refactors much of Bacon’s core code in order to make it easier to maintain and test.
What's Changed
- Ignore
NS
and_acme-challenge
Porkbun records - Refactor code to increase maintainability
Full Changelog: v1.0...v1.1
v1.0
What's Changed
- Added more helpful error message when API keys are missing
Full Changelog: v0.2-beta...v1.0
v0.2 Beta
What's Changed
- Fixed bug when comparing "" and "0" TTL/priority by @jungaretti in #14
Full Changelog: v0.1.2-beta...v0.2-beta
v0.1.1 Beta
What's Changed
- Update devcontainer to install act by @jungaretti in #7
- Add workflow to build release assets by @jungaretti in #8
Full Changelog: v0.1-beta...v0.1.1-beta