Re: [ANN] Leiningen 2.0.0-preview7
- Laurent Petit
- 2012-06-28 @ 07:22
2012/6/28 Phil Hagelberg <firstname.lastname@example.org>:
> I'm happy to announce the release of Leiningen version 2.0.0-preview7.
> This release introduces mirror support as well as the ability to sign
> deployments and verify signatures and changes to credentials.
> ## 2.0.0-preview7 / 2012-06-27
> * Fix a bug where failed javac wouldn't abort. (Michael Klishin)
> * Check task aliases everywhere tasks are invoked.
> * Sign jars and poms of releases upon deploy by default.
> * Don't decrypt `credentials.clj.gpg` for every request.
> * Support setting `:mirrors` in project.clj. (Chas Emerick, Nelson Morris)
> * Allow aliases shadowing task names to invoke shadowed tasks.
> * Emit `doc/intro.md` in new project templates.
> * Allow `:scm` to be set in project.clj for pom inclusion. (Florian Anderiasch)
> * Fix a bug where dependency `:classifier` and `:extension` would be ignored.
> * Speed up subprocess launches when `:bootclasspath` is set.
> * Set user agent for HTTP requests. (Bruce Adams)
> * Verify signatures of dependencies with `lein deps :verify`.
> * Move task chaining to `do` task in order to allow for higher-order use.
> There are two breaking changes in this release.
> The first is rearranging the implementation of task chaining so that
> it's just another task. This means that chains can be run inside other
> higher-order tasks. This is done in the `do` task: `lein clean, test,
> deploy` becomes `lein do clean, test, deploy`. It also makes things like
> this possible: `lein with-profile production do check, uberjar`.
> Previously `with-profile` could not apply across task chains. Use of the
> old style will emit a warning explaining the change, so hopefully this
> is straightforward to fix.
> Details are at
> The other breaking change is making credential decryption explicit.
> Rather than making the presence of ~/.lein/credentials.clj.gpg cause
> decryption every time, now you must place `:gpg` in the repository
> settings to indicate that the given repository needs to have the
> credentials file decrypted. This allows for a streamlined experience for
> users who do not have a GPG agent configured.
> Details are at
> Launch times may be sped up by adding `:bootclasspath true` to
> project.clj or a profile. This causes the project's JVM to put its
> dependencies on the bootstrap classpath, causing them to skip bytecode
> verification and speeding up boot times considerably. However, there are
> compatibility issues with some libraries, so this is not enabled by
This option may not be really "IDE" friendly. I'll have to find a way
to overwrite the project option in Counterclockwise.
> It's my hope that this is the last 2.x preview release and that the next
> release will be 2.0.0 final. However, there are still a few big steps to
> be taken surrounding Clojars for which this preview paves the way.
>  -