Skip to content

Rex v0.6.0

Choose a tag to compare

@github-actions github-actions released this 19 Mar 02:57

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::process
    • process.run(&command) -> Result<num, str>
    • process.capture(&command) -> Result<(num, str), str>
  • Added rex::url
    • url.parse(&url) -> Result<Map<str, str>, str>
    • url.encode_component(&text) -> str
    • url.decode_component(&text) -> Result<str, str>
    • url.join(&base, &part) -> str
    • url.with_query(&base, &params) -> str

Compiler and diagnostics

  • Generic bounds are now validated more strictly at call sites.
  • Multi-tag match arms 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_status now matches its documented return shape more closely.

CLI and release workflow

  • Added explicit CLI version reporting:
    • rex version
    • rex --version
    • rex -v
  • Added rex check-update to 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 process and url.
  • 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