Skip to content

v0.6.0

Latest
Compare
Choose a tag to compare
@rootCircle rootCircle released this 28 Aug 20:01
f5924bd

Changes since v0.4.0

Clex

Introducing custom character types in String, breaking syntax!

Now, for custom character sets use @CH_ALL@, @CH_UPPER@ etc(as found in Clex Language Specs) or literal string like 'abc' it will generate either of abc!

We also dropped Character Type as it use was not profound! For using Character Type simply replace it with S[1,]

Critical Bug Fix:

[Critical High] Due to race condition, cpast test ... might leave a orphan child process in non --no-stop cases! This will eventually eat all your system memory and potentially crash it as well! This has been fixed as well!

Breaking Changes

  • Introduced improved error propagation, (don't exit before error) and improved error types
  • Modify public and private function signature to accommodate error propagation

Misc

  1. Introduce CPAST_DEBUG env, to reduce verbosity of Success Testcase message! It's now disabled by default! To enable use CPAST_DEBUG=1 cpast test ...

  2. Shell completion support! Generate using

    • zsh: cpast --completions=zsh | sudo tee /usr/local/share/zsh/site-functions/_cpast
    • fish: cpast --completions=fish > ~/.local/share/fish/generated_completions/cpast.fish
    • bash: cpast --completions=bash | sudo tee /etc/bash_completion.d/cpast.bash

Full Changelog: v0.4.0...v0.6.0