Skip to content

Releases: candid82/joker

v0.12.8

07 Oct 02:10
Compare
Choose a tag to compare
v0.12.8 Pre-release
Pre-release

General improvements

  • improved string representation of Double
  • added :keywords? option to joker.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 in joker.os/exec to accept IOReader and IOWriter instead of :pipe keyword (see #266 (comment))
  • added --exit-to-repl [socket] and --file command line options (thanks @jcburley!)
  • added joker.io namespace and joker.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

03 Sep 05:02
Compare
Choose a tag to compare
v0.12.7 Pre-release
Pre-release

General improvements

  • improved string representation for BigFloat
  • added support for :append option in spit
  • added support for (doc <namespace>) (thanks @jcburley!)

Linter improvements

  • improved constructor calls handling in ClojureScript (see #249)
  • warn on try without catch or finally
  • warn on try or finally with empty body
  • warn on do with 0 or 1 forms
  • warn on when and when-not with empty body

Fixes

  • fixed integer promotion in Ratio operations

v0.12.6

04 Aug 02:46
Compare
Choose a tag to compare
v0.12.6 Pre-release
Pre-release

General improvements

  • added joker.os/open and joker.os/close functions
  • added joker.core/line-seq function
  • added joker.csv namespace

Fixes

  • fix count for strings with unicode characters

v0.12.5

07 Jul 09:23
Compare
Choose a tag to compare
v0.12.5 Pre-release
Pre-release

General improvements

  • added joker.time/parse and joker.time/add-date functions (thanks @mrichards42!)
  • fixed and improved stdin handling in joker.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

02 Jun 04:08
Compare
Choose a tag to compare
v0.12.4 Pre-release
Pre-release

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

05 May 01:43
Compare
Choose a tag to compare
v0.12.3 Pre-release
Pre-release

General improvements:

  • added joker.crypto and joker.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

06 Apr 22:59
Compare
Choose a tag to compare
v0.12.2 Pre-release
Pre-release

General improvements

  • added joker.os/set-env function. Thanks @charlesg3!
  • added joker.os/exec function
  • added joker.repl/apropos function and joker.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 in defprotocol

v0.12.1

12 Mar 02:17
Compare
Choose a tag to compare
v0.12.1 Pre-release
Pre-release

General improvements

  • some joker.string functions now accept char arguments in addition to strings. Thanks @mrichards42! #184
  • added joker.string/triml and joker.string/trimr. Thanks @mrichards42! #185
  • Joker now exits with code 1 on eval errors. Thanks @mrichards42! #187
  • added joker.tools.cli namespace (port of clojure.tools.cli). Thanks @mrichards42! #186

Linter improvements

  • BigInteger, Thread$State and Thread$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

v0.12.0

10 Feb 00:46
Compare
Choose a tag to compare
v0.12.0 Pre-release
Pre-release

General improvements

  • implemented joker.test and joker.set namespaces (thanks @jcburley!)
  • renamed Bool type to Boolean (this is a BREAKING CHANGE)

Linter improvements

  • warn on duplicate case constant (#170)
  • use core functions' return types for linting (#175)

Fixes

  • fixed division by zero in quot, rem and mod (#158)
  • quot now returns double if one of the arguments is double (#159)
  • accept unary + when reading numbers (#156)
  • load and load-file now throw an error on failures (#157)
  • fixed number comparison (#169)
  • Ratio is now coerced to Int when possible
  • read from forked process stdout and stderr asynchronously (#165) (thanks @jcburley!)

v0.11.1

12 Jan 23:57
Compare
Choose a tag to compare
v0.11.1 Pre-release
Pre-release

General improvements

  • added --classpath command line argument (thanks @jcburley!)

Fixes

  • fixed warning about unused private var inside a namespace (this was a regression in v0.11.0)