Added
- Added the
-p
/--include-path
CLI command to prepend entries to thesys.path
as an alternative toPYTHONPATH
(#1027) - Added an empty entry to
sys.path
for all CLI entrypoints (basilisp run
,basilisp repl
, etc.) (#1027) - Added command line arguments for enabling the development logger and configuring the logging level (#1047)
Changed
- The compiler will no longer require
Var
indirection for top-leveldo
forms unless those forms specify^:use-var-indirection
metadata (which currently is only used in thens
macro) (#1034) - nREPL server no longer sends ANSI color escape sequences in exception messages to clients (#1039)
Fixed
- Fix a bug where the compiler would always generate inline function definitions even if the
inline-functions
compiler option is disabled (#1023) - Fix a bug where
defrecord
/deftype
constructors could not be used in the type's methods (#1025) - Fix a bug where
keys
andvals
would fail for records (#1030) - Fix a bug where operations on records created by
defrecord
failed for fields whose Python-safe names were mangled by the Python compiler (#1029) - Fix incorrect line numbers for compiler exceptions in nREPL when evaluating forms in loaded files (#1037)
- Fix issue where the compiler exception message from the nREPL server could refer to the initially loaded file instead of the updated one (#1042)
Full Changelog: v0.2.1...v0.2.2