Repository navigation
chore: version packages - #469
Merged
Merged
Conversation
cuibonobo
force-pushed
the
changeset-release/main
branch
6 times, most recently
from
November 2, 2026 01:30
5348652 to
3559cb3
Compare
cuibonobo
force-pushed
the
changeset-release/main
branch
from
November 2, 2026 01:59
3559cb3 to
fa4b414
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR was opened by the Changesets release GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to main, this PR will be updated.
Releases
@haverstack/adapter-api@0.43.0
Minor Changes
#470
e0475d2Thanks @cuibonobo! - The stack owner has one name wherever a field can only hold the owner:ownerEntityId._config's content is{ ownerEntityId, timezone }, andConfigContent.entityIdisConfigContent.ownerEntityId.GET /.well-known/stack) carriesownerEntityIdin place ofentityId, inDiscoveryResponseand the discovery fixtures. The_configownership-conflict fixture iserror-conflict-config-owner-change.entityId.#470
b02e69cThanks @cuibonobo! - A stack can be copied whole between adapters, authorship and history included.copyStack(from, create)in@haverstack/core/adaptercopies every Record, soft-deleted and unlisted ones too, with its versions and journal, plus every Type and every blob, into a new storecreatemakes from the source's_configrecord and its history, and returns it open._configtravels as every Record does. Both ends must list their blobs, and the target must hold nothing yet, soAPIAdaptercannot yet be copied from. Copying into aLocalAdapterstore is an export; copying out of one is an import.StackRecordAdapter.importRecord(record, { versions, journal }), which every local adapter implements andAPIAdapterdoes not.StackIdentity,CreateStore,StoreSeed,newStoreSeed()andidentityOf()are exported beside it. Every adapter that creates stores takes aseedin place ofownerEntityIdandtimezone: the_configrecord, with its history, a new store is created holding. A seed only creates: storage already holding a store refuses it, andNativeSQLiteRecordAdapter/LocalAdaptertake nocreatebeside one.MemoryAdapternow holds a real_configrecord.formattable, and opening one in another layout throws the newFormatMismatchError(from@haverstack/core/adapter). A new store is written whole, tables included, in one transaction — a table of the same name already in the database fails the create — and a failedNativeSQLiteRecordAdapter.open()removes a file it created.OwnerMismatchErrorreads<where> is owned by "X", not "Y", andcopyStack()throws it too.saveVersion()is removed from the adapter contract:importRecord()is the one standalone history write.@haverstack/adapter-conformancechecksimportRecord()in the record suite and addsrunCopyConformance(), which holds a full adapter to both halves of a copy.#477
2169cffThanks @cuibonobo! - A time value carries what it means: adate's form says whether it is a moment, a calendar day or a wall-clock reading (see docs/spec/data-model.md § Types). Nothing reads a stack-wide timezone, so_configholds only{ ownerEntityId }.timezoneis removed fromConfigContentand the_config@1schema, from every adapter'sopen()options, fromstack.timezoneandStackRecordAdapterand every adapter that exposed it, and from the discovery response (DiscoveryResponseand the discovery fixtures;discovery-omits-absent-timezoneis removed).StackIdentityandidentityOf()are removed:ConfigContentis what an adapter holds, andnewStoreSeed()stores the one it is given whole.Patch Changes
f1985fd,c4ed857,e0475d2,b02e69c,7f3d108,2169cff]:@haverstack/adapter-conformance@0.13.0
Minor Changes
b02e69cThanks @cuibonobo! - A stack can be copied whole between adapters, authorship and history included.copyStack(from, create)in@haverstack/core/adaptercopies every Record, soft-deleted and unlisted ones too, with its versions and journal, plus every Type and every blob, into a new storecreatemakes from the source's_configrecord and its history, and returns it open._configtravels as every Record does. Both ends must list their blobs, and the target must hold nothing yet, soAPIAdaptercannot yet be copied from. Copying into aLocalAdapterstore is an export; copying out of one is an import.StackRecordAdapter.importRecord(record, { versions, journal }), which every local adapter implements andAPIAdapterdoes not.StackIdentity,CreateStore,StoreSeed,newStoreSeed()andidentityOf()are exported beside it. Every adapter that creates stores takes aseedin place ofownerEntityIdandtimezone: the_configrecord, with its history, a new store is created holding. A seed only creates: storage already holding a store refuses it, andNativeSQLiteRecordAdapter/LocalAdaptertake nocreatebeside one.MemoryAdapternow holds a real_configrecord.formattable, and opening one in another layout throws the newFormatMismatchError(from@haverstack/core/adapter). A new store is written whole, tables included, in one transaction — a table of the same name already in the database fails the create — and a failedNativeSQLiteRecordAdapter.open()removes a file it created.OwnerMismatchErrorreads<where> is owned by "X", not "Y", andcopyStack()throws it too.saveVersion()is removed from the adapter contract:importRecord()is the one standalone history write.@haverstack/adapter-conformancechecksimportRecord()in the record suite and addsrunCopyConformance(), which holds a full adapter to both halves of a copy.Patch Changes
#477
2169cffThanks @cuibonobo! - A time value carries what it means: adate's form says whether it is a moment, a calendar day or a wall-clock reading (see docs/spec/data-model.md § Types). Nothing reads a stack-wide timezone, so_configholds only{ ownerEntityId }.timezoneis removed fromConfigContentand the_config@1schema, from every adapter'sopen()options, fromstack.timezoneandStackRecordAdapterand every adapter that exposed it, and from the discovery response (DiscoveryResponseand the discovery fixtures;discovery-omits-absent-timezoneis removed).StackIdentityandidentityOf()are removed:ConfigContentis what an adapter holds, andnewStoreSeed()stores the one it is given whole.Updated dependencies [
f1985fd,c4ed857,e0475d2,b02e69c,7f3d108,2169cff]:@haverstack/adapter-local@0.43.0
Minor Changes
#470
b02e69cThanks @cuibonobo! - A stack can be copied whole between adapters, authorship and history included.copyStack(from, create)in@haverstack/core/adaptercopies every Record, soft-deleted and unlisted ones too, with its versions and journal, plus every Type and every blob, into a new storecreatemakes from the source's_configrecord and its history, and returns it open._configtravels as every Record does. Both ends must list their blobs, and the target must hold nothing yet, soAPIAdaptercannot yet be copied from. Copying into aLocalAdapterstore is an export; copying out of one is an import.StackRecordAdapter.importRecord(record, { versions, journal }), which every local adapter implements andAPIAdapterdoes not.StackIdentity,CreateStore,StoreSeed,newStoreSeed()andidentityOf()are exported beside it. Every adapter that creates stores takes aseedin place ofownerEntityIdandtimezone: the_configrecord, with its history, a new store is created holding. A seed only creates: storage already holding a store refuses it, andNativeSQLiteRecordAdapter/LocalAdaptertake nocreatebeside one.MemoryAdapternow holds a real_configrecord.formattable, and opening one in another layout throws the newFormatMismatchError(from@haverstack/core/adapter). A new store is written whole, tables included, in one transaction — a table of the same name already in the database fails the create — and a failedNativeSQLiteRecordAdapter.open()removes a file it created.OwnerMismatchErrorreads<where> is owned by "X", not "Y", andcopyStack()throws it too.saveVersion()is removed from the adapter contract:importRecord()is the one standalone history write.@haverstack/adapter-conformancechecksimportRecord()in the record suite and addsrunCopyConformance(), which holds a full adapter to both halves of a copy.#477
2169cffThanks @cuibonobo! - A time value carries what it means: adate's form says whether it is a moment, a calendar day or a wall-clock reading (see docs/spec/data-model.md § Types). Nothing reads a stack-wide timezone, so_configholds only{ ownerEntityId }.timezoneis removed fromConfigContentand the_config@1schema, from every adapter'sopen()options, fromstack.timezoneandStackRecordAdapterand every adapter that exposed it, and from the discovery response (DiscoveryResponseand the discovery fixtures;discovery-omits-absent-timezoneis removed).StackIdentityandidentityOf()are removed:ConfigContentis what an adapter holds, andnewStoreSeed()stores the one it is given whole.Patch Changes
f1985fd,c4ed857,e0475d2,b02e69c,7f3d108,2169cff]:@haverstack/blob-adapter-disk@0.42.0
Minor Changes
@haverstack/core.Patch Changes
f1985fd,c4ed857,e0475d2,b02e69c,7f3d108,2169cff]:@haverstack/blob-adapter-s3@0.30.0
Minor Changes
@haverstack/core.Patch Changes
f1985fd,c4ed857,e0475d2,b02e69c,7f3d108,2169cff]:@haverstack/commons@0.39.0
Minor Changes
@haverstack/core.Patch Changes
f1985fd,c4ed857,e0475d2,b02e69c,7f3d108,2169cff]:@haverstack/conformance-fixtures@0.38.0
Minor Changes
#481
c4ed857Thanks @cuibonobo! - Every immutable field follows one rule._config.ownerEntityId, thedid/appIdbindings and_attachment'sfileId,mimeTypeandsizeare declared in one table and checked onpatchContent(),restoreVersion()andcommitMigration()alike; a migration is asked over the family the record leaves.StackConflictError(409 conflict) with the messageCannot change <family>.<field>: it is immutable once set.Bindings and attachment fields previously threwStackValidationError(422)._attachmentrecord whosemimeTypeconflicts with the one established for itsfileIdthrowsStackConflictError(409 conflict) instead ofStackValidationError(422), like a second claim on a DID binding._attachmentrecord's currentmimeTypeis accepted.mimeTypeestablishment for a record entering the_attachmentfamily.restoreVersion()previously skipped attachment fields, binding uniqueness andmimeTypeestablishment.error-validation-attachment-mimetype-conflict-on-createis renamederror-conflict-attachment-mimetype-on-createand answers 409;error-validation-attachment-mimetype-immutable-on-updateis replaced byerror-conflict-attachment-mimetype-change;error-conflict-config-owner-changecarries the shared message.#470
e0475d2Thanks @cuibonobo! - The stack owner has one name wherever a field can only hold the owner:ownerEntityId._config's content is{ ownerEntityId, timezone }, andConfigContent.entityIdisConfigContent.ownerEntityId.GET /.well-known/stack) carriesownerEntityIdin place ofentityId, inDiscoveryResponseand the discovery fixtures. The_configownership-conflict fixture iserror-conflict-config-owner-change.entityId.#480
35224aeThanks @cuibonobo! - The softDELETEresponses indelete-record-softandchange-feed-deleted-frame-is-not-terminalnow carry the tombstone projection —content: {}, no authorship fields — asdocs/spec/versioning.md § The tombstone is literalrequires. A server built to the old bodies leaked the content a soft delete removes.#477
2169cffThanks @cuibonobo! - A time value carries what it means: adate's form says whether it is a moment, a calendar day or a wall-clock reading (see docs/spec/data-model.md § Types). Nothing reads a stack-wide timezone, so_configholds only{ ownerEntityId }.timezoneis removed fromConfigContentand the_config@1schema, from every adapter'sopen()options, fromstack.timezoneandStackRecordAdapterand every adapter that exposed it, and from the discovery response (DiscoveryResponseand the discovery fixtures;discovery-omits-absent-timezoneis removed).StackIdentityandidentityOf()are removed:ConfigContentis what an adapter holds, andnewStoreSeed()stores the one it is given whole.Patch Changes
e0475d2,2169cff]:@haverstack/core@0.44.0
Minor Changes
#478
f1985fdThanks @cuibonobo! - Every install apply names the plan it approves.installApp(manifest, { did, fingerprint })replacesinstallApp(plan): it plans the manifest again fordidand refuses withStackConflictErrorunless the result is the plan whosefingerprintit was given, so a server that shows the owner a plan in one request and applies it in another checks the approval exactly as an in-process caller passingplan.fingerprintdoes.InstallPlancarries thatfingerprint: a SHA-256 over the plan the owner sees, in canonical form — schemas byschemaHash, every list as a set — with no Record'sversionin it, so neither a reordering store nor an edit no plan shows makes an approval stale. A list of requests is held to one rule wherever it is written — a manifest or an_installRecord: each request a grantgrantType()would accept, each family requested once, and an_install'sdefineslisting each version once. An action list is a set written without repeats:grantType(), a_grantwrite, a manifest's requests and an_installwrite all refuse an action named twice withStackValidationError, a stored list still read as a set. A manifest's refusals are reported together, each at its path in the manifest.InstallAppOptionsis exported from@haverstack/core.#481
c4ed857Thanks @cuibonobo! - Every immutable field follows one rule._config.ownerEntityId, thedid/appIdbindings and_attachment'sfileId,mimeTypeandsizeare declared in one table and checked onpatchContent(),restoreVersion()andcommitMigration()alike; a migration is asked over the family the record leaves.StackConflictError(409 conflict) with the messageCannot change <family>.<field>: it is immutable once set.Bindings and attachment fields previously threwStackValidationError(422)._attachmentrecord whosemimeTypeconflicts with the one established for itsfileIdthrowsStackConflictError(409 conflict) instead ofStackValidationError(422), like a second claim on a DID binding._attachmentrecord's currentmimeTypeis accepted.mimeTypeestablishment for a record entering the_attachmentfamily.restoreVersion()previously skipped attachment fields, binding uniqueness andmimeTypeestablishment.error-validation-attachment-mimetype-conflict-on-createis renamederror-conflict-attachment-mimetype-on-createand answers 409;error-validation-attachment-mimetype-immutable-on-updateis replaced byerror-conflict-attachment-mimetype-change;error-conflict-config-owner-changecarries the shared message.#470
e0475d2Thanks @cuibonobo! - The stack owner has one name wherever a field can only hold the owner:ownerEntityId._config's content is{ ownerEntityId, timezone }, andConfigContent.entityIdisConfigContent.ownerEntityId.GET /.well-known/stack) carriesownerEntityIdin place ofentityId, inDiscoveryResponseand the discovery fixtures. The_configownership-conflict fixture iserror-conflict-config-owner-change.entityId.#470
b02e69cThanks @cuibonobo! - A stack can be copied whole between adapters, authorship and history included.copyStack(from, create)in@haverstack/core/adaptercopies every Record, soft-deleted and unlisted ones too, with its versions and journal, plus every Type and every blob, into a new storecreatemakes from the source's_configrecord and its history, and returns it open._configtravels as every Record does. Both ends must list their blobs, and the target must hold nothing yet, soAPIAdaptercannot yet be copied from. Copying into aLocalAdapterstore is an export; copying out of one is an import.StackRecordAdapter.importRecord(record, { versions, journal }), which every local adapter implements andAPIAdapterdoes not.StackIdentity,CreateStore,StoreSeed,newStoreSeed()andidentityOf()are exported beside it. Every adapter that creates stores takes aseedin place ofownerEntityIdandtimezone: the_configrecord, with its history, a new store is created holding. A seed only creates: storage already holding a store refuses it, andNativeSQLiteRecordAdapter/LocalAdaptertake nocreatebeside one.MemoryAdapternow holds a real_configrecord.formattable, and opening one in another layout throws the newFormatMismatchError(from@haverstack/core/adapter). A new store is written whole, tables included, in one transaction — a table of the same name already in the database fails the create — and a failedNativeSQLiteRecordAdapter.open()removes a file it created.OwnerMismatchErrorreads<where> is owned by "X", not "Y", andcopyStack()throws it too.saveVersion()is removed from the adapter contract:importRecord()is the one standalone history write.@haverstack/adapter-conformancechecksimportRecord()in the record suite and addsrunCopyConformance(), which holds a full adapter to both halves of a copy.#468
7f3d108Thanks @cuibonobo! - Authority is gated the same way whenever it is written.editAccess(),setAccess()andsetUnlisted()refuse a creator who cannot read their Record, such as one removed from the roster that conveyed it, or a drop-box contributor.permissionsandunlistedatcreate()pass the same gate, asked of the Record the create would make._groupnor creates one, even with its own DID on the roster. The owner's own software acting for a subject still can.#477
2169cffThanks @cuibonobo! - A time value carries what it means: adate's form says whether it is a moment, a calendar day or a wall-clock reading (see docs/spec/data-model.md § Types). Nothing reads a stack-wide timezone, so_configholds only{ ownerEntityId }.timezoneis removed fromConfigContentand the_config@1schema, from every adapter'sopen()options, fromstack.timezoneandStackRecordAdapterand every adapter that exposed it, and from the discovery response (DiscoveryResponseand the discovery fixtures;discovery-omits-absent-timezoneis removed).StackIdentityandidentityOf()are removed:ConfigContentis what an adapter holds, andnewStoreSeed()stores the one it is given whole.@haverstack/record-adapter-do-sqlite@0.29.0
Minor Changes
#470
e0475d2Thanks @cuibonobo! - The stack owner has one name wherever a field can only hold the owner:ownerEntityId._config's content is{ ownerEntityId, timezone }, andConfigContent.entityIdisConfigContent.ownerEntityId.GET /.well-known/stack) carriesownerEntityIdin place ofentityId, inDiscoveryResponseand the discovery fixtures. The_configownership-conflict fixture iserror-conflict-config-owner-change.entityId.#470
b02e69cThanks @cuibonobo! - A stack can be copied whole between adapters, authorship and history included.copyStack(from, create)in@haverstack/core/adaptercopies every Record, soft-deleted and unlisted ones too, with its versions and journal, plus every Type and every blob, into a new storecreatemakes from the source's_configrecord and its history, and returns it open._configtravels as every Record does. Both ends must list their blobs, and the target must hold nothing yet, soAPIAdaptercannot yet be copied from. Copying into aLocalAdapterstore is an export; copying out of one is an import.StackRecordAdapter.importRecord(record, { versions, journal }), which every local adapter implements andAPIAdapterdoes not.StackIdentity,CreateStore,StoreSeed,newStoreSeed()andidentityOf()are exported beside it. Every adapter that creates stores takes aseedin place ofownerEntityIdandtimezone: the_configrecord, with its history, a new store is created holding. A seed only creates: storage already holding a store refuses it, andNativeSQLiteRecordAdapter/LocalAdaptertake nocreatebeside one.MemoryAdapternow holds a real_configrecord.formattable, and opening one in another layout throws the newFormatMismatchError(from@haverstack/core/adapter). A new store is written whole, tables included, in one transaction — a table of the same name already in the database fails the create — and a failedNativeSQLiteRecordAdapter.open()removes a file it created.OwnerMismatchErrorreads<where> is owned by "X", not "Y", andcopyStack()throws it too.saveVersion()is removed from the adapter contract:importRecord()is the one standalone history write.@haverstack/adapter-conformancechecksimportRecord()in the record suite and addsrunCopyConformance(), which holds a full adapter to both halves of a copy.#477
2169cffThanks @cuibonobo! - A time value carries what it means: adate's form says whether it is a moment, a calendar day or a wall-clock reading (see docs/spec/data-model.md § Types). Nothing reads a stack-wide timezone, so_configholds only{ ownerEntityId }.timezoneis removed fromConfigContentand the_config@1schema, from every adapter'sopen()options, fromstack.timezoneandStackRecordAdapterand every adapter that exposed it, and from the discovery response (DiscoveryResponseand the discovery fixtures;discovery-omits-absent-timezoneis removed).StackIdentityandidentityOf()are removed:ConfigContentis what an adapter holds, andnewStoreSeed()stores the one it is given whole.Patch Changes
f1985fd,c4ed857,e0475d2,b02e69c,7f3d108,2169cff]:@haverstack/record-adapter-sqlite@0.36.0
Minor Changes
#470
e0475d2Thanks @cuibonobo! - The stack owner has one name wherever a field can only hold the owner:ownerEntityId._config's content is{ ownerEntityId, timezone }, andConfigContent.entityIdisConfigContent.ownerEntityId.GET /.well-known/stack) carriesownerEntityIdin place ofentityId, inDiscoveryResponseand the discovery fixtures. The_configownership-conflict fixture iserror-conflict-config-owner-change.entityId.#470
b02e69cThanks @cuibonobo! - A stack can be copied whole between adapters, authorship and history included.copyStack(from, create)in@haverstack/core/adaptercopies every Record, soft-deleted and unlisted ones too, with its versions and journal, plus every Type and every blob, into a new storecreatemakes from the source's_configrecord and its history, and returns it open._configtravels as every Record does. Both ends must list their blobs, and the target must hold nothing yet, soAPIAdaptercannot yet be copied from. Copying into aLocalAdapterstore is an export; copying out of one is an import.StackRecordAdapter.importRecord(record, { versions, journal }), which every local adapter implements andAPIAdapterdoes not.StackIdentity,CreateStore,StoreSeed,newStoreSeed()andidentityOf()are exported beside it. Every adapter that creates stores takes aseedin place ofownerEntityIdandtimezone: the_configrecord, with its history, a new store is created holding. A seed only creates: storage already holding a store refuses it, andNativeSQLiteRecordAdapter/LocalAdaptertake nocreatebeside one.MemoryAdapternow holds a real_configrecord.formattable, and opening one in another layout throws the newFormatMismatchError(from@haverstack/core/adapter). A new store is written whole, tables included, in one transaction — a table of the same name already in the database fails the create — and a failedNativeSQLiteRecordAdapter.open()removes a file it created.OwnerMismatchErrorreads<where> is owned by "X", not "Y", andcopyStack()throws it too.saveVersion()is removed from the adapter contract:importRecord()is the one standalone history write.@haverstack/adapter-conformancechecksimportRecord()in the record suite and addsrunCopyConformance(), which holds a full adapter to both halves of a copy.#477
2169cffThanks @cuibonobo! - A time value carries what it means: adate's form says whether it is a moment, a calendar day or a wall-clock reading (see docs/spec/data-model.md § Types). Nothing reads a stack-wide timezone, so_configholds only{ ownerEntityId }.timezoneis removed fromConfigContentand the_config@1schema, from every adapter'sopen()options, fromstack.timezoneandStackRecordAdapterand every adapter that exposed it, and from the discovery response (DiscoveryResponseand the discovery fixtures;discovery-omits-absent-timezoneis removed).StackIdentityandidentityOf()are removed:ConfigContentis what an adapter holds, andnewStoreSeed()stores the one it is given whole.Patch Changes
f1985fd,c4ed857,e0475d2,b02e69c,7f3d108,2169cff]:@haverstack/wire-types@0.43.0
Minor Changes
#470
e0475d2Thanks @cuibonobo! - The stack owner has one name wherever a field can only hold the owner:ownerEntityId._config's content is{ ownerEntityId, timezone }, andConfigContent.entityIdisConfigContent.ownerEntityId.GET /.well-known/stack) carriesownerEntityIdin place ofentityId, inDiscoveryResponseand the discovery fixtures. The_configownership-conflict fixture iserror-conflict-config-owner-change.entityId.#477
2169cffThanks @cuibonobo! - A time value carries what it means: adate's form says whether it is a moment, a calendar day or a wall-clock reading (see docs/spec/data-model.md § Types). Nothing reads a stack-wide timezone, so_configholds only{ ownerEntityId }.timezoneis removed fromConfigContentand the_config@1schema, from every adapter'sopen()options, fromstack.timezoneandStackRecordAdapterand every adapter that exposed it, and from the discovery response (DiscoveryResponseand the discovery fixtures;discovery-omits-absent-timezoneis removed).StackIdentityandidentityOf()are removed:ConfigContentis what an adapter holds, andnewStoreSeed()stores the one it is given whole.Patch Changes
f1985fd,c4ed857,e0475d2,b02e69c,7f3d108,2169cff]: