Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
ba53477e2e
|
||
|
|
7f0795f40e
|
||
|
|
1e5c6df52b
|
||
|
|
31a21ad695
|
||
|
|
abeefd9810
|
||
|
|
2a9cb9132b
|
@@ -0,0 +1,54 @@
|
||||
# Changelog — einherjar/storage-minio
|
||||
|
||||
All notable changes to this module are documented here.
|
||||
Format follows [Keep a Changelog](https://keepachangelog.com/en/1.1.0/).
|
||||
This module adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
||||
|
||||
---
|
||||
|
||||
## [1.2.0] — 2026-08-08
|
||||
|
||||
Minor — coordinated framework version alignment. No code or API changes in this module.
|
||||
|
||||
### Changed
|
||||
|
||||
- Bumped `contracts`, `core` to v1.2.0.
|
||||
|
||||
## [1.1.3] — 2026-08-08
|
||||
|
||||
Patch — coordinated framework version alignment.
|
||||
|
||||
### Changed
|
||||
|
||||
- Bumped einherjar dependencies (\`contracts\`, \`core\`) to v1.1.3. No code or API changes.## [1.1.2] — 2026-08-08
|
||||
|
||||
Patch — coordinated framework version alignment.
|
||||
|
||||
### Changed
|
||||
|
||||
- Bumped einherjar dependencies (`contracts`, `core`) to v1.1.2. No code or API changes.
|
||||
|
||||
## [1.1.1] — 2026-08-07
|
||||
|
||||
Patch — corrected package-doc wiring examples plus framework version alignment.
|
||||
|
||||
### Fixed
|
||||
|
||||
- Doc examples used a fictional `launcher.Register` / `health.Register` API; corrected to
|
||||
`lc.Append` + `web/health.NewHandler(...).ServeHTTP`.
|
||||
|
||||
### Changed
|
||||
|
||||
- Bumped einherjar dependencies (`contracts`, `core`) to v1.1.1.
|
||||
|
||||
## [1.1.0] — 2026-08-07
|
||||
|
||||
Patch — coordinated framework version alignment.
|
||||
|
||||
### Changed
|
||||
|
||||
- Bumped einherjar dependencies (`contracts`, `core`) to v1.1.0.
|
||||
|
||||
## [1.0.0] — 2026-05-28
|
||||
|
||||
Initial release. See the README for the full API and the `v1.0.0` git tag for the source.
|
||||
@@ -1,6 +1,6 @@
|
||||
# einherjar/storage-minio
|
||||
|
||||
[](https://code.nochebuena.dev/einherjar/storage-minio)
|
||||
[](https://code.nochebuena.dev/einherjar/storage-minio)
|
||||
[](LICENSE)
|
||||
[](https://go.dev)
|
||||
[]()
|
||||
@@ -19,8 +19,9 @@
|
||||
import storageminio "code.nochebuena.dev/einherjar/storage-minio"
|
||||
|
||||
s := storageminio.New(logger, storageminio.DefaultConfig())
|
||||
launcher.Append(s) // OnInit connects; OnStop is a no-op (stateless client)
|
||||
health.Register(s) // BucketExists check; LevelCritical
|
||||
lc.Append(s) // OnInit connects; OnStop is a no-op (stateless client)
|
||||
// s is observability.Checkable (BucketExists check, LevelCritical):
|
||||
srv.Get("/health", health.NewHandler(logger, s).ServeHTTP)
|
||||
```
|
||||
|
||||
### Uploading
|
||||
|
||||
@@ -8,11 +8,12 @@
|
||||
// - OnStart: verifies the configured bucket exists; creates it if absent.
|
||||
// - OnStop: releases the client reference.
|
||||
//
|
||||
// Register with the launcher and health aggregator before starting:
|
||||
// Append to a launcher, and wire a health endpoint (mc satisfies
|
||||
// [observability.Checkable]):
|
||||
//
|
||||
// mc := minio.New(logger, cfg)
|
||||
// launcher.Register(mc)
|
||||
// health.Register(mc)
|
||||
// lc.Append(mc) // lifecycle: OnInit → OnStart → OnStop
|
||||
// srv.Get("/health", health.NewHandler(logger, mc).ServeHTTP)
|
||||
//
|
||||
// # Operations
|
||||
//
|
||||
|
||||
@@ -3,8 +3,8 @@ module code.nochebuena.dev/einherjar/storage-minio
|
||||
go 1.26
|
||||
|
||||
require (
|
||||
code.nochebuena.dev/einherjar/contracts v1.0.0
|
||||
code.nochebuena.dev/einherjar/core v1.0.0
|
||||
code.nochebuena.dev/einherjar/contracts v1.2.0
|
||||
code.nochebuena.dev/einherjar/core v1.2.0
|
||||
github.com/minio/minio-go/v7 v7.1.0
|
||||
)
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
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/core v1.0.0 h1:AueZgfjp3+rQmDKOxmJQ945TTh+sqC1l/xJdTOdbr9w=
|
||||
code.nochebuena.dev/einherjar/core v1.0.0/go.mod h1:0IywfRnJXX9xXQO6iPVaq2QDlXbbpXrB8A4T7gO8nE4=
|
||||
code.nochebuena.dev/einherjar/contracts v1.2.0 h1:i1qschvttqXJTd7yaFmHkvtj4weGfTcTkj8q9sG6pRI=
|
||||
code.nochebuena.dev/einherjar/contracts v1.2.0/go.mod h1:ccltUtrFb5+MEJdkx2VVEUL+xC5pupVlVVsMM8AlCWI=
|
||||
code.nochebuena.dev/einherjar/core v1.2.0 h1:nomXS05rqY9bOwnXhLbCIK/K8/KW3WbLOMp4gR8ho/4=
|
||||
code.nochebuena.dev/einherjar/core v1.2.0/go.mod h1:L5PNjnuNN7vz057egI5y3r8DIGr7ZrbACFU19jgWoWY=
|
||||
github.com/cespare/xxhash/v2 v2.3.0 h1:UL815xU9SqsFlibzuggzjXhog7bL6oX9BbNZnL2UFvs=
|
||||
github.com/cespare/xxhash/v2 v2.3.0/go.mod h1:VGX0DQ3Q6kWi7AoAeZDth3/j3BFtOZR5XLFGgcrjCOs=
|
||||
github.com/davecgh/go-spew v1.1.1 h1:vj9j/u1bqnvCEfJOwUhtlOARqs3+rkHYY13jYWTU97c=
|
||||
|
||||
Reference in New Issue
Block a user