docs(core): fix logz.Options -> logz.Config in doc examples; bump to v1.1.0
Coordinated framework release. Documentation-only code change plus the shared
version bump.
- core/launcher/doc.go, core/logz/doc.go: logz.New(logz.Options{...}) ->
logz.Config (Options was retired per ADR-003; the constructor takes Config).
- go.mod: contracts -> v1.1.0 (via go get + go mod tidy).
Verified by compiling the example patterns against the real API. Badge -> v1.1.0.
This commit is contained in:
@@ -6,6 +6,21 @@ This module adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html
|
||||
|
||||
---
|
||||
|
||||
## [1.1.0] — 2026-08-07
|
||||
|
||||
Coordinated framework release. Documentation fix plus the framework version bump.
|
||||
|
||||
### Fixed
|
||||
|
||||
- **Package doc examples referenced the retired `logz.Options`.** `logz.New` takes
|
||||
`logz.Config`; the `launcher` and `logz` package docs showed `logz.New(logz.Options{…})`,
|
||||
which does not compile. Both corrected to `logz.Config`, verified by compiling the example
|
||||
patterns against the real API.
|
||||
|
||||
### Changed
|
||||
|
||||
- Bumped `contracts` to v1.1.0 (framework version alignment).
|
||||
|
||||
## [1.0.0] — 2026-05-28
|
||||
|
||||
### Added
|
||||
|
||||
Reference in New Issue
Block a user