From e8feb79f18b03a482ae54f165db57767771d6a81 Mon Sep 17 00:00:00 2001 From: Joakim Tengstrand Date: Tue, 19 Dec 2023 19:27:26 +0100 Subject: [PATCH] Release 0.2.18 (#418) Release 0.2.18. --- .idea/modules.xml | 1 + components/antq/deps.edn | 2 +- .../api/src/polylith/clj/core/api/interface.clj | 6 +++--- components/tap/deps.edn | 2 +- .../src/polylith/clj/core/version/interface.clj | 6 +++--- doc/polyx.adoc | 2 +- examples/doc-example/deps.edn | 2 +- next-release.txt | 6 ++++-- .../poly/test/project/poly/poly_workspace_test.clj | 4 ++-- readme.adoc | 14 +++++++------- scripts/sections/base/deps.edn | 2 +- scripts/sections/build/deps.edn | 2 +- scripts/sections/profile/deps.edn | 2 +- scripts/sections/project/deps.edn | 2 +- scripts/sections/testing/deps.edn | 2 +- 15 files changed, 29 insertions(+), 26 deletions(-) diff --git a/.idea/modules.xml b/.idea/modules.xml index b7d7194a5..020001515 100644 --- a/.idea/modules.xml +++ b/.idea/modules.xml @@ -21,6 +21,7 @@ + diff --git a/components/antq/deps.edn b/components/antq/deps.edn index 3efbef441..90f4b548e 100644 --- a/components/antq/deps.edn +++ b/components/antq/deps.edn @@ -1,4 +1,4 @@ {:paths ["src"] - :deps {com.github.liquidz/antq {:mvn/version "2.7.1133"}} + :deps {com.github.liquidz/antq {:mvn/version "2.7.1147"}} :aliases {:test {:extra-paths ["test"] :extra-deps {}}}} diff --git a/components/api/src/polylith/clj/core/api/interface.clj b/components/api/src/polylith/clj/core/api/interface.clj index 9732ce5f9..7d7bd93aa 100644 --- a/components/api/src/polylith/clj/core/api/interface.clj +++ b/components/api/src/polylith/clj/core/api/interface.clj @@ -27,7 +27,7 @@ As an example, the `clj-poly` library is first specified in the [build](https://github.com/polyfy/polylith/blob/5ff79341e7dc3fc6a486584c6c2f2f46cb577d6e/deps.edn#L120) alias in polylith's `build.clj` and then used in - [build.clj](https://github.com/polyfy/polylith/blob/5ff79341e7dc3fc6a486584c6c2f2f46cb577d6e/build.clj#L83). + [build.clj](https://github.com/polyfy/polylith/blob/9e79264981b0c5be6e6cb70c93a540a82c489510/build.clj#L83). If you need more access than is exposed by the API at the moment, just reach out to the Polylith team in [Slack](https://clojurians.slack.com/messages/C013B7MQHJQ) @@ -49,7 +49,7 @@ Each key stores a map with two keys: ```clojure - :breaking Increased by one if a breaking change + `:non-breaking` is set to zero. + :breaking Increased by one if a breaking change + :non-breaking is set to zero. :non-breaking Increased by one if a non-breaking change. ``` @@ -68,7 +68,7 @@ ``` Any changes that only add functionality/attributes, will increase the `:non-breaking` number by one. - If you use a SNAPSHOT version, then you can check [next-release.txt](https://github.com/polyfy/polylith/blob/issue-318/next-release.txt) + If you use a SNAPSHOT version, then you can check [next-release.txt](https://github.com/polyfy/polylith/blob/master/next-release.txt) to get a summary of all the changes that have been made since the last stable/final release." {:api version/api-version :test-runner version/test-runner-api-version diff --git a/components/tap/deps.edn b/components/tap/deps.edn index bc0c875cf..e73290394 100644 --- a/components/tap/deps.edn +++ b/components/tap/deps.edn @@ -1,4 +1,4 @@ {:paths ["src"] - :deps {djblue/portal {:mvn/version "0.50.0"}} + :deps {djblue/portal {:mvn/version "0.51.0"}} :aliases {:test {:extra-paths [] :extra-deps {}}}} diff --git a/components/version/src/polylith/clj/core/version/interface.clj b/components/version/src/polylith/clj/core/version/interface.clj index 30d7bc46b..5db582efc 100644 --- a/components/version/src/polylith/clj/core/version/interface.clj +++ b/components/version/src/polylith/clj/core/version/interface.clj @@ -24,8 +24,8 @@ (def major 0) (def minor 2) (def patch 18) -(def revision SNAPSHOT) ;; Set to SNAPSHOT or RELEASE. -(def snapshot 23) ;; Increase by one for every snapshot release, or set to 0 if a release. +(def revision RELEASE) ;; Set to SNAPSHOT or RELEASE. +(def snapshot 0) ;; Increase by one for every snapshot release, or set to 0 if a release. (def snapshot? (= SNAPSHOT revision)) (def name-without-rev (str major "." minor "." patch)) @@ -36,7 +36,7 @@ (def tool (if system/extended? "polyx" "poly")) -(def date "2023-12-15") +(def date "2023-12-19") ;; Execute 'poly doc version' to see when different changes was introduced. (def api-version {:breaking 1, :non-breaking 0}) diff --git a/doc/polyx.adoc b/doc/polyx.adoc index 9a5b60cb0..2022383f1 100644 --- a/doc/polyx.adoc +++ b/doc/polyx.adoc @@ -32,7 +32,7 @@ If you want to use `polyx`, add it as an alias to your `./deps.edn` file: :polyx {:main-opts ["-m" "polylith.clj.core.poly-cli.core"] :extra-deps {polyfy/polylith {:git/url "https://github.com/polyfy/polylith" - :sha "155b55ab9e51ecd5ee0622a82a87468dac00bba3" ;; <1> + :sha "9e79264981b0c5be6e6cb70c93a540a82c489510" ;; <1> :deps/root "projects/polyx"}}}}} ---- <1> Choose the revision via a Git SHA diff --git a/examples/doc-example/deps.edn b/examples/doc-example/deps.edn index cfa3e8329..fae7e0492 100644 --- a/examples/doc-example/deps.edn +++ b/examples/doc-example/deps.edn @@ -25,4 +25,4 @@ :ns-default build} :poly {:main-opts ["-m" "polylith.clj.core.poly-cli.core"] - :extra-deps {polylith/clj-poly {:mvn/version "0.2.18-SNAPSHOT"}}}}} + :extra-deps {polylith/clj-poly {:mvn/version "0.2.18"}}}}} diff --git a/next-release.txt b/next-release.txt index c8204dd65..a4c73a71e 100644 --- a/next-release.txt +++ b/next-release.txt @@ -30,7 +30,7 @@ Included in 0.2.18-SNAPSHOT: 316 Don't validate data_readers.clj files. 318 Use cljdoc for the poly tool documentation. Moved back all the poly tool documentation to the GitHib repository together with the source code + updated the documentation + added new pages: - Artifacts, Doc, Poly as a library, Tap, Test Runners, Validations, Source code, Polyx, and Maintenance. + Artifacts, Doc, Tap, Test Runners, Validations, Source code, Polylith CI setup, Polyx, and Versions. The new 'doc' command was added, giving us easy access all web based, Polylith related documentation. 376 Support updating all libraries to the latest version, by using 'poly libs :update'. @@ -41,7 +41,7 @@ Included in 0.2.18-SNAPSHOT: 319 lread Tweak bb doc task that offers cljdoc previews + the related PRs 320, 321 and 325. 323 john-shaffer Fix NPE when taking the size of a directory. 324 j1mr10rd4n Fix filename/namespace mismatch in profile.adoc. - 327 lread Reviews all the documentation, with one PR per page, starting with PR 327! + 327 lread Reviews most of the documentation, with one PR per page, starting with PR 327! 332 lread Add clj-kondo config exports. Other improvements @@ -61,3 +61,5 @@ Other improvements a PR could suddenly start failing if a newer version of a used library was released. - If we switch to a file using e.g. 'switch-ws file:ws.edn', the :no-changes will now work properly. - Removed support for running `poly` as a Clojure Tool. + - Show size as dash (- instead of 0) in the libs command, if a library hasn't been downloaded yet. This stopped working in 0.2.17-alpha. + - Handle spacing between bricks correctly in the libs command when passing in skip:dev. diff --git a/projects/poly/test/project/poly/poly_workspace_test.clj b/projects/poly/test/project/poly/poly_workspace_test.clj index 3b9b74ca4..79a1cbfe2 100644 --- a/projects/poly/test/project/poly/poly_workspace_test.clj +++ b/projects/poly/test/project/poly/poly_workspace_test.clj @@ -110,8 +110,8 @@ " ---------------------------------------------------- ----------- ---------------------- ----------------------------" " borkdude/edamame 1.3.23 maven 24 x x x - - . . x . . . . . . ." " clj-commons/fs 1.6.310 maven 12 x x x - - . . x . . . . . . ." - " com.github.liquidz/antq 2.7.1133 maven 51 x x x - - x . . . . . . . . ." - " djblue/portal 0.50.0 maven 1,845 x x x - - . . . . . . x . . ." + " com.github.liquidz/antq 2.7.1147 maven 52 x x x - - x . . . . . . . . ." + " djblue/portal 0.51.0 maven 1,847 x x x - - . . . . . . x . . ." " metosin/malli 0.13.0 maven 85 x x x - - . . . . . . . x . ." " mvxcvi/puget 1.3.4 maven 15 x x x - - . . . . . . . . . x" " org.clojure/clojure 1.11.1 maven 4,008 x x x - - . . . . . . . . . ." diff --git a/readme.adoc b/readme.adoc index 87469e328..d7ea4d038 100644 --- a/readme.adoc +++ b/readme.adoc @@ -1,19 +1,19 @@ image::doc/images/logo.png[width=400] :cljdoc-doc-url: https://cljdoc.org/d/polylith/clj-poly/CURRENT/doc // Make sure we use the same version here as in components/version/.../interface.clj -:snapshot-version: 0.2.18 SNAPSHOT #23 +//:snapshot-version: 0.2.19 SNAPSHOT #1 //https://cljdoc.org/d/polylith/clj-poly/CURRENT[image:https://cljdoc.org/badge/polylith/clj-poly[cljdoc]] -https://polylith.gitbook.io/poly[image:https://badgen.net/badge/doc/0.2.17-alpha/blue[]] -ifdef::env-cljdoc[] -https://cljdoc.org/d/polylith/clj-poly/0.2.18-SNAPSHOT[image:https://badgen.net/badge/doc/0.2.18-SNAPSHOT/cyan[]] -endif::[] +https://cljdoc.org/d/polylith/clj-poly/CURRENT/doc/readme[image:https://badgen.net/badge/doc/0.2.18/blue[]] +//ifdef::env-cljdoc[] +//https://cljdoc.org/d/polylith/clj-poly/0.2.18-SNAPSHOT[image:https://badgen.net/badge/doc/0.2.18-SNAPSHOT/cyan[]] +//endif::[] https://clojurians.slack.com/messages/C013B7MQHJQ[image:https://badgen.net/badge/slack/join chat/green[]] == Welcome to the wonderful world of Polylith for Clojure! -NOTE: *Work in Progress*: While we are very proud of our documentation, we are currently working to make it even better! -To give you a sneak peek, we built this `{snapshot-version}` release from our https://github.com/polyfy/polylith/tree/master[master] branch. +//NOTE: *Work in Progress*: While we are very proud of our documentation, we are currently working to make it even better! +//To give you a sneak peek, we built this `{snapshot-version}` release from our https://github.com/polyfy/polylith/tree/master[master] branch. Polylith is made by developers for developers. Our goal is to maximize productivity and increase the quality of the systems we create. diff --git a/scripts/sections/base/deps.edn b/scripts/sections/base/deps.edn index def5ede07..123b52b69 100644 --- a/scripts/sections/base/deps.edn +++ b/scripts/sections/base/deps.edn @@ -9,4 +9,4 @@ "bases/cli/test"]} :poly {:main-opts ["-m" "polylith.clj.core.poly-cli.core"] - :extra-deps {polylith/clj-poly {:mvn/version "0.2.18-SNAPSHOT"}}}}} + :extra-deps {polylith/clj-poly {:mvn/version "0.2.18"}}}}} diff --git a/scripts/sections/build/deps.edn b/scripts/sections/build/deps.edn index 85090f674..61c873521 100644 --- a/scripts/sections/build/deps.edn +++ b/scripts/sections/build/deps.edn @@ -17,4 +17,4 @@ :ns-default build} :poly {:main-opts ["-m" "polylith.clj.core.poly-cli.core"] - :extra-deps {polylith/clj-poly {:mvn/version "0.2.18-SNAPSHOT"}}}}} + :extra-deps {polylith/clj-poly {:mvn/version "0.2.18"}}}}} diff --git a/scripts/sections/profile/deps.edn b/scripts/sections/profile/deps.edn index cfa3e8329..fae7e0492 100644 --- a/scripts/sections/profile/deps.edn +++ b/scripts/sections/profile/deps.edn @@ -25,4 +25,4 @@ :ns-default build} :poly {:main-opts ["-m" "polylith.clj.core.poly-cli.core"] - :extra-deps {polylith/clj-poly {:mvn/version "0.2.18-SNAPSHOT"}}}}} + :extra-deps {polylith/clj-poly {:mvn/version "0.2.18"}}}}} diff --git a/scripts/sections/project/deps.edn b/scripts/sections/project/deps.edn index 86a92ed47..123b52b69 100644 --- a/scripts/sections/project/deps.edn +++ b/scripts/sections/project/deps.edn @@ -9,4 +9,4 @@ "bases/cli/test"]} :poly {:main-opts ["-m" "polylith.clj.core.poly-cli.core"] - :extra-deps {polylith/clj-poly {:mvn/version "0.2.18-SNAPSHOT"}}} }} + :extra-deps {polylith/clj-poly {:mvn/version "0.2.18"}}}}} diff --git a/scripts/sections/testing/deps.edn b/scripts/sections/testing/deps.edn index 34c8f2a36..8b757aa16 100644 --- a/scripts/sections/testing/deps.edn +++ b/scripts/sections/testing/deps.edn @@ -17,4 +17,4 @@ :ns-default build} :poly {:main-opts ["-m" "polylith.clj.core.poly-cli.core"] - :extra-deps {polylith/clj-poly {:mvn/version "0.2.18-SNAPSHOT"}}}}} + :extra-deps {polylith/clj-poly {:mvn/version "0.2.18"}}}}}