Repository navigation
Update obsidian-bases-expression to 0.3.0-rc.5 - #24
Merged
Merged
Conversation
0.3.0-rc.5 adds a cycle guard to fromJs (obsidian-bases-expression#7), so expression evaluation no longer overflows on circular context values. This backs up the plain-data conversion added for #22. obsidian-bases-expression-builder 0.1.0 requires the expression package at ^0.2.0, so the editor moves to 0.2.0-rc.3, which accepts ^0.3.0-rc.4. Obsidian stays at the locked 1.13.1 because builder rc.3 pins @codemirror/state 6.5.0 and @codemirror/view 6.38.6, matching this repo's own pins.
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.
Updates the expression engine to
obsidian-bases-expression0.3.0-rc.5, which adds thefromJscycle guard from callumalpass/obsidian-bases-expression#8 (fixes callumalpass/obsidian-bases-expression#7). It backs up the plain-data conversion added for #22 in #23.Changes
obsidian-bases-expression^0.2.0→^0.3.0-rc.5.obsidian-bases-expression-builder^0.1.0→^0.2.0-rc.3. This is required: builder 0.1.0 requires expression^0.2.0, while 0.2.0-rc.3 accepts^0.3.0-rc.4.obsidianat 1.13.1. Re-resolving would pick 1.14.4, which requires@codemirror/state6.7.6 and conflicts with the builder's (and this repo's) 6.5.0 pin.package.jsonranges forobsidianand CodeMirror are unchanged.tests/expressions.test.ts: an expression over a context that reaches a circular object evaluates normally.CHANGELOG.mdentry under Unreleased.Changes in 0.3.0-rc.x since 0.2.0 are additions (inference, Bases/mdbase adapters,
thisRecord) and a parser fix for punctuation-only string literals.Checks
npm ci,npm test(72 passed),npm run typecheck,npm run lintandnpm run buildpass. I haven't checked the expression editor in Obsidian, because no instance was running.