Releases: candid82/joker
Releases · candid82/joker
v0.12.8
General improvements
- improved string representation of
Double
- added
:keywords?
option tojoker.json/read-string
joker.repl/doc
now supports types (Thanks @jcburley!)- fixed a crash when comparing built-in functions
- added
:stdout
and:stderr
option to joker.os/exec. - BREAKING CHANGE: changed
:stdin
,:stdout
and:stderr
options injoker.os/exec
to acceptIOReader
andIOWriter
instead of:pipe
keyword (see #266 (comment)) - added
--exit-to-repl [socket]
and--file
command line options (thanks @jcburley!) - added
joker.io
namespace andjoker.io/copy
function - added
*main-file*
var - BREAKING CHANGE: resolving unbound vars now returns
nil
instead of throwing an exception (previous behavior).
Linter improvements
- improved type warnings
- warn on destructuring with no bindings
v0.12.7
General improvements
- improved string representation for
BigFloat
- added support for
:append
option inspit
- added support for
(doc <namespace>)
(thanks @jcburley!)
Linter improvements
- improved constructor calls handling in ClojureScript (see #249)
- warn on
try
withoutcatch
orfinally
- warn on
try
orfinally
with empty body - warn on
do
with 0 or 1 forms - warn on
when
andwhen-not
with empty body
Fixes
- fixed integer promotion in
Ratio
operations
v0.12.6
v0.12.5
General improvements
- added
joker.time/parse
andjoker.time/add-date
functions (thanks @mrichards42!) - fixed and improved
stdin
handling injoker.os/exec
(thanks @rwstauner and @jcburley!) ex-message
now works with built-in errors- added
joker.os/exists?
function
Linter improvements
- recognize ClojureScript global type symbols
- recognize second arity in
read-string
- added
:unused-keys
rule (see #240 for details)
Fixes
- fixed
ex-cause
for nil case
v0.12.4
General improvements
- added
joker.filepath
namespace - added more time formats to
joker.time
- symbol is now a function
- implemented
letfn
Linter improvements
- added
*print-namespace-maps*
- treat all symbols with at least two dots as class names to reduce false positives
Fixes
- fixed stdin piping in
joker.os/exec
v0.12.3
General improvements:
- added
joker.crypto
andjoker.hex
namespaces - fix builds for 32-bit hosts. Thanks @jcburley!
- added
JOKER_CLASSPATH
env var - added initial support for dependency management. Thanks @charlesg3!
Linter improvements:
- relax type hints for
with-meta
- warn on
condp
with no clauses or default expression only - sort warnings about unused parameters and bindings by symbol name. Thanks @jcburley!
Fixes:
- make sure merge does ArrayMap -> HashMap conversion
- fix
#()
reader macro - fix conditional reading
v0.12.2
General improvements
- added
joker.os/set-env
function. Thanks @charlesg3! - added
joker.os/exec
function - added
joker.repl/apropos
function andjoker.repl/dir
macro. Thanks @jcburley! - allowed negative numbers as command line arguments. Thanks @jcburley!
- added
joker.strconv
namespace
Linter improvements
- improved linting of
proxy
macro - fixed
unused-fn-parameters
warning indefprotocol
v0.12.1
General improvements
- some
joker.string
functions now accept char arguments in addition to strings. Thanks @mrichards42! #184 - added
joker.string/triml
andjoker.string/trimr
. Thanks @mrichards42! #185 - Joker now exits with code 1 on eval errors. Thanks @mrichards42! #187
- added
joker.tools.cli
namespace (port ofclojure.tools.cli
). Thanks @mrichards42! #186
Linter improvements
BigInteger
,Thread$State
andThread$UncaughtExceptionHandler
are now recognized by linter. Thanks @conormcd! #180- added unsupported
read
arities to linter. #182 - relaxed timeout argument type to Number in
deref
. #188
Fixes
re-seq
andre-find
now returnnil
when appropriate. Thanks @mrichards42! #183
v0.12.0
General improvements
- implemented
joker.test
andjoker.set
namespaces (thanks @jcburley!) - renamed
Bool
type toBoolean
(this is a BREAKING CHANGE)
Linter improvements
Fixes
- fixed division by zero in
quot
,rem
andmod
(#158) quot
now returns double if one of the arguments is double (#159)- accept unary
+
when reading numbers (#156) load
andload-file
now throw an error on failures (#157)- fixed number comparison (#169)
Ratio
is now coerced toInt
when possible- read from forked process stdout and stderr asynchronously (#165) (thanks @jcburley!)