diff --git a/CHANGELOG.md b/CHANGELOG.md index bd24fe29..eaf098fe 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,13 +2,18 @@ For a list of breaking changes, check [here](#breaking-changes). -## Unreleased +## 0.5.1 (unreleased) +- Add new `print-deps` subcommand for printing a `deps.edn` map and classpath + which includes all built-in deps. This can be used for editor tooling like + Cursive and clojure-lsp, but also for migrating a babashka project to a Graal + native-image project. - Upgrade `clj-yaml` to 0.7.107 which adds two new vars: `generate-stream`, `parse-stream` -- Upgrade several other deps - Add `timbre/merge-config!` - Add `strip-ext` to `babashka.fs` ([@corasaurus-hex](https://github.com/corasaurus-hex)) - Fixed: `with-open` fails on `java.io.PrintWriter` [#953](https://github.com/babashka/babashka/issues/953) +- Upgrade `deps.clj` to match Clojure CLI `1.10.3.933` +- Upgrade several other deps ## 0.5.0 diff --git a/src/babashka/main.clj b/src/babashka/main.clj index d626e949..cba627d5 100644 --- a/src/babashka/main.clj +++ b/src/babashka/main.clj @@ -174,6 +174,11 @@ In- and output flags (only to be used with -e one-liners): -O Write EDN values to stdout. --stream Stream over lines or EDN values from stdin. Combined with -i or -I *input* becomes a single value per iteration. +Tooling: + + print-deps [--format ]: prints a deps.edn map or classpath + with built-in deps and deps from bb.edn. + File names take precedence over subcommand names. Remaining arguments are bound to *command-line-args*. Use -- to separate script command line args from bb command line args.