[leiningen] [ANN] Leiningen 2.7.0

  • From: "Jean Niklas L'orange" <jeannikl@xxxxxxxxxxxx>
  • To: leiningen@xxxxxxxxxxxxx
  • Date: Thu, 25 Aug 2016 02:05:09 +0200

Greetings, fellow Clojurians!

I am happy to announce Leiningen 2.7.0! This release contains mostly
bugfixes, but two major new improvements were added. There is now a
PowerShell version of `lein.bat`, and `:managed-dependencies` has been
added to Leiningen.

Both improvements should be considered to be in beta, but please try
them out and report bugs you find in the GitHub issue tracker. The
rationale for `:managed-dependencies` can be found at [1].

To replace `lein.bat` with the PowerShell equivalent, download
`lein.cmd` [2] and `lein.ps1` [3] in its stead, and run as usual. If
you end up with an error related to `Invoke-WebRequest`, then it may
be a result of an old version of PowerShell, which seems to be
resolved by installing the Windows Management Framework 4.0 [4].

The full list of significant user changes:

* Add PowerShell script for Windows users. (Brian Lalonde)
* Run `:prep-tasks` before `lein test`, so generated test namespaces
  will be tested. (Martin Reck)
* Better error message when attempting to do `lein run` without
  `project.clj`. (Eduardo Seabra Silva)
* Add support for `:managed-dependencies`. (Chris Price)
* Provide the current clojars certificate. (Toby Crawley)
* Add `*eval-print-dup*` to evaluate forms passed to
  `eval-in-leiningen` with `*print-dup*`. (Eduardo Seabra Silva)
* Update bash completions. (Zack Dever)
* Respect `:scm :dir` in `lein vcs` commands. (Ian Kerins)
* Improve whitespace handling from `JVM_OPTS`. (Stephen Nelson)
* Catch and handle fixture errors during `lein test`. (Alex Hall)
* Fix a bug where spaces in directory names on Windows caused crashes.
  (Leon Mergen, Tobias Kiertscher, Jean Niklas L'orange)
* Fix a bug where `lein search` would take forever downloading
  clojars.org. (Paul Dorman)
* Retain user defined private repositories when building jars,
  uberjars and deploy. (Rick Moynihan)
* Honor whitelist settings when `lein javac` is called via `lein jar`.
  (Chris Price)
* `lein vsc push` for git will now only push branch-related tags.
  (Łukasz Klich)

Those who have manually installed Leiningen can run `lein upgrade` to
pull down 2.7.0. `lein downgrade 2.6.1` will back it down to the
previous version if you run into any issues. Keep in mind that the
PowerShell script was introduced in this release, hence there are no
downgrade candidates for it right now.

We have had lots of contributors help out making this release happen,
and I'd especially like to thank Chris Price (cprice404) and Florian
Anderiasch (winks) for their help with this release.

[1]:
https://github.com/technomancy/leiningen/blob/stable/doc/MANAGED_DEPS.md
[2]:
https://raw.githubusercontent.com/technomancy/leiningen/stable/bin/lein.cmd
[3]:
https://raw.githubusercontent.com/technomancy/leiningen/stable/bin/lein.ps1
[4]:
http://social.technet.microsoft.com/wiki/contents/articles/21016.how-to-install-windows-powershell-4-0.aspx

-- Jean Niklas

Other related posts:

  • » [leiningen] [ANN] Leiningen 2.7.0 - Jean Niklas L'orange