Skip to content

Version 0.4.0

Pre-release
Pre-release
Compare
Choose a tag to compare
@github-actions github-actions released this 10 Mar 07:25
· 284 commits to main since this release
v0.4.0
f04accb

Added

  • Added Deprecated() method to all builders, which marks the variable as deprecated and warns the user if it is defined
  • Added StringBuilder.WithSensitiveContent(), which hides the variable value from console output and generated documentation
  • Added functional options to Init()

Changed

The following changes are technically not backwards compatible from a Go perspective, but under normal usage (as per the examples) they do not actually alter the usage of the Ferrite API.

  • [BC] NetworkPort() now returns a NetworkPortBuilder instead of StringBuilder
  • [BC] Required[T] and Optional[T] are now structs instead of interfaces
  • [BC] All builder types now use pointer receivers
  • [BC] Require() and Optional() methods on all builders now use distinct option types