Skip to content

Releases: sagiegurari/duckscript

duckscript v0.3.2

04 Apr 12:37
Compare
Choose a tag to compare
  • New array_set command.
  • New array_get command #94

duckscript v0.3.1

28 Mar 14:43
Compare
Choose a tag to compare
bump version

duckscript v0.3.0

13 Mar 22:23
Compare
Choose a tag to compare
  • New remove_command command #91
  • [Breaking Change] uname is now a new command and does not alias os_family command.
  • New os_version command.
  • New os_release command.
  • New os_name command.
  • New is_windows command.
  • New glob_chmod command.
  • New glob_array command #90
  • New chmod command #19
  • New is_readonly command.
  • New is_path_exists command.
  • New is_directory command.
  • New is_file command.
  • Runtime - Fix value expansion for control characters

duckscript v0.2.1

21 Feb 11:03
Compare
Choose a tag to compare
  • New temp_file command #85
  • New spawn command #87
  • Update build makefile.
  • Runtime - Add support for Any state type #86
  • SDK - Use fsio crate for file system apis.
  • Runtime - Use fsio crate for file system apis.

duckscript v0.2.0

06 Feb 17:07
Compare
Choose a tag to compare
  • The if/else and not commands now support complex conditions #81
  • Release command now support recursive option.
  • New map_clear command.
  • New map_to_properties command.
  • New map_load_properties command.
  • New map_is_empty command.
  • New map_size command.
  • New map_remove command.
  • New is_map command.
  • New map_get command.
  • New map_put command.
  • New map command.
  • The set command now supports 'or' condition.
  • New base64 command #79
  • New write_binary_file command #78
  • New read_binary_file command #78
  • Rename read/write text fireleasele commands.
  • New base64_decode command #75
  • New base64_encode command #75
  • New bytes_to_string command.
  • New string_to_bytes command.
  • Add prefix flag to write_properties command #77
  • New split command #76
  • New appendfile command.
  • New watchdog command.
  • New pid command #73
  • New whoami command.
  • Alias based command implreleaseementations are not checked for variable leaks.
  • New get_home_dir command.
  • New array_join command.
  • The read_properties command now support --prefix flag.
  • New array_concat command.
  • New trigger_error command.
  • New array_push command.
  • New concat command.
  • Improve wget input parsing.
  • Modify full named commands.
  • Prevent panic for wget and http_client on invalid non http URL input.
  • Runtime - Supports byte array state storage

duckscript v0.1.8

24 Jan 10:27
Compare
Choose a tag to compare
  • Move test directory command to public std namespace to enable duckscript unit testing
  • Enable to clone commands
  • Split wget and http_client command #66
  • New array_pop command
  • Commands created from duckscript now support help text and automatic scope clearing #69
  • New clear_scope command #71
  • New set_error command #68
  • New is_array command #70
  • Test errors in duckscript based tests will break build flow.
  • New --version cli option.
  • New version functions and commands for duckscript and duckscript SDK.
  • New replace command.
  • New current_time command.
  • New greater_than and less_than commands.
  • New wget (http_client) command #20
  • Reduce binary executable size.
  • Fix CLI help documentation.

duckscript v0.1.7

17 Jan 15:17
Compare
Choose a tag to compare
  • Fixed runner to return an error if on_error requested crash or exit and not just end the script.
  • [Breaking Change] Unalias can remove aliases not created from the alias command.
  • New properties read/write commands #61
  • Default command run implementation should crash and not error #63
  • [Breaking Change] Invoking a command that does not exist should crash and not error
  • cat command to support multiple files #62
  • New debug commands (dump_instructions, dump_state, dump_variables) #58 #59 #60
  • Running duck cli without arguments, stars up the repl mode #41 #42

duckscript v0.1.6

12 Jan 19:50
Compare
Choose a tag to compare
  • [Breaking Change] Changed CLI executable from duckscript to duck
  • function, forin and ifelse blocks to support generic end command #53
  • duckscript cli now accepts inline script #40
  • Unit test framework for internal SDK commands and full test suite #51
  • New exit_on_error command #49
  • Ability to write standard SDK commands with duckscript #50
  • New array_is_empty command.
  • [Breaking Change] assert commands should return 'crash' and stop execution #52

duckscript v0.1.5

08 Jan 23:58
Compare
Choose a tag to compare
  • New array_length command
  • [Breaking Change] ForIn accepts handle value not variable name
  • New length command (strlen)
  • New substring command #37
  • New uname/os_family command #43
  • [Breaking Change] Commands should accept empty string ("") inputs #47
  • [Breaking Change] Support spread binding #46
  • Command result of type error, will not break the script and instead call the on_error command #45
  • New get_last_error, get_last_error_line and get_last_error_source commands #45
  • New last_indexof command #36
  • New indexof command #35
  • Added 'quit' and 'q' aliases to exit command #44
  • Added state 64 bit numeric value support #39
  • [Breaking Change] Changed standard namespace to std from sdk #34
  • New read command #33
  • New hostname command #18
  • New trim_start command #29
  • New trim_end command #30
  • New trim command
  • New is_empty command
  • New is_defined command
  • New range command #32

duckscript v0.1.4

03 Jan 15:31
Compare
Choose a tag to compare
  • New contains command #28
  • New ends_with command #27
  • New starts_with command #26
  • New equals command #25