Releases: blade-lang/blade
Releases · blade-lang/blade
v0.0.85
- 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 theDEBUG_STACK
compile flag. - Minor GC updates.
- Fixed missing
H
format fordate.format()
. - Minor updates to the
socket
andhttp
module. - Major memory leak fixes.
- Minor optimization in
string.join()
.
v0.0.84
- Fixed occasional gc error on concatenate.
- Fixed issue #157
- Fixed crash on string split with named parameters
- Fixed structs in
clib
, and extendedstruct
andreflect
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 passingnil
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 fewclib
bug - Memory leak fixes for #159
- Fixed pointer get and set index in
clib
as well as number pointers inreflect.get_ptr()
- Fixed global space pollution on import * from modules
v0.0.83
- introducing new anonymous syntax (See documentation)
- TLSServer separation from http module
v0.0.82
- Fixed method override for
to_list
builtin function. - Updates to
ast
moduleParseResult
- Fixed linux autoinstall failure when updating on Linux
- Added utf-8 support for strings functions
is_lower()
,is_upper()
,lower()
andupper()
. string.ascii()
now takes an optional boolean argument that can be used to toggle on or off.- added more get metadata,
set_global()
andrun_script()
to reflect module. - Fix error on method overrides when not supported.
v0.0.81
- Fixed
convert.hex_to_bytes()
missing trailing byte when less thanA
. 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
- 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
- Fixed Blade hanging for
rand(x, y)
on Windows.
v0.0.76
- Bug fixes in
http
module - Fix bug where windows fail to import
ssl
module due to WinLibs Mingw64 build bug.
v0.0.75
string.split()
now supports regexhttp
server updates with support for server sent cookies.- Multiple bug fixes for linux OS
v0.0.74
- 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()
andlist.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.