Releases: seancorfield/depstar
Release 2.0.193
- Change coordinates to
com.github.seancorfield/depstar
(although new versions will continue to be deployed toseancorfield/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 populateMANIFEST.MF
file.
Release 2.0.188
Fix :compile-ns :all
(broken in 2.0.187) #68
Release 2.0.187
- 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 customcompile
function.
Release 2.0.171
- Fix #56 by requiring all of
:group-id
,:artifact-id
, and:version
when:sync-pom true
and nopom.xml
file is present (GAV are now required when you wantdepstar
to create yourpom.xml
file). - Fix #59 by decoupling
pom.xml
file handling fromMANIFEST.MF
handling, which makes it possible to build an uberjar without apom.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 thepom.xml
) and adding the output asrevision=
inpom.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
Release 2.0.161
Fixes #55 by using a broader regex for matching/updating <tag>
in pom.xml
file.
Release 2.0.160
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 projectdeps.edn
files usingclojure.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 userdeps.edn
file is ignored: specify:repro false
if you want the userdeps.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, anddepstar
will update yourpom.xml
file to match). Fixes #53. :sync-pom true
will automatically run the equivalent ofclojure -Spom
. See README for more details. Fixes #54.- The log4j2 plugins cache is now merged correctly. Fixes #50.
- Supported entry points:
hf.depstar/jar
andhf.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
, andhf.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
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
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
Call shutdown-agents
at exit to account for AOT of badly-behaved code that has top-level side-effecting forms that start threads.