Rex v0.6.0
Rex 0.6.0
Rex 0.6.0 expands the standard library, tightens several compiler checks, and clarifies the current path toward Rex 1.0.
Highlights
Standard library
- Added
rex::processprocess.run(&command) -> Result<num, str>process.capture(&command) -> Result<(num, str), str>
- Added
rex::urlurl.parse(&url) -> Result<Map<str, str>, str>url.encode_component(&text) -> strurl.decode_component(&text) -> Result<str, str>url.join(&base, &part) -> strurl.with_query(&base, ¶ms) -> str
Compiler and diagnostics
- Generic bounds are now validated more strictly at call sites.
- Multi-tag
matcharms that attempt to use bindings now fail with a clear parse error instead of being accepted in a broken state. - Internal method dispatch generation was tightened for nested member calls.
http.get_statusnow matches its documented return shape more closely.
CLI and release workflow
- Added explicit CLI version reporting:
rex versionrex --versionrex -v
- Added
rex check-updateto compare the local CLI version with the latest published release. - Clarified the distinction between:
- the Rex CLI/language version
- the project version written to
rex.toml
Documentation
- Updated standard library documentation for the new modules.
- Added new examples for
processandurl. - Reworked the roadmap and spec notes to make the current pre-1.0 direction explicit.
Notes
This release does not introduce new core syntax. The focus of 0.6.0 is standard library growth, stronger diagnostics, and a cleaner path toward a stable 1.0 baseline.
Direction toward Rex 1.0
The goal remains a disciplined Rex 1.0 release with a stable core surface, clearer version semantics, stronger compiler guarantees, and a more complete standard runtime. Rex 0.6.0 is an incremental step in that direction, not the final freeze point.
Full Changelog: v0.5.1...v0.6.0