Repository navigation
chore: version packages - #5
Merged
Merged
Conversation
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 publish to npm yourself or setup this action to publish 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/eleventy@0.3.0
Minor Changes
#4
8b9d519Thanks @cuibonobo! - Bump@haverstack/coreto^0.37.0and@haverstack/commonsto^0.31.0.Existing stacks must be recreated. Core 0.35.0 stores record permissions as
associations and takes
parentIdoff the version tier. The SQLite schema isCREATE TABLE IF NOT EXISTSonly and ships no migration, so a database writtenby an older core opens and then fails on the first permission write: its
associationstable keeps akindconstraint that refusespermissionandanyone, and has norelated_roleorattachment_record_idcolumn.Permissionis gone. A record's ACL is nowAuthorityAssociation[]— apermissionassociation whose bit is its label and whosegranteecarries arequired
role, or ananyoneassociation spelling world-read affirmatively.[{ access: 'public' }]becomes[{ kind: 'anyone', label: 'read' }]. Theassociationskey narrows toDataAssociation[], since authority kinds nowlive in the same table behind a separate key.
The plugin reads rather than writes both sets, so this is a dependency and
documentation change: no module needed a code change, and
StackRecord's twoprojections keep an association loop from ever seeing an ACL entry. Attachment
candidates are now ordered by core's own total order (
createdAt, thenid)so two uploads landing in the same millisecond stage the same way every build.
docs/design.md § Rebuilding on changeis corrected, and the correction is thepart worth reading before building rebuild avoidance. Since 0.33–0.35 the
journal-tier ops —
associate,dissociate,permissions,reparent,unlist,list— leaveversionandupdatedAtexactly where they stand.The previously sketched
updatedAt: { after }gate would therefore skip arebuild for precisely the edits this plugin cares most about: adding a record to
a site, scoping one with
for-site, embedding an attachment, moving a page, orpublishing a draft. The gate now runs after load and fingerprints the index
(associations and permissions included) rather than asking the query layer a
question
updatedAtcan no longer answer. A watching--servecorrespondinglyreads
RecordChange.ops, neverversion.