v0.1.9 Beta
Pre-release
Pre-release
electrikmilk
released this
18 Jul 21:07
·
641 commits
to main
since this release
Refactor, Optimize, Polish Update
Highlights
- New action: Combine Images
- General refactoring and optimization.
- Reduced the cyclomatic complexity of many functions.
- Fixes and improvements to existing actions: Save File, Crop Image, Ask for Input, List actions, Copy to Clipboard, Output actions and more.
- New warning when the statement is directly after a "stopper" (
output()
,stop()
, etc.) that it is unreachable or does not loop. - Keeps track of usage of references to import questions as they can only be used once, throws an error when they are referenced more than once.
- Improves setting import question usage position.
- Improves determining the "delinquent file" when searching for if an error occurs on an included file.
- Improves and fixes file path logic.
- New colored ASCII art logo.
- New help (
-h
or--help
) flag. Prints usage information. Differs from running with no arguments in that it only prints usage information. - New version (
-v
or--version
) flag. Prints version information. - Improved debug output.
- Fixed import statement parsing.
- Fixed multiline comment parsing.
- Fixed inline variable parsing.
- Added more documentation comments for contributors.
- Added raw actions. Raw actions take an action identifier and an array containing a dictionary containing parameters for the action. It converts the parameters you provide into property list data and changes its own identifier to the identifier you provide. It's like manually entering an action into the resulting Shortcut.
- Added the foundation for a standard library.
- Refactored warnings.
- Arguments can be in any order, detects where the file argument is instead of assuming it will be the first argument.
Notes
We now track the version in the compiler by a variable on a generated file that gets the latest tag which is pretty neat. go generate
is not what I thought it was :P.
I got pretty distracted trying to add arguments to custom actions, so this release is kinda late and doesn't have as much as should match the amount of time since the last release, but still a lot of optimizations and improvements.
Full Changelog: v0.1.8-beta...v0.1.9-beta