Skip to content

v0.8.1

Pre-release
Pre-release

Choose a tag to compare

@candid82 candid82 released this 28 May 05:07
· 1832 commits to master since this release

General improvements

  • added joker.core/doto macro
  • added some Clojure 1.9 functions: boolean?, any?, int?, pos-int?, neg-int?, nat-int?, double?, simple-ident?, qualified-ident?, simple-symbol?, qualified-symbol?, simple-keyword?, qualified-keyword?, seqable?, indexed?, bounded-count,

Linter improvements

  • warning on if without else branch. See #9. The warning is off by default. To enable it, add :if-without-else rule in .joker file:
{:known-macros [...]
 :rules {:if-without-else true}}
  • added :ignored-unused-namespaces option in .joker file to hide a warning on an unused namespace (thanks @joelash for this contribution). If you want Joker to ignore some unused namespaces (i.e. if they are required for their side effects), you can list them in :ignored-unused-namespaces vector. For example:
{:known-macros [...]
 :rules {...}
 :ignored-unused-namespaces [foo.bar]}
  • more warnings on invalid function calls (i.e. ("oops") will now result in a warning)

Fixes

  • fixed unused binding warning in desctructured maps
  • fixed recur in try, catch and finally