Skip to content

Release v1.3.0#24

Merged
JosunLP merged 12 commits into
mainfrom
release/v1.3.0
Jul 6, 2026
Merged

Release v1.3.0#24
JosunLP merged 12 commits into
mainfrom
release/v1.3.0

Conversation

@JosunLP

@JosunLP JosunLP commented Jul 6, 2026

Copy link
Copy Markdown
Contributor

Summary

Release PR for HypnoScript v1.3.0 (dev → main).

Language & Runtime (since v1.2.0)

  • Closures with lexical scoping (by-value captures, recursion); dynamic scoping removed
  • Recursion depth limit (HYPNO_MAX_CALL_DEPTH, --max-call-depth, default 1,000) with graceful RecursionLimitExceeded
  • Filesystem sandbox for file builtins (HYPNO_SANDBOX, --sandbox)
  • Real promise builtins: delayedValue, instantPromise, promiseAll, promiseRace, isPromiseResolved
  • null literal, nullable types (number? / lucid number), array type annotations (string[])
  • String interpolation "${expr}", unicode escapes \uXXXX / \xNN, digit separators & exponent literals
  • Labeled loops with labeled snap/sink, drift(ms)/pauseReality(ms), standalone deepFocus, imperative suggestion, sharedTrance shorthand
  • Central builtin registry (142 builtins), structured syntax errors with positions, interpreter modularized, Rc-shared values
  • UTF-8 BOM / UTF-16 source decoding; check exits non-zero on type errors
  • All 27 .hyp sample programs now run in the test sweep (previously 16)

Release preparation (this branch)

  • Version bumped 1.2.0 → 1.3.0 across workspace Cargo.toml, package.json, docs package, build scripts, winget/debian manifests, CLI defaults and lockfile constants
  • CHANGELOG.md: Unreleased → [1.3.0] - 2026-07-06, added missing entries (unicode escapes, unicode-aware PadLeft/PadRight)
  • Documentation filled in for previously undocumented features: closures & scoping, recursion limit, sandbox, promise builtins, encoding tolerance, new syntax forms (11 docs pages updated)
  • GitHub Actions workflows updated (action version bumps, greetings/label/stale rework, summary workflow removed)

Test plan

  • cargo fmt --all -- --check
  • cargo clippy --workspace --all-targets
  • cargo test --workspace — all 11 suites green (336 tests)
  • After merge: tag v1.3.0 and run release builds (release:all)

🤖 Generated with Claude Code

Copilot AI and others added 12 commits March 20, 2026 00:37
Co-authored-by: JosunLP <20913954+JosunLP@users.noreply.github.com>
Co-authored-by: JosunLP <20913954+JosunLP@users.noreply.github.com>
Co-authored-by: JosunLP <20913954+JosunLP@users.noreply.github.com>
Co-authored-by: JosunLP <20913954+JosunLP@users.noreply.github.com>
…-and-expand-syntax

Add Unicode string escapes and make string padding Unicode-aware
… new features

Bump all version references from 1.2.0 to 1.3.0 (workspace, package
manifests, build scripts, winget/debian metadata, CLI defaults), move
the Unreleased changelog section to 1.3.0 and add the previously
missing entries for unicode string escapes and unicode-aware padding.
Document features that shipped without docs: closures & lexical
scoping, recursion depth limit, filesystem sandbox, promise builtins,
source encoding tolerance and new syntax forms.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Bump action versions (checkout@v7, setup-node@v6, configure-pages@v6,
upload-pages-artifact@v5, deploy-pages@v5, first-interaction@v3),
rework greetings/label/stale workflows and remove the summary workflow.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants