Release v0.4 + v0.5 to main (spec, conformance, docs) - #2
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.
Summary
Merges all v0.4 + v0.5 spec, conformance test, and documentation work from the
v0.4development branch intomain. The release work shipped to npm/PyPI/Go on 2026-03-15, but the spec repo'smainbranch was never updated — this PR fixes that drift.What's Included
v0.4 features:
letbindings and arrow params/pattern/flags) with.test(),.match(),.replace()v0.5 features:
sqrt,log,pow,random,sign,trunc) + constants (PI,E)isNumber,isString,isArray,isNull,isObject,isRegex)sortBy,take,drop,count,sum,avg,compact,partition,keyBy,min,max,first,last)fromEntries(),str.split(/regex/)overload, rest parameters in arrowsSpec fixes:
#future-v02anchorTest suites added (8 files, +1475 lines):
conformance/collections_v5.yaml(~45 tests)conformance/math_v5.yaml(~30 tests)conformance/type_predicates.yaml(~22 tests)conformance/features_v5.yaml(~20 tests)conformance/destructuring.yamlconformance/regex_literals.yamlREADME.mdandXPR-SPEC.mdupdatesConformance Status
All 3 runtimes pass these conformance suites at v0.5.0:
xpr-js0.5.0 (npm:@xpr-lang/xpr)xpr-python0.5.0 (PyPI:xpr-lang)xpr-gov0.5.0 (Go module proxy)Merge Strategy
mainis a strict ancestor ofv0.4— fast-forward merge is safe.Commits (9)