Thanks to Sean Corfield for straightening out build and dependency issues with this library; this eliminates unnecessary dependencies for JVM and Babashka builds.
- use Java Time in README examples
- removes clj-time as a dependency
- moves js-joda to a :cljs-test only dependency
- kongeor/cljs-test-runner is behind olical/cljs-test-runner so switch to the latter
- update build-tools
- update GH workflow dependencies
- ignore Calva REPL file
- remove unnecessary cljc_test file (both clj and cljs test runners file the tests just fine)
- use clojure.math in cljs and clj
- fix the bad cljs-only test splice
This release moves the repository to clj-commons; we thank Thura Hlaing's efforts in initiating this project. As part of this move, the Maven artifact coordinates have changed, as well as the namespaces.
- Tools build building and deployment
- Github actions CI
- Switches from
com.andrewmcveigh/cljs-time
tocom.widdindustries/cljc.java-time
. This is a potentially breaking change. - Update dependencies to the most recent versions
- Switched build to deps.edn
- Code cleanup (warnings generated by clj-kondo)
- Eliminate "already refers to" compiler warnings with Clojure 1.11.x
clj-commons.inflect/datetime
now supports diffs that represent a
time in the future, as well as centuries and millennia diffs.
Fix pluralizing nouns that end in ff.
clj-commons.inflect/pluralize-noun
now pluralizes a count of zero; previously any count less
than or equal to 1 was considered singular.
Added clj-commons.humanize/duration
and duration-terms
to format a duration, in
milliseconds, as a string.