clojurephant

Clojure and Clojurescript support for Gradle

APACHE-2.0 License

Downloads
2.5K
Stars
181

Bot releases are hidden (Show)

clojurephant - Latest Release

Published by ajoberstar 10 months ago

This release adds support for Gradle 8, but is focused on improving the ClojureScript REPL support. Added ClojureScriptBuild,figwheel {} to configure figwheel-main options. These aren't used directly by Clojurephant, but are exposed over the tooling API for use by the clojurephant-tooling library in your REPL.

build.gradle

dependencies {
  devImplementation("dev.clojurephant:clojurephant-tooling:0.1.0-rc.2") {
    capabilities {
      requireCapability("dev.clojurephant:clojurephant-tooling-figwheel-main")
    }
  }
}

clojurescript {
  builds {
    dev {
      figwheel {
        openUrl = "http://localhost:9500/index.html"
      }
    }
  }
}

In your REPL:

(do (require '[dev.clojurephant.tooling.figwheel-main :as fig]) (fig/start :dev))

Since beta.2, we no longer test for compatibility with Gradle's configuration cache feature and have removed any code previously in place to support it. Given the moving target of some of Gradle's related APIs and behaviors, this isn't a feature I have capacity to maintain compatibility with.

Since beta.3, added license metadata to the POM file to comply with Clojars requirements.

Since beta.4, resolved a race condition in the prepl client used in many tasks.

(beta.5 and beta.6 had publishing issues, so you can ignore those)

Breaking Changes

None

Enhancements

  • #192 Add Figwheel options to the ClojureScriptBuild

Fixes

  • #202 Building with Gradle 8 fails because ForkOptions is now abstract

Deprecations

None

Compatibility

Tested on the following version:

Requires Clojure 1.10+ (due to use of prepl)

Java Version Gradle Versions
8 6.4.1, 6.9.2, 7.0.2, 7.6.3, 8.0.2, 8.5, 8.6-rc-1
11 6.4.1, 6.9.2, 7.0.2, 7.6.3, 8.0.2, 8.5, 8.6-rc-1
17 7.3.3, 7.6.3, 8.0.2, 8.5, 8.6-rc-1
21 8.5, 8.6-rc.1
clojurephant -

Published by ajoberstar 10 months ago

This release adds support for Gradle 8, but is focused on improving the ClojureScript REPL support. Added ClojureScriptBuild,figwheel {} to configure figwheel-main options. These aren't used directly by Clojurephant, but are exposed over the tooling API for use by the clojurephant-tooling library in your REPL.

build.gradle

dependencies {
  devImplementation("dev.clojurephant:clojurephant-tooling:0.1.0-beta.1") {
    capabilities {
      requireCapability("dev.clojurephant:clojurephant-tooling-figwheel-main")
    }
  }
}

clojurescript {
  builds {
    dev {
      figwheel {
        openUrl = "http://localhost:8000/index.html"
      }
    }
  }
}

In your REPL:

(do (require '[dev.clojurephant.tooling.figwheel-main :as fig]) (fig/start :dev))

Since beta.2, we no longer test for compatibility with Gradle's configuration cache feature and have removed any code previously in place to support it. Given the moving target of some of Gradle's related APIs and behaviors, this isn't a feature I have capacity to maintain compatibility with.

Since beta.3, added license metadata to the POM file to comply with Clojars requirements.

Breaking Changes

None

Enhancements

  • #192 Add Figwheel options to the ClojureScriptBuild

Fixes

  • #202 Building with Gradle 8 fails because ForkOptions is now abstract

Deprecations

None

Compatibility

Tested on the following version:

Requires Clojure 1.10+ (due to use of prepl)

Java Version Gradle Versions
8 6.4.1, 6.9.2, 7.0.2, 7.6.3, 8.0.2, 8.5, 8.6-rc-1
11 6.4.1, 6.9.2, 7.0.2, 7.6.3, 8.0.2, 8.5, 8.6-rc-1
17 7.3.3, 7.6.3, 8.0.2, 8.5, 8.6-rc-1
clojurephant -

Published by ajoberstar 10 months ago

This release adds support for Gradle 8, but is focused on improving the ClojureScript REPL support. Added ClojureScriptBuild,figwheel {} to configure figwheel-main options. These aren't used directly by Clojurephant, but are exposed over the tooling API for use by the clojurephant-tooling library in your REPL.

build.gradle

dependencies {
  devImplementation("dev.clojurephant:clojurephant-tooling:0.1.0-beta.1") {
    capabilities {
      requireCapability("dev.clojurephant:clojurephant-tooling-figwheel-main")
    }
  }
}

clojurescript {
  builds {
    dev {
      figwheel {
        openUrl = "http://localhost:8000/index.html"
      }
    }
  }
}

In your REPL:

(do (require '[dev.clojurephant.tooling.figwheel-main :as fig]) (fig/start :dev))

Since beta.2, we no longer test for compatibility with Gradle's configuration cache feature and have removed any code previously in place to support it. Given the moving target of some of Gradle's related APIs and behaviors, this isn't a feature I have capacity to maintain compatibility with.

Breaking Changes

None

Enhancements

  • #192 Add Figwheel options to the ClojureScriptBuild

Fixes

  • #202 Building with Gradle 8 fails because ForkOptions is now abstract

Deprecations

None

Compatibility

Tested on the following version:

Requires Clojure 1.10+ (due to use of prepl)

Java Version Gradle Versions
8 6.4.1, 6.9.2, 7.0.2, 7.6.3, 8.0.2, 8.5, 8.6-rc-1
11 6.4.1, 6.9.2, 7.0.2, 7.6.3, 8.0.2, 8.5, 8.6-rc-1
17 7.3.3, 7.6.3, 8.0.2, 8.5, 8.6-rc-1
clojurephant -

Published by ajoberstar over 1 year ago

This release adds support for Gradle 8, but is focused on improving the ClojureScript REPL support. Added ClojureScriptBuild,figwheel {} to configure figwheel-main options. These aren't used directly by Clojurephant, but are exposed over the tooling API for use by the clojurephant-tooling library in your REPL.

build.gradle

dependencies {
  devImplementation("dev.clojurephant:clojurephant-tooling:0.1.0-beta.1") {
    capabilities {
      requireCapability("dev.clojurephant:clojurephant-tooling-figwheel-main")
    }
  }
}

clojurescript {
  builds {
    dev {
      figwheel {
        openUrl = "http://localhost:8000/index.html"
      }
    }
  }
}

In your REPL:

(do (require '[dev.clojurephant.tooling.figwheel-main :as fig]) (fig/start :dev))

Breaking Changes

None

Enhancements

  • #192 Add Figwheel options to the ClojureScriptBuild

Fixes

  • #202 Building with Gradle 8 fails because ForkOptions is now abstract

Deprecations

None

Compatibility

Tested on the following version:

Requires Clojure 1.10+ (due to use of prepl)

Java Version Gradle Versions
8 6.4.1, 6.9.2, 7.0.2, 7.6.1, 8.0.2, 8.1
11 6.4.1, 6.9.2, 7.0.2, 7.6.1, 8.0.2, 8.1
17 7.3.3, 7.6.1, 8.0.2, 8.1
clojurephant -

Published by ajoberstar about 2 years ago

This release is focused on improving the ClojureScript REPL support. Added ClojureScriptBuild,figwheel {} to configure figwheel-main options. These aren't used directly by Clojurephant, but are exposed over the tooling API for use by the clojurephant-tooling library in your REPL.

build.gradle

dependencies {
  devImplementation("dev.clojurephant:clojurephant-tooling:0.1.0-beta.1") {
    capabilities {
      requireCapability("dev.clojurephant:clojurephant-tooling-figwheel-main")
    }
  }
}

clojurescript {
  builds {
    dev {
      figwheel {
        openUrl = "http://localhost:8000/index.html"
      }
    }
  }
}

In your REPL:

(do (require '[dev.clojurephant.tooling.figwheel-main :as fig]) (fig/start :dev))

Breaking Changes

None

Enhancements

  • #192 Add Figwheel options to the ClojureScriptBuild

Fixes

None

Deprecations

None

Compatibility

Tested on the following version:

Requires Clojure 1.10+ (due to use of prepl)

Java Version Gradle Versions
8 6.4.1, 6.9.2, 7.0.2, 7.5.1
11 6.4.1, 6.9.2, 7.0.2, 7.5.1
17 7.3.3, 7.5.1
clojurephant -

Published by ajoberstar about 2 years ago

The big theme is improved editor/IDE support, with dependency "Jack-In" now supported by Clojurephant (will be working on sending PRs to Cider and Calva to take advantage of this). Also some cleanup of issues that caused problems in Intellij/Cursive and Eclipse.

Clojurephant projects can now take advantage of Gradle's toolchain feature to set the JVM used by tasks:

java {
  toolchain {
    languageVersion = JavaLanguageVersion.of(17)
  }
}

Otherwise, trying to get up-to-date with the latest Gradle versions and best practices, including support for Gradle's configuration cache.

This release also prepares for the clojurephant-tooling library which will be useful in the REPL, in particular for starting ClojureScript REPLs.

Breaking Changes

  • Requires Gradle 6.4+ (drops support for Gradle 5)
  • Implementation of clojure {} and clojurescript {} extensions changed to take advantage of Gradle decorating the types for DSL use. Our tests projects didn't require changes, but we don't have full coverage, so you could encounter some issues with mismatched property types.
  • Removed ClojureBuild.getSourceSet() and ClojureScriptBuild.getSourceSet() due to incompatibility with Gradle's configuration cache #169
  • Java test classes not on dev classpath (by default) #173

Enhancements

  • Supports injecting dependencies into the nrepl classpath via -Pdev.clojurephant.jack-in.nrepl=dep1,dep2 (where dep* are the typical Gradle group:artifact:version notation) #179
  • clojureRepl classpath is now enriched with sources/javadoc JARs of your dependencies (useful in CIDER).
  • Cleaner support (and documentation) for having Java code depend on Clojure code (see FAQ) #173
  • clojureRepl depends on fewer other tasks, meaning it should start up a smidge faster #173
    #174
  • Allow Clojure tasks to use Java toolchains
  • Support Gradle's configuration cache #169
  • Updates default nrepl version to 0.9.0
  • Updates templates to use Gradle 7.5
  • Exposing Clojure and ClojureScript configuration via the Tooling API #188

Fixes

  • Improves experience (slightly) for tasks that use prepl (it will fail faster if the Clojure runtime fails to start) also it extends the timeout before it abandons startup to 30 seconds for larger projects (hopefully fixes #161)
  • Fixes a number of deprecation warnings on Gradle 6 and 7
  • Handled AsynchronousCloseExceptions that could be triggered when any of the Clojure related tasks shut down #173
  • Fixed duplicate source dirs in Eclipse config #127
  • Fixed source root detection in Intellij #160, #108, #66
  • Fixed REPL classpath to include both Clojure and ClojureScript sources #188

Deprecations

None

Compatibility

Tested on the following version:

Requires Clojure 1.10+ (due to use of prepl)

Java Version Gradle Versions
8 6.4.1, 6.9.2, 7.0.2, 7.5.1
11 6.4.1, 6.9.2, 7.0.2, 7.5.1
17 7.3.3, 7.5.1
clojurephant -

Published by ajoberstar about 2 years ago

The big theme is improved editor/IDE support, with dependency "Jack-In" now supported by Clojurephant (will be working on sending PRs to Cider and Calva to take advantage of this). Also some cleanup of issues that caused problems in Intellij/Cursive and Eclipse.

Clojurephant projects can now take advantage of Gradle's toolchain feature to set the JVM used by tasks:

java {
  toolchain {
    languageVersion = JavaLanguageVersion.of(17)
  }
}

Otherwise, trying to get up-to-date with the latest Gradle versions and best practices, including support for Gradle's configuration cache.

Breaking Changes

  • Requires Gradle 6.4+ (drops support for Gradle 5)
  • Implementation of clojure {} and clojurescript {} extensions changed to take advantage of Gradle decorating the types for DSL use. Our tests projects didn't require changes, but we don't have full coverage, so you could encounter some issues with mismatched property types.
  • Removed ClojureBuild.getSourceSet() and ClojureScriptBuild.getSourceSet() due to incompatibility with Gradle's configuration cache #169
  • Java test classes not on dev classpath (by default) #173

Enhancements

  • Supports injecting dependencies into the nrepl classpath via -Pdev.clojurephant.jack-in.nrepl=dep1,dep2 (where dep* are the typical Gradle group:artifact:version notation) #179
  • clojureRepl classpath is now enriched with sources/javadoc JARs of your dependencies (useful in CIDER).
  • Cleaner support (and documentation) for having Java code depend on Clojure code (see FAQ) #173
  • clojureRepl depends on fewer other tasks, meaning it should start up a smidge faster #173
    #174
  • Allow Clojure tasks to use Java toolchains
  • Support Gradle's configuration cache #169
  • Updates default nrepl version to 0.9.0
  • Updates templates to use Gradle 7.5

Fixes

  • Improves experience (slightly) for tasks that use prepl (it will fail faster if the Clojure runtime fails to start) also it extends the timeout before it abandons startup to 30 seconds for larger projects (hopefully fixes #161)
  • Fixes a number of deprecation warnings on Gradle 6 and 7
  • Handled AsynchronousCloseExceptions that could be triggered when any of the Clojure related tasks shut down #173
  • Fixed duplicate source dirs in Eclipse config #127
  • Fixed source root detection in Intellij #160, #108, #66

Deprecations

None

Compatibility

Tested on the following version:

Requires Clojure 1.10+ (due to use of prepl)

Java Version Gradle Versions
8 6.4.1, 6.9.2, 7.0.2, 7.5
11 6.4.1, 6.9.2, 7.0.2, 7.5
17 7.3.3, 7.5
clojurephant -

Published by ajoberstar about 2 years ago

The big theme is improved editor/IDE support, with dependency "Jack-In" now supported by Clojurephant (will be working on sending PRs to Cider and Calva to take advantage of this). Also some cleanup of issues that caused problems in Intellij/Cursive and Eclipse.

Otherwise, trying to get up-to-date with the latest Gradle versions and best practices, including support for Gradle's configuration cache.

Breaking Changes

  • Requires Gradle 6.4+ (drops support for Gradle 5)
  • Implementation of clojure {} and clojurescript {} extensions changed to take advantage of Gradle decorating the types for DSL use. Our tests projects didn't require changes, but we don't have full coverage, so you could encounter some issues with mismatched property types.
  • Removed ClojureBuild.getSourceSet() and ClojureScriptBuild.getSourceSet() due to incompatibility with Gradle's configuration cache #169
  • Java test classes not on dev classpath (by default) #173

Enhancements

  • Updates default nrepl version to 0.9.0
  • Updates templates to use Gradle 7.5
  • Support Gradle's configuration cache #169
  • Cleaner support (and documentation) for having Java code depend on Clojure code (see FAQ) #173
  • clojureRepl depends on fewer other tasks, meaning it should start up a smidge faster #173
  • Supports injecting dependencies into the nrepl classpath via -Pdev.clojurephant.jack-in.nrepl=dep1,dep2 (where dep* are the typical Gradle group:artifact:version notation) #179
  • clojureRepl classpath is now enriched with sources/javadoc JARs of your dependencies (useful in CIDER).

Fixes

  • Improves experience (slightly) for tasks that use prepl (it will fail faster if the Clojure runtime fails to start) also it extends the timeout before it abandons startup to 30 seconds for larger projects (hopefully fixes #161)
  • Fixes a number of deprecation warnings on Gradle 6 and 7
  • Handled AsynchronousCloseExceptions that could be triggered when any of the Clojure related tasks shut down #173
  • Fixed duplicate source dirs in Eclipse config #127
  • Fixed source root detection in Intellij #160, #108, #66

Deprecations

None

Compatibility

Tested on the following version:

Requires Clojure 1.10+ (due to use of prepl)

Java Version Gradle Versions
8 6.4.1, 6.9.2, 7.0.2, 7.5
11 6.4.1, 6.9.2, 7.0.2, 7.5
17 7.3.3, 7.5
clojurephant -

Published by ajoberstar about 2 years ago

The big theme is improved editor/IDE support, with dependency "Jack-In" now supported by Clojurephant (will be working on sending PRs to Cider and Calva to take advantage of this). Also some cleanup of issues that caused problems in Intellij/Cursive and Eclipse.

Otherwise, trying to get up-to-date with the latest Gradle versions and best practices, including support for Gradle's configuration cache.

Breaking Changes

  • Requires Gradle 6.4+ (drops support for Gradle 5)
  • Implementation of clojure {} and clojurescript {} extensions changed to take advantage of Gradle decorating the types for DSL use. Our tests projects didn't require changes, but we don't have full coverage, so you could encounter some issues with mismatched property types.
  • Removed ClojureBuild.getSourceSet() and ClojureScriptBuild.getSourceSet() due to incompatibility with Gradle's configuration cache #169
  • Java test classes not on dev classpath (by default) #173

Enhancements

  • Updates default nrepl version to 0.9.0
  • Updates templates to use Gradle 7.5
  • Support Gradle's configuration cache #169
  • Cleaner support (and documentation) for having Java code depend on Clojure code (see FAQ) #173
  • clojureRepl depends on fewer other tasks, meaning it should start up a smidge faster #173
  • Supports injecting dependencies into the nrepl classpath via -Pdev.clojurephant.jack-in.nrepl=dep1,dep2 (where dep* are the typical Gradle group:artifact:version notation) #179

Fixes

  • Improves experience (slightly) for tasks that use prepl (it will fail faster if the Clojure runtime fails to start) also it extends the timeout before it abandons startup to 30 seconds for larger projects (hopefully fixes #161)
  • Fixes a number of deprecation warnings on Gradle 6 and 7
  • Handled AsynchronousCloseExceptions that could be triggered when any of the Clojure related tasks shut down #173
  • Fixed duplicate source dirs in Eclipse config #127
  • Fixed source root detection in Intellij #160, #108, #66

Deprecations

None

Compatibility

Tested on the following version:

Requires Clojure 1.10+ (due to use of prepl)

Java Version Gradle Versions
8 6.4.1, 6.9.2, 7.0.2, 7.5
11 6.4.1, 6.9.2, 7.0.2, 7.5
17 7.3.3, 7.5
clojurephant -

Published by ajoberstar about 2 years ago

Largely trying to get up-to-date with the latest Gradle versions and best practices, including support for Gradle's configuration cache. Also fixed a number of issues with usage of Clojurephant with Intellij/Cursive and Eclipse.

Breaking Changes

  • Requires Gradle 6.4+ (drops support for Gradle 5)
  • Implementation of clojure {} and clojurescript {} extensions changed to take advantage of Gradle decorating the types for DSL use. Our tests projects didn't require changes, but we don't have full coverage, so you could encounter some issues with mismatched property types.
  • Include dev source set's compiled ClojureScript on the nREPL classpath (part of our replacement for Figwheel support) #167
  • Removed ClojureBuild.getSourceSet() and ClojureScriptBuild.getSourceSet() due to incompatibility with Gradle's configuration cache #169
  • Java test classes not on dev classpath (by default) #173

Enhancements

  • Updates default nrepl version to 0.9.0
  • Updates templates to use Gradle 7.5
  • Support Gradle's configuration cache #169
  • Cleaner support (and documentation) for having Java code depend on Clojure code (see FAQ) #173
  • clojureRepl depends on fewer other tasks, meaning it should start up a smidge faster #173

Fixes

  • Improves experience (slightly) for tasks that use prepl (it will fail faster if the Clojure runtime fails to start) also it extends the timeout before it abandons startup to 30 seconds for larger projects (hopefully fixes #161)
  • Fixes a number of deprecation warnings on Gradle 6 and 7
  • Handled AsynchronousCloseExceptions that could be triggered when any of the Clojure related tasks shut down #173
  • Fixed duplicate source dirs in Eclipse config #127
  • Fixed source root detection in Intellij #160, #108, #66

Deprecations

None

Compatibility

Tested on the following version:

Requires Clojure 1.10+ (due to use of prepl)

Java Version Gradle Versions
8 6.4.1, 6.9.2, 7.0.2, 7.5
11 6.4.1, 6.9.2, 7.0.2, 7.5
17 7.3.3, 7.5
clojurephant -

Published by ajoberstar about 2 years ago

Largely trying to get up-to-date with the latest Gradle versions and best practices, including support for Gradle's configuration cache.

Breaking Changes

  • Requires Gradle 6.4+ (drops support for Gradle 5)
  • Implementation of clojure {} and clojurescript {} extensions changed to take advantage of Gradle decorating the types for DSL use. Our tests projects didn't require changes, but we don't have full coverage, so you could encounter some issues with mismatched property types.
  • Include dev source set's compiled ClojureScript on the nREPL classpath (part of our replacement for Figwheel support) #167
  • Removed ClojureBuild.getSourceSet() and ClojureScriptBuild.getSourceSet() due to incompatibility with Gradle's configuration cache #169
  • Java test classes not on dev classpath (by default) #173

Enhancements

  • Updates default nrepl version to 0.9.0
  • Updates templates to use Gradle 7.5
  • Support Gradle's configuration cache #169
  • Cleaner support (and documentation) for having Java code depend on Clojure code (see FAQ) #173
  • clojureRepl depends on fewer other tasks, meaning it should start up a smidge faster #173

Fixes

  • Improves experience (slightly) for tasks that use prepl (it will fail faster if the Clojure runtime fails to start) also it extends the timeout before it abandons startup to 30 seconds for larger projects (hopefully fixes #161)
  • Fixes a number of deprecation warnings on Gradle 6 and 7
  • Handled AsynchronousCloseExceptions that could be triggered when any of the Clojure related tasks shut down #173

Deprecations

None

Compatibility

Tested on the following version:

Requires Clojure 1.10+ (due to use of prepl)

Java Version Gradle Versions
8 6.4.1, 6.9.2, 7.0.2, 7.5
11 6.4.1, 6.9.2, 7.0.2, 7.5
17 7.3.3, 7.5
clojurephant -

Published by ajoberstar over 2 years ago

Largely trying to get up-to-date with the latest Gradle versions and best practices, including support for Gradle's configuration cache.

Breaking Changes

  • Requires Gradle 6.4+ (drops support for Gradle 5)
  • Implementation of clojure {} and clojurescript {} extensions changed to take advantage of Gradle decorating the types for DSL use. Our tests projects didn't require changes, but we don't have full coverage, so you could encounter some issues with mismatched property types.
  • Include dev source set's compiled ClojureScript on the nREPL classpath (part of our replacement for Figwheel support) #167
  • Removed ClojureBuild.getSourceSet() and ClojureScriptBuild.getSourceSet() due to incompatibility with Gradle's configuration cache #169

Enhancements

  • Updates default nrepl version to 0.9.0
  • Updates templates to use Gradle 7.5
  • Support Gradle's configuration cache #169

Fixes

  • Improves experience (slightly) for tasks that use prepl (it will fail faster if the Clojure runtime fails to start) also it extends the timeout before it abandons startup to 30 seconds for larger projects (hopefully fixes #161)
  • Fixes a number of deprecation warnings on Gradle 6 and 7

Deprecations

None

Compatibility

Tested on the following version:

Requires Clojure 1.10+ (due to use of prepl)

Java Version Gradle Versions
8 6.4.1, 6.9.2, 7.0.2, 7.5
11 6.4.1, 6.9.2, 7.0.2, 7.5
17 7.3.3, 7.5
clojurephant -

Published by ajoberstar over 2 years ago

Largely trying to get up-to-date with the latest Gradle versions and best practices.

Breaking Changes

  • Requires Gradle 6.4+ (drops support for Gradle 5)
  • Implementation of clojure {} and clojurescript {} extensions changed to take advantage of Gradle decorating the types for DSL use. Our tests projects didn't require changes, but we don't have full coverage, so you could encounter some issues with mismatched property types.
  • Include dev source set's compiled ClojureScript on the nREPL classpath (part of our replacement for Figwheel support) #167

Enhancements

  • Updates default nrepl version to 0.9.0
  • Updates templates to use Gradle 7.4

Fixes

  • Improves experience (slightly) for tasks that use prepl (it will fail faster if the Clojure runtime fails to start) also it extends the timeout before it abandons startup to 30 seconds for larger projects (hopefully fixes #161)
  • Fixes a number of deprecation warnings on Gradle 6 and 7

Deprecations

None

Compatibility

Tested on the following version:

Requires Clojure 1.10+ (due to use of prepl)

Java Version Gradle Versions
8 6.4.1, 6.9.2, 7.0.2, 7.5
11 6.4.1, 6.9.2, 7.0.2, 7.5
17 7.3.3, 7.5
clojurephant -

Published by ajoberstar over 2 years ago

Largely trying to get up-to-date with the latest Gradle versions and best practices.

Breaking Changes

  • Requires Gradle 6.4+ (drops support for Gradle 5)
  • Implementation of clojure {} and clojurescript {} extensions changed to take advantage of Gradle decorating the types for DSL use. Our tests projects didn't require changes, but we don't have full coverage, so you could encounter some issues with mismatched property types.

Enhancements

  • Updates default nrepl version to 0.9.0
  • Updates templates to use Gradle 7.4

Fixes

  • Improves experience (slightly) for tasks that use prepl (it will fail faster if the Clojure runtime fails to start) also it extends the timeout before it abandons startup to 30 seconds for larger projects (hopefully fixes #161)
  • Fixes a number of deprecation warnings on Gradle 6 and 7

Deprecations

None

Compatibility

Tested on the following version:

Requires Clojure 1.10+ (due to use of prepl)

Java Version Gradle Versions
8 6.4.1, 6.9.2, 7.0.2, 7.4
11 6.4.1, 6.9.2, 7.0.2, 7.4
17 7.3.3, 7.4
clojurephant -

Published by ajoberstar over 3 years ago

Highlights are better multi-project support, nREPL support, and Java 15 compatibility. Built-in Figwheel support was dropped as part of the nREPL updates that caused complications with the old Figwheel approach. I expect to replace it with a cleaner integration, but it's non-trivial so it was easier to drop it for now.

JUnit integration for clojure.test has also changed to use JUnit Platform (via jovial) instead of JUnit 4, which provides a cleaner API. The documentation has been updated with examples, so please review this before upgrading.

Breaking Changes

  • Requires Clojure 1.10+ (due to use of prepl)
  • The old Figwheel support was dropped (for now).
  • clojure.test integration now requires jovial and use of the JUnit Platform. See documentation for examples.

Enhancements

  • clojurephant-tools JAR has been removed (#155), which avoids the requirement to use Clojars and avoids an issue where the JAR would get included in your runtime dependencies (#147)
  • Java 15 is confirmed to be supported
  • nREPL 0.8.3 is now included by default
  • .nrepl-port is now created (by virtue of using nrepl.main instead of our old launcher) #138

Fixes

  • When not using AOT, sources are now on the classpath of downstream Gradle projects (#134 and #128)
  • Resolve a deprecation warning caused by the runtimeClasspath configuration #136
  • NullPointerException during compile fixed #148 (Thanks @jvia)

Deprecations

None

Compatibility

Tested on the following version:

Java Version Gradle Versions
8 5.0, 5.6.4, 6.0.1, 6.8
11 5.0, 5.6.4, 6.0.1, 6.8
15 6.3 6.8
clojurephant -

Published by ajoberstar over 3 years ago

Highlights are better multi-project support, nREPL support, and Java 15 compatibility. Built-in Figwheel support was dropped as part of the nREPL updates that caused complications with the old Figwheel approach. I expect to replace it with a cleaner integration, but it's non-trivial so it was easier to drop it for now.

JUnit integration for clojure.test has also changed to use JUnit Platform (via jovial) instead of JUnit 4, which provides a cleaner API. The documentation has been updated with examples, so please review this before upgrading.

Breaking Changes

  • Requires Clojure 1.10+ (due to use of prepl)
  • The old Figwheel support was dropped (for now).
  • clojure.test integration now requires jovial and use of the JUnit Platform. See documentation for examples.

Enhancements

  • clojurephant-tools JAR has been removed (#155), which avoids the requirement to use Clojars and avoids an issue where the JAR would get included in your runtime dependencies (#147)
  • Java 15 is confirmed to be supported
  • nREPL 0.8.3 is now included by default
  • .nrepl-port is now created (by virtue of using nrepl.main instead of our old launcher) #138

Fixes

  • When not using AOT, sources are now on the classpath of downstream Gradle projects (#134 and #128)
  • Resolve a deprecation warning caused by the runtimeClasspath configuration #136
  • NullPointerException during compile fixed #148 (Thanks @jvia)

Deprecations

None

Compatibility

Tested on the following version:

Java Version Gradle Versions
8 5.0, 5.6.4, 6.0.1, 6.8
11 5.0, 5.6.4, 6.0.1, 6.8
15 6.3 6.8
clojurephant -

Published by ajoberstar almost 4 years ago

0.6.0 is still in progress, but want to make some fixes available.

Highlights are better multi-project support, nREPL support, and Java 15 compatibility. Built-in Figwheel support was dropped as part of the nREPL updates that caused complications with the old Figwheel approach. I expect to replace it with a cleaner integration, but it's non-trivial so it was easier to drop it for now.

JUnit integration for clojure.test has also changed to use JUnit Platform instead of JUnit 4, which provides a cleaner API. The documentation has been updated with examples, so please review this before upgrading.

Breaking Changes

  • The old Figwheel support was dropped (for now).
  • clojure.test integration now requires jovial and use of the JUnit Platform. See documentation for examples.

Enhancements

  • Java 15 is confirmed to be supported
  • nREPL 0.8.3 is now included by default
  • .nrepl-port is now created (by virtue of using nrepl.main instead of our old launcher) #138

Fixes

  • When not using AOT, sources are now on the classpath of downstream Gradle projects (#134 and #128)
  • Resolve a deprecation warning caused by the runtimeClasspath configuration #136
  • NullPointerException during compile fixed #148 (Thanks @jvia)

Deprecations

None

Compatibility

Tested on the following version:

Java Version Gradle Versions
8 5.0, 5.6.4, 6.0.1, 6.8
11 5.0, 5.6.4, 6.0.1, 6.8
15 6.3 6.8
clojurephant -

Published by ajoberstar almost 4 years ago

0.6.0 is still in progress, but want to make some fixes available.

Highlights are better multi-project support, nREPL support, and Java 15 compatibility. Built-in Figwheel support was dropped as part of the nREPL updates that caused complications with the old Figwheel approach. I expect to replace it with a cleaner integration, but it's non-trivial so it was easier to drop it for now.

Breaking Changes

  • The old Figwheel support was dropped (for now).

Enhancements

  • Java 15 is confirmed to be supported
  • nREPL 0.8.3 is now included by default
  • .nrepl-port is now created (by virtue of using nrepl.main instead of our old launcher) #138

Fixes

  • When not using AOT, sources are now on the classpath of downstream Gradle projects (#134 and #128)
  • Resolve a deprecation warning caused by the runtimeClasspath configuration #136
  • NullPointerException during compile fixed #148 (Thanks @jvia)

Deprecations

None

Compatibility

Tested on the following version:

Java Version Gradle Versions
8 5.0, 5.6.4, 6.0.1, 6.8
11 5.0, 5.6.4, 6.0.1, 6.8
15 6.3 6.8
clojurephant -

Published by ajoberstar over 4 years ago

This release is just a small step on the way to 0.6.0. Since we got a few fixes together, this is meant to get them into people's hands while work on the rest of 0.6.0 continues.

Highlights are better multi-project support, nREPL support, and Java 14 compatibility. Built-in Figwheel support was dropped as part of the nREPL updates that caused complications with the old Figwheel approach. I expect to replace it with a cleaner integration, but it's non-trivial so it was easier to drop it for now.

Breaking Changes

  • The old Figwheel support was dropped (for now).

Enhancements

  • Java 14 is confirmed to be supported
  • nREPL 0.6.0 is now included by default
  • .nrepl-port is now created (by virtue of using nrepl.main instead of our old launcher) #138

Fixes

  • When not using AOT, sources are now on the classpath of downstream Gradle projects (#134 and #128)
  • Resolve a deprecation warning caused by the runtimeClasspath configuration #136

Deprecations

None

Compatibility

Tested on the following version:

Java Version Gradle Versions
8 5.0, 5.6.4, 6.0.1, 6.3, 6.4-rc-4
11 5.0, 5.6.4, 6.0.1, 6.3, 6.4-rc-4
14 6.3 6.4-rc-4
clojurephant -

Published by ajoberstar over 4 years ago

This release is just a small step on the way to 0.6.0. Since we got a few fixes together, this is meant to get them into people's hands while work on the rest of 0.6.0 continues.

Highlights are better multi-project support and Java 14 compatibility.

Breaking Changes

None

Enhancements

  • Java 14 is confirmed to be supported
  • nREPL 0.6.0 is now included by default

Fixes

  • When not using AOT, sources are now on the classpath of downstream Gradle projects (#134 and #128)
  • Resolve a deprecation warning caused by the runtimeClasspath configuration #136

Deprecations

None

Compatibility

Tested on the following version:

Java Version Gradle Versions
8 5.0, 5.6.4, 6.0.1, 6.3, 6.4-rc-4
11 5.0, 5.6.4, 6.0.1, 6.3, 6.4-rc-4
14 6.3 6.4-rc-4
Package Rankings
Top 18.29% on Clojars.org
Badges
Extracted from project README
CI cljdoc