Skip to content

v0.25.0

Choose a tag to compare

@github-actions github-actions released this 08 Nov 13:18
· 738 commits to master since this release
39b4290

Provider contracts 25.40 and 25.41

  • Contract 25.40: a comparison that names declared kinds or declared facet
    kinds also receives the current objects and facets of those kinds, with
    their values and coverage (models.current-context). It can then accept
    what the read holds and a plan keeps, such as a topic the read lists but
    cannot describe. ptah-ydb-plugin v0.8.0 uses it for transfers.
  • Contract 25.41: an engine declares the kinds of object its reads leave out,
    and each read records them (schema.not-described). Ptah adds the kinds to
    the names a document may use, writes the records into the HCL header of
    ptah schema inspect and ptah-compat schema inspect and into the JSON of
    ptah schema inspect --format json, and reads the header line back.
    ptah db read and ptah introspect write no such line.
    ptah-spanner-plugin v0.4.0 uses it to record change streams on every read,
    as Ptah's built-in Spanner engine did.

The SDK releases are provider-sdk/v0.38.0 (25.40) and v0.39.0 (25.41).
The contract freezes together with Ptah 1.0 at major 25 (ADR 0102).

For provider authors

  • An object comparison reads the current context only where its engine
    negotiated the feature and the comparison names a declared kind or declared
    facet kind. Registration refuses one that names no declared kind, or one
    whose owner registers no observed model for it. Embedders find the context
    in engine.ObjectComparison.CurrentContext and
    ObjectComparisonRequest.CurrentContext (ADR 0122).
  • A not-described kind joins engine.Provider.CoverageKinds, and a read's
    records land in catalog.Database.NotDescribed. Ptah refuses a kind that is
    one of its common kinds or another provider's: invalid provider registration: coverage kind "view" is a common kind and cannot be an owner's (ADR 0123).

Dependency updates: provider-sdk v0.39.0.

The provider pages on docs.ptah.run follow ptah-ydb-plugin v0.7.0,
ptah-spanner-plugin v0.3.0 and ptah-duckdb-plugin v0.2.0.

Changelog

  • 0734fa5 Add contract 25.40: the current state of another comparison's models (#5801)
  • 605a416 Add contract 25.41: the kinds of object a read does not describe (#5805)
  • 6c5cc5a Adopt contract 25.40: the current state of another comparison's models (#5804)
  • 39b4290 Adopt contract 25.41 on the host: not-described kinds (#5810)
  • 0482543 Describe the YDB read's record of an unreadable changefeed set in ADR 0122 (#5806)
  • f4c762e Import the YDB provider pages from v0.7.0 (#5802)
  • 2e824eb Import the provider pages from YDB v0.6.0 and Spanner v0.3.0 (#5800)
  • a17ffca List provider-sdk/v0.38.0 in the SDK release table (#5808)
  • 7f4d551 Pin the provider SDK at provider-sdk/v0.39.0 (#5809)