Skip to content

Commit

Permalink
clojure-cli: add deprecation warning for clojure.tools.deps.alpha add…
Browse files Browse the repository at this point in the history
…-libs

Clojure 1.12 approch to hotload libraries will replace the current
hotload approach
  • Loading branch information
practicalli-johnny committed Mar 6, 2024
1 parent e8964ed commit 5ae5ecd
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions docs/clojure-cli/repl/libraries.md
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,8 @@ If errors occur when loading or reloading the namespace with require, the `:verb

## Hotload libraries

!!! WARNING "Approach to be deprecated once Clojure 1.12.0 released"

??? INFO "Hotload Libraries in the REPL"
`add-libs` function from the `clojure.tools.deps.alpha` library is an experimental approach to hot-loading library dependencies without having to restart the REPL or add those dependencies to the project `deps.edn`. This provides a simple way to try out libraries.

Expand Down

0 comments on commit 5ae5ecd

Please sign in to comment.