Skip to content

Releases: blade-lang/blade

v0.0.86

06 Oct 03:01
Compare
Choose a tag to compare

Version 0.0.86 comes with lots of updates and bug fixes as well as a few breaking changes to the language.

  • Complete change of error handling in Blade.
  • Nyssa now comes prepackages with built-in support for unit testing.
  • Introduces standard image processing module - imagine.
  • Updated http module (curl dependency dropped).
  • Introduces standard mail module - mail.
  • Introduces standard markdown module with 100% compatibility with Commonmark and Github markdowns.
  • Introduces standard templating module templates.
  • Introduces standard html module.
  • Stack limitation dropped. Stacks are now limited by machine resources.
  • Updated ssl module.
  • Updated json module with critical fixes to align with standard specifications.
  • Updated clib module now includes callback function support.
  • Updated ast module with multiple bug fixes.

And many more bug fixes.

What's Changed

New Contributors

Full Changelog: v0.0.85...v0.0.86

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