Releases: MagnusOpera/FScript
Releases · MagnusOpera/FScript
0.41.0
- Added
Int/Float/Boolconversion helpers in stdlib-style builtins (*.tryParseand*.toString) for safe scalar parsing and string formatting. - Added tuple let destructuring (
let (a, b) = ...) for top-level, block, and let-expression non-rec bindings.
Full Changelog: 0.40.0...0.41.0
0.40.0
- Fixed VS Code/LSP analysis to inject a default
Envbinding so scripts usingEnvno longer show unbound-variable diagnostics in the editor. - Fixed VS Code/LSP type navigation so
EnvandEnvironmentresolve to the stdlibEnvironmenttype definition. - Added CLI script argument forwarding with
--and injectedEnvmetadata (ScriptName,Arguments) for file, stdin, and REPL execution modes, withEnvironmentnow defined in stdlib for LSP/type visibility.
Full Changelog: 0.39.0...0.40.0
0.39.0
- Added VS Code REPL commands to open FScript REPL, send selected code to REPL, and execute the current script in REPL from the editor.
- Updated VS Code REPL launch to default to
auto, preferring local workspace CLI (dotnet run --project src/FScript) before falling back tofscripton PATH. - Fixed VS Code REPL script/selection sending to dedent multiline snippets and wrap non-
letsnippets in an innerletvalue block, avoiding premature line-by-line execution and indentation/parser errors for selected inner content while keeping atomic execution and persisting only pure single-letselections.
Full Changelog: 0.38.3...0.39.0
0.38.3
- Updated changelog gating and release preparation so release commits can leave
## [Unreleased]empty without placeholder bullets.
Full Changelog: 0.38.2...0.38.3
0.38.2
- Fixed
release-preparechangelog rendering so the post-release initialization bullet stays under## [Unreleased]instead of being appended to the released section. - Initialize post-0.38.1 unreleased section.
Full Changelog: 0.38.1...0.38.2
0.38.1
- Fixed release preparation to auto-seed
## [Unreleased]with a post-release initialization bullet so changelog CI checks continue to pass after tagging. - Initialize post-0.38.0 unreleased section.
Full Changelog: 0.38.0...0.38.1
- Initialize post-0.38.1 unreleased section.
0.38.0
- Restricted
make release-prepareto stable versions only (major.minor.build) and removed-nextsupport from release docs and validation. - Added REPL documentation under guides and architecture, and updated the getting-started tutorial to include a REPL check right after install.
- Added
make release-prepareto automate changelog versioning, compare link generation, release commit, and local tag creation. - Release tag workflow now populates draft release notes from the matching
CHANGELOG.mdversion section and fails fast when it is missing or invalid. - Initialize post-0.37.0 unreleased section.
- Added CLI stdin execution support so scripts can be piped to
fscript(including-r/--rootoverrides). - Added
fscript versioncommand to print the current CLI version. - Added interactive CLI REPL mode when running
fscriptwithout arguments. - Updated REPL multiline submission to require double-Enter for pending blocks and improved function display with typed signatures.
- Fixed block semantics to reject trailing
let-only blocks without a final expression (for examplelet a = let f x = ...) and require an explicit return expression.
Full Changelog: 0.37.0...0.38.0
0.37.0
- Added resolver-backed import loading APIs (
parseSourceWithIncludesResolverandScriptHost.loadSourceWithIncludes) for hosts that load scripts from non-file sources.
Full Changelog: 0.36.0...0.37.0
0.36.0
- Fixed LSP go-to-definition for alias-qualified function calls (for example
Helpers.append_part).
Full Changelog: 0.35.0...0.36.0
0.35.0
- Fixed LSP completion insertion for dotted prefixes so selecting
Option.mapafterOption.no longer duplicates the qualifier. - Switched import syntax to
import "path.fss" as Aliasand removedfromimport grammar. - Updated LSP type display/navigation to hide internal import prefixes and use source aliases (for example
Common.ProjectInfo). - Renamed sample
includes-and-exports.fsstoimports-and-exports.fssand updated docs links.
Full Changelog: 0.34.0...0.35.0