For a list of breaking changes, check here
Thanks @llacom, @AndreTheHunter, @xingzheone for contributing to this release.
- Add eldoc support in babashka.nrepl (@borkdude and @llacom)
- Add
java.time.temporal.{TemportalAdjuster, TemporalAmount}
classes - Add
clojure.java.browse/browse-url
#495 - Add classes for cli-matic library (@AndreTheHunter)
- Add
babashka.version
system property #479 - Add
java.net.ConnectException
class - Add
babashka.file
system property to support__name__ = "__main__"
pattern (see docs) #478.
- Make
clojure.test/report
a dynamic var #482, #491 - Make
clojure.test/test-var
a dynamic var - Allow arbitrary Clojure code in tagged literals (previously only EDN was allowed)
- Fix http-server example (@xingzheone)
- Fix bug in
alter-var-root
: it used thread-local binding in updating root value - Fix for invoking
bb -f file.clj
whenfile.clj
was empty
Thanks @jeroenvandijk for contributing to this release.
- Support
:extend-via-metadata
option in protocols - Fix classpath issue for Windows #496
- Add
double-array
,short-array
andclojure.lang.BigInt
for compatibility with clojure.data.generators - Add support for
*print-level*
- Add version info in
:describe
message of babashka.nrepl #471 - Add compatibility for honeysql
(most notable change: support
import
for records)
Thanks @Chowlz and @mharju for contributing to this release.
This release brings compatibility with the
camel-snake-kebab and
aero libraries due to the introduction of
defprotocol
, defrecord
and other enhancements.
- Add
java.io.Console
. This is useful for letting users type in passwords. - Add initial support for
defprotocol
anddefrecord
- Add
default-data-readers
- Fix interop with result of
.environment
method onProcessBuilder
#460 - Disable signal handlers via environment variable for AWS Lambda #462 (@Chowlz). See README.md.
- babashka.curl: fix double quote escaping issue on Windows
- Fix resolving var in syntax-quote from other namespace brought in via
:refer
io/resource
should returnnil
for non-relative paths instead of throwing- Fix field access interop when wrapped in parens:
(Integer/SIZE)
Thanks @martinklepsch and @cldwalker for contributing to this release.
- Add more
java.time
classes. This makes babashka fully compatible with the cljc.java-time library. - Add
java.lang.Float
class - Add
java.nio.file.PathMatcher
class. This allows one to implement a glob function. - Support alternative interop form:
(. Integer -SIZE) ;;=> 32
- #454: syntax check on amount of arguments to
def
- #458: add
clojure.data
namespace
Details about releases prior to v0.1.0 can be found here.
- The
next.jdbc
namespace and PostgresQL driver, introduced inv0.0.89
, are no longer part of the standardly distributedbb
binary. This is now available behind a feature flag. See feature flag documentation. - borkdude/babashka.curl#16:
Exceptional status codes or nonzero
curl
exit codes will throw exceptions by default. You can opt out with:throw false
.
- babashka.curl#9:
Functions in
babashka.curl
likeget
,post
, etc. now always return a map with:status
,:body
, and:headers
.
- #267 Change behavior of
reader conditionals: the
:clj
branch is taken when it occurs before a:bb
branch.
- #173: Rename
*in*
to*input*
(in theuser
namespace). The reason for this is that it shadowedclojure.core/*in*
when used unqualified.
- #160: Add support for
java.lang.ProcessBuilder
. See docs. This replaces theconch
namespace.