Skip to content

Releases: blade-lang/blade

v0.0.85

25 May 00:37
Compare
Choose a tag to compare
  • Reimplemented utf8 for better string lower and upper casing as well as other functions.
  • Fixed dictionary duplicate entries possibility bug.
  • ast module updated to reflect new language changes.
  • Major bug fixes and optimization.
  • Fixed file() crash when created with invalid path.
  • Add support for positional arguments in args module.
  • Updated value_to_string() C API to return Blade string object instead of char*.
  • Removed the Blade -j switch due to its performance impact in favor of the DEBUG_STACK compile flag.
  • Minor GC updates.
  • Fixed missing H format for date.format().
  • Minor updates to the socket and http module.
  • Major memory leak fixes.
  • Minor optimization in string.join().

v0.0.84

20 Apr 08:29
Compare
Choose a tag to compare
  • Fixed occasional gc error on concatenate.
  • Fixed issue #157
  • Fixed crash on string split with named parameters
  • Fixed structs in clib, and extended struct and reflect library with new capabilities
  • Fix clib crash with some libraries when optimized in release mode
  • Introduced warning flag to Blade interpreter
  • Changed rand() implementation to use Mersenne Twister algorithm.
  • Fix wrong named pattern key length (#153).
  • Minor updates and build fixes for zlib
  • Fixed critical clib issues with passing nil to functions expecting a pointer
  • Syntax update: Allow lists to end with a comma
  • Syntax update: dictionary can now infer value from same variable as name. e.g. {egg} becomes {egg: egg}
  • Syntax update: NEW in v0.0.84, dictionaries can declare extra methods as part of their entries.
  • Added more reflect functions and fixed few clib bug
  • Memory leak fixes for #159
  • Fixed pointer get and set index in clib as well as number pointers in reflect.get_ptr()
  • Fixed global space pollution on import * from modules

v0.0.83

20 Mar 06:47
Compare
Choose a tag to compare
  1. introducing new anonymous syntax (See documentation)
  2. TLSServer separation from http module

v0.0.82

09 Mar 17:49
Compare
Choose a tag to compare
  • Fixed method override for to_list builtin function.
  • Updates to ast module ParseResult
  • Fixed linux autoinstall failure when updating on Linux
  • Added utf-8 support for strings functions is_lower(), is_upper(), lower() and upper().
  • string.ascii() now takes an optional boolean argument that can be used to toggle on or off.
  • added more get metadata, set_global() and run_script() to reflect module.
  • Fix error on method overrides when not supported.

v0.0.81

31 Jan 09:18
7519ad8
Compare
Choose a tag to compare
  • Fixed convert.hex_to_bytes() missing trailing byte when less than A.
  • socket module now export a default function.
  • Fixed multiple try...catch… bugs
  • Added Blade option -c that allows users to quickly run a short snippet without the REPL or file.
  • Blade option -d no longer exit.
  • Added Blade option -e to replace the former -d.
  • OP_DIE now discards local
  • Significant fixes in ssl module.

v0.0.8

17 Jan 15:50
Compare
Choose a tag to compare
  • Fixed frozen zlib on buffer error and return truncated files for bad zip file entries.
  • Fixed broken import in REPL.
  • Fixed package import failure when package is imported from another directory.
  • Updates to zlib module.
  • Added os.current_file() function.
  • Fixed broken newlines in json encoder.
  • Added os.exe_path constant.
  • Fixed hash.sha1 build warning on windows.
  • Fixed failing Windows OS builds.
  • Updated documentations.

v0.0.77

31 Dec 00:18
Compare
Choose a tag to compare
  • Fixed Blade hanging for rand(x, y) on Windows.

v0.0.76

30 Dec 19:11
Compare
Choose a tag to compare
  • Bug fixes in http module
  • Fix bug where windows fail to import ssl module due to WinLibs Mingw64 build bug.

v0.0.75

27 Dec 08:39
Compare
Choose a tag to compare
  • string.split() now supports regex
  • http server updates with support for server sent cookies.
  • Multiple bug fixes for linux OS

v0.0.74

21 Dec 20:31
Compare
Choose a tag to compare
  • Fixed broken exception system.
  • Fixed broken break keyword.
  • Fixed crash on/after third instruction from the REPL.
  • Fixed crash with named patterns in regex.
  • Fixed broken parse for static methods in ast module.
  • string.replace() can now use a normal string instead of regex in the pattern.
  • string.index_of() and list.index_of() now accepts second argument that allows us to specify a start index.
  • Updates and bug fixes to the http module.
  • Updates to the reflect library.
  • Updates to the iters library.
  • Multiple bug fixes.
  • Fixed .blade library import failure when file is run outside containing folder.