diff --git a/CHANGELOG.md b/CHANGELOG.md index c78730e..41bba7b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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 diff --git a/README.md b/README.md index af1572b..9405885 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ # einherjar/core -[![version](https://img.shields.io/badge/version-v1.0.0-5C4EE5?style=flat-square)](https://code.nochebuena.dev/einherjar/core) +[![version](https://img.shields.io/badge/version-v1.1.0-5C4EE5?style=flat-square)](https://code.nochebuena.dev/einherjar/core) [![license](https://img.shields.io/badge/license-AGPL--3.0-22863A?style=flat-square)](LICENSE) [![go](https://img.shields.io/badge/Go-1.26+-00ADD8?style=flat-square&logo=go&logoColor=white)](https://go.dev) diff --git a/go.mod b/go.mod index 5542da3..ce562fa 100644 --- a/go.mod +++ b/go.mod @@ -3,7 +3,7 @@ module code.nochebuena.dev/einherjar/core go 1.26 require ( - code.nochebuena.dev/einherjar/contracts v1.0.0 + code.nochebuena.dev/einherjar/contracts v1.1.0 github.com/go-playground/validator/v10 v10.30.1 ) diff --git a/go.sum b/go.sum index b46ae07..d092786 100644 --- a/go.sum +++ b/go.sum @@ -1,5 +1,5 @@ -code.nochebuena.dev/einherjar/contracts v1.0.0 h1:hRudEtOIqU7vwedYLsCh8+9q5dCnKb61qX+zibqImRU= -code.nochebuena.dev/einherjar/contracts v1.0.0/go.mod h1:ccltUtrFb5+MEJdkx2VVEUL+xC5pupVlVVsMM8AlCWI= +code.nochebuena.dev/einherjar/contracts v1.1.0 h1:GsGr6reyrd9qCc7D8CqbT1LWPTeeK9lT4r4EdsNA5Ro= +code.nochebuena.dev/einherjar/contracts v1.1.0/go.mod h1:ccltUtrFb5+MEJdkx2VVEUL+xC5pupVlVVsMM8AlCWI= github.com/davecgh/go-spew v1.1.1 h1:vj9j/u1bqnvCEfJOwUhtlOARqs3+rkHYY13jYWTU97c= github.com/davecgh/go-spew v1.1.1/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= github.com/gabriel-vasile/mimetype v1.4.12 h1:e9hWvmLYvtp846tLHam2o++qitpguFiYCKbn0w9jyqw= diff --git a/launcher/doc.go b/launcher/doc.go index 026799d..ecc7349 100644 --- a/launcher/doc.go +++ b/launcher/doc.go @@ -12,7 +12,7 @@ // // Usage: // -// logger := logz.New(logz.Options{JSON: true}) +// logger := logz.New(logz.Config{JSON: true}) // lc := launcher.New(logger) // // lc.Append(db, cache, server) diff --git a/logz/doc.go b/logz/doc.go index feeb0d5..cec7f01 100644 --- a/logz/doc.go +++ b/logz/doc.go @@ -15,7 +15,7 @@ // // Usage: // -// logger := logz.New(logz.Options{ +// logger := logz.New(logz.Config{ // Level: slog.LevelDebug, // JSON: true, // StaticArgs: []any{"service", "api"},