Skip to content

Tags

Tags

go/cache/v0.4.1

Toggle go/cache/v0.4.1's commit message
go/cache v0.4.1

cachetest holds Modes, Pitfalls and Simulation to the Notifier contract
rather than to Memory's behaviour (#20).

Those three had only ever run against Memory, so they assumed a notifier that
never reports its own client's writes and reports them synchronously. The
contract allows both, and a layer that does them — Redis server-assisted client
tracking — had the copy a fill just stored above evicted by its own echo a
moment later, failing three cases on every server. Found by the first driver to
run the whole suite (codefly-dev/service-redis#106).

No API change: cachetest only, and the library's own behaviour is untouched. A
consumer that does not run the conformance suite sees no difference from
v0.4.0.

go/cache/v0.4.0

Toggle go/cache/v0.4.0's commit message
go/cache v0.4.0

An origin can bound a value and decline to have it cached, and a stack can
report what it did.

- Entry.Expires: the origin's own bound on a value. It narrows a tier's TTL,
  never extends it, travels with the copy, and no mode serves a copy at or
  past it without revalidating (#18).
- Entry.NoStore: a value the origin vouches for this once only — served to the
  caller, stored in no layer, any fill lease given back. For a value that is
  correct to serve and wrong to keep, where failing the read was the
  alternative (#18).
- WithObserver: per-tier Events — which tier answered, a lease waited on, an
  origin loaded, a tier skipped behind its breaker, and cold told from down —
  with WithObserverErrors for an observer that panics, which is contained
  rather than allowed to fail the read (#19).

Additive: both fields and both options are new, so a stack that sets none
behaves as it did at v0.3.0. The interface version (interface.codefly.yaml) is
unchanged at 0.3.0; this is a library tag.

v0.3.0

Toggle v0.3.0's commit message
codefly.dev/cache@0.3.0

The interface version #12 published (interface.codefly.yaml, definition/published/0.3.0), tagged on the merge that moves definition to core v0.19.4 (#14). The contract is unchanged by the core move.

go/sources/objectstorage/v0.3.0

Toggle go/sources/objectstorage/v0.3.0's commit message
go/sources/objectstorage v0.3.0

Requires go/cache v0.3.0 (the 0.3.0 contract, ConditionalLoads) with no replace (#15), on go 1.27.2 (#14). A minor bump, as v0.2.0 followed go/cache v0.2.0.

go/cache/v0.3.0

Toggle go/cache/v0.3.0's commit message
go/cache v0.3.0

The 0.3.0 Go contract from #12 (feat(cache)!, breaking after v0.2.1), on go 1.27.2 (#14).

v0.2.0

Toggle v0.2.0's commit message

Verified

This tag was signed with the committer’s verified signature.
codefly.dev/cache@0.2.0 interface definition

go/sources/objectstorage/v0.2.0

Toggle go/sources/objectstorage/v0.2.0's commit message

Verified

This tag was signed with the committer’s verified signature.
object-storage cache source v0.2.0 (go/cache v0.2.0)

go/sources/objectstorage/v0.1.0

Toggle go/sources/objectstorage/v0.1.0's commit message

Verified

This tag was signed with the committer’s verified signature.
object-storage cache source v0.1.0

go/cache/v0.2.1

Toggle go/cache/v0.2.1's commit message

Verified

This tag was signed with the committer’s verified signature.
go/cache v0.2.1: cachetest ResyncFlushesMemory waits for pending noti…

…ces (async echoes)

go/cache/v0.2.0

Toggle go/cache/v0.2.0's commit message

Verified

This tag was signed with the committer’s verified signature.
codefly.dev/cache go/cache v0.2.0: identity partitions, generations, …

…notifier contract