Skip to content
This repository has been archived by the owner on Sep 16, 2021. It is now read-only.

Releases: seancorfield/depstar

Release 2.0.193

02 Mar 21:15
Compare
Choose a tag to compare
  • Change coordinates to com.github.seancorfield/depstar (although new versions will continue to be deployed to seancorfield/depstar for a while -- see the Clojars Verified Group Names policy).
  • Fix #70 by encouraging reverse domain names for group IDs in the README and adding a warning if :group-id is specified and does not contain at least one ..
  • Fix #69 by adding :manifest option to populate MANIFEST.MF file.

Release 2.0.188

23 Feb 19:11
Compare
Choose a tag to compare

Fix :compile-ns :all (broken in 2.0.187) #68

Release 2.0.187

21 Feb 01:59
Compare
Choose a tag to compare
  • NOTE: :compile-ns :all is broken in this release!
  • Allow :compile-ns to accept regex strings to match namespaces (as well as symbols). PR #67 @wandersoncferreira (bartuka)
  • Fix #66 by switching from "jar" processing to "zip" processing and using .entries instead of calling .getNextEntry (the latter checks CRCs, the former doesn't apparently).
  • Address #65 by ignoring .DS_Store files.
  • Fix #64 by adding a :jvm-opts exec argument for passing JVM options to the AOT compilation subprocess.
  • Fix #63 by adding a :compile-fn exec argument for passing in a custom compile function.

Release 2.0.171

29 Jan 20:12
Compare
Choose a tag to compare
  • Fix #56 by requiring all of :group-id, :artifact-id, and :version when :sync-pom true and no pom.xml file is present (GAV are now required when you want depstar to create your pom.xml file).
  • Fix #59 by decoupling pom.xml file handling from MANIFEST.MF handling, which makes it possible to build an uberjar without a pom.xml file. This also allows you to specify :aot true and :main-class when building a (thin) JAR file -- but cautions you that it is not recommended!
  • Fix #60 by attempting to run git rev-parse HEAD (in the same directory as the pom.xml) and adding the output as revision= in pom.properties.
  • Address #61 by updating the Classpath section of the README (to clarify how the classpath is built and how to use -Sdeps).

Release 2.0.165

29 Dec 00:39
Compare
Choose a tag to compare

Bugfix for AOT compilation on Windows (quoting of shell arguments). Thanks to @borkdude for PR #58 to fix #57.

Release 2.0.161

23 Dec 22:36
Compare
Choose a tag to compare

Fixes #55 by using a broader regex for matching/updating <tag> in pom.xml file.

Release 2.0.160

22 Dec 21:51
Compare
Choose a tag to compare

This is a major new release: depstar 2.0 behaves like a "tool" rather than a "library", so you use :replace-deps instead of :extra-deps and provide any :aliases you need as a command-line option (for -X).

  • depstar now behaves like a "tool" rather than a "library" -- you should use :replace-deps to specify it as a dependency rather than :extra-deps and it will compute the project basis from the system, user, and project deps.edn files using clojure.tools.deps.alpha. By default, it applies no aliases but you can specify an :aliases exec-arg with a vector of aliases to apply. By default, it behaves like the CLI's -Srepro option in that the user deps.edn file is ignored: specify :repro false if you want the user deps.edn file to be included in the basis. Fixes #47, #48, #49.
  • :compile-ns exec-arg supports a vector of namespaces to be compiled; this overrides :aot and :main-class and allows you to AOT-compile specific namespaces for inclusion in a thin JAR, if needed. Fixes #51.
  • The group/artifact IDs and the version can now be overridden by exec arguments (:group-id, :artifact-id, and :version respectively, and depstar will update your pom.xml file to match). Fixes #53.
  • :sync-pom true will automatically run the equivalent of clojure -Spom. See README for more details. Fixes #54.
  • The log4j2 plugins cache is now merged correctly. Fixes #50.
  • Supported entry points: hf.depstar/jar and hf.depstar/uberjar via -X, hf.depstar.uberjar/build-jar via REPL or library usage. The following legacy entry points are all deprecated: hf.depstar.jar/-main, hf.depstar.jar/run, hf.depstar.uberjar/-main, hf.depstar.uberjar/run, and hf.depstar.uberjar/run*.
  • Automated tests now exist, along with CI via GitHub Actions, against JDK versions 8, 11, 14, 15, 16-ea, and 17-ea. Fixes #26.

Release 1.1.136

16 Nov 23:50
Compare
Choose a tag to compare

Adds :pom-file exec argument to specify path to pom.xml so it doesn't have to be in the current directory. Fixes #46

There is no equivalent :main-opts flag for this: it is only available via the CLI's -X option (or when using depstar as a library).

Release 1.1.133

07 Nov 20:50
Compare
Choose a tag to compare

Addresses #45 by refactoring hf.depstar.uberjar/run so that there is now a REPL-friendly (library-style) function hf.depstar.uberjar/run* that returns a hash map indicating success or why it failed. The other entry points, including hf.depstar.uberjar/run, all call (shutdown-agents) or (System/exit 1) as appropriate, and may print help etc.

Release 1.1.132

20 Oct 01:39
Compare
Choose a tag to compare

Call shutdown-agents at exit to account for AOT of badly-behaved code that has top-level side-effecting forms that start threads.