Version 0.4.0
Pre-release
Pre-release
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 aNetworkPortBuilder
instead ofStringBuilder
- [BC]
Required[T]
andOptional[T]
are now structs instead of interfaces - [BC] All builder types now use pointer receivers
- [BC]
Require()
andOptional()
methods on all builders now use distinct option types