Skip to content

Commit

Permalink
Release 0.2.21 (#507)
Browse files Browse the repository at this point in the history
0.2.21 release.
  • Loading branch information
tengstrand authored Aug 10, 2024
1 parent 2570653 commit 44f5ecb
Show file tree
Hide file tree
Showing 14 changed files with 93 additions and 116 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,8 @@
(def major 0)
(def minor 2)
(def patch 21)
(def revision SNAPSHOT) ;; Set to SNAPSHOT or RELEASE.
(def snapshot 6) ;; 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.
;; Also update :snapshot-version: at the top of readme.adoc.
(def snapshot? (= SNAPSHOT revision))

Expand All @@ -37,7 +37,7 @@

(def tool (if system/extended? "polyx" "poly"))

(def date "2024-08-09")
(def date "2024-08-10")

;; Execute 'poly doc page:versions' to see when different changes was introduced.
(def api-version {:breaking 1, :non-breaking 0})
Expand Down
2 changes: 1 addition & 1 deletion doc/commands.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ poly help

[source,text]
----
poly 0.3.21 (2024-08-08) - https://github.com/polyfy/polylith
poly 0.2.21 (2024-08-10) - https://github.com/polyfy/polylith
poly CMD [ARGS] - where CMD [ARGS] are:
Expand Down
2 changes: 1 addition & 1 deletion doc/install.adoc
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
= Install
:toc:
:poly-version: 0.2.20
:poly-version: 0.2.21
:cljdoc-api-url: https://cljdoc.org/d/polylith/clj-poly/CURRENT/api

There are two ways to install the `poly` tool:
Expand Down
2 changes: 1 addition & 1 deletion doc/shell.adoc
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
= Shell
:toc:
:poly-version: 0.2.20
:poly-version: 0.2.21

Not only does the `shell` make you more productive, but it's also fun to use!
It takes full advantage of https://github.com/jline/jline3[jline3] under the hood, which supports macOS, Linux, FreeBSD, Solaris, and Windows.
Expand Down
2 changes: 1 addition & 1 deletion doc/test-runners.adoc
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
= Test Runners
:toc:
:poly-version: 0.2.20
:poly-version: 0.2.21
:cljdoc-api-url: https://cljdoc.org/d/polylith/clj-poly/CURRENT/api

Starting with version `0.2.15`, the `poly` tool lets you choose your test runners.
Expand Down
2 changes: 1 addition & 1 deletion doc/upgrade.adoc
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
= Upgrade
:toc:
:poly-version: 0.2.20
:poly-version: 0.2.21

If the `poly` tool has been xref:install.adoc[installed], it can be upgraded.

Expand Down
8 changes: 4 additions & 4 deletions doc/visualize-the-repo.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -5,16 +5,16 @@

=== git-of-theseus

Here we use https://github.com/erikbern/git-of-theseus[git-of-theseus] to show how the https://github.com/polyfy/polylith[polylith] codebase has evolved over time:
Here we use https://github.com/erikbern/git-of-theseus[git-of-theseus] to show how the https://github.com/polyfy/polylith[polylith] codebase has evolved over time.

As you can see, the codebase has been constantly reworked to keep it in shape:

image::images/visualize-the-repo/git-of-theseus/code-over-time.png[]

As you can see, the codebase has been constantly reworked to keep it in shape.
This second diagram shows how people have contributed with source code (mostly Clojure code) to the codebase:

image::images/visualize-the-repo/git-of-theseus/contribution.png[]

This second diagram shows how people have contributed with source code (mostly Clojure code) to the codebase.

==== Install

If you want to try it out yourself, start by cloning the polylith repo (if you haven't already):
Expand Down
2 changes: 1 addition & 1 deletion doc/workspace-structure.adoc
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
= Workspace Structure
:toc:
:poly-version: 0.2.20
:poly-version: 0.2.21
:cljdoc-api-url: https://cljdoc.org/d/polylith/clj-poly/CURRENT/api

The `poly` tool gives us access to the data structure that represents the workspace, which is the same structure that all the `poly` commands operate on internally.
Expand Down
2 changes: 1 addition & 1 deletion doc/workspace.adoc
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
= Workspace
:poly-version: 0.2.20
:poly-version: 0.2.21

The workspace directory is where all your code and most of your xref:configuration.adoc[configuration] lives.

Expand Down
77 changes: 34 additions & 43 deletions examples/doc-example/ws.edn
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
:namespace "se.example.cli.core-test",
:file-path "bases/cli/test/se/example/cli/core_test.clj",
:imports ["clojure.test" "se.example.cli.core"]}]},
:lib-imports {:test ["clojure.test" "se.example.cli.core"]},
:lib-imports {:test ["clojure.test"]},
:name "cli",
:paths {:src ["src" "resources"], :test ["test"]},
:type "base",
Expand All @@ -35,9 +35,7 @@
:file-path
"bases/user-api/test/se/example/user_api/core_test.clj",
:imports ["clojure.test" "se.example.user-api.core"]}]},
:lib-imports
{:src ["se.example.user-api.api" "slacker.server"],
:test ["clojure.test" "se.example.user-api.core"]},
:lib-imports {:src ["slacker.server"], :test ["clojure.test"]},
:name "user-api",
:paths {:src ["src" "resources"], :test ["test"]},
:type "base",
Expand All @@ -49,7 +47,7 @@
:base-deps {:src [], :test []}}],
:changes
{:since "stable",
:since-sha "c492a729a139853dde5132f99da08757b67c87b1",
:since-sha "2f7d38594d93af5cf2c5cbd5348eb700c6501e2a",
:since-tag "stable-lisa",
:changed-files
["bases/user-api/deps.edn"
Expand All @@ -65,7 +63,7 @@
"projects/user-service/deps.edn"
"workspace.edn"],
:git-diff-command
"git diff c492a729a139853dde5132f99da08757b67c87b1 --name-only",
"git diff 2f7d38594d93af5cf2c5cbd5348eb700c6501e2a --name-only",
:changed-components ["user-remote"],
:changed-bases ["user-api"],
:changed-projects ["command-line" "user-service"],
Expand Down Expand Up @@ -206,7 +204,7 @@
:build
{:deps
{org.clojure/tools.deps {:mvn/version "0.16.1281"},
io.github.clojure/tools.build {:mvn/version "0.9.5"},
io.github.clojure/tools.build {:mvn/version "0.10.5"},
io.github.seancorfield/build-uber-log4j2-handler
{:git/tag "v0.1.5", :git/sha "55fb6f6"}},
:paths ["build/resources"],
Expand Down Expand Up @@ -241,15 +239,15 @@
{:dir "examples/local-dep"}
{:dir "examples/local-dep-old-format"}
{:dir "examples/missing-component"}
{:dir "examples/multiple-workspaces/backend"}
{:dir "examples/multiple-workspaces/shared"}
{:dir "examples/multiple-workspaces/shared2"}
{:dir "examples/integrant-system"}
{:dir "examples/profiles"}
{:dir "examples/poly-rcf"}
{:dir "examples/poly-rcf/monolith", :name "monolith-poly-rcf"}
{:dir "examples/test-runners"}
{:dir "../sandbox/polylith-bug"}
{:dir "../clojure-polylith-realworld-example-app",
:name "realworld"}
{:file "patrix.edn"}
{:file "../sandbox/oliver.edn"}]}},
:workspace
{:top-namespace "se.example",
Expand Down Expand Up @@ -333,7 +331,7 @@
:projects
[{:lines-of-code {:src 0, :test 13, :total {:src 42, :test 24}},
:deps-filename
"/private/var/folders/_0/7sl6982d6l7bzdlypmk308kw0000gn/T/polylith-example-2024-05-30-173726/ws/example/projects/command-line/deps.edn",
"/private/var/folders/_0/7sl6982d6l7bzdlypmk308kw0000gn/T/polylith-example-2024-08-10-214102/ws/example/projects/command-line/deps.edn",
:namespaces
{:test
[{:name "project.command-line.test-setup",
Expand All @@ -347,9 +345,7 @@
"projects/command-line/test/project/command_line/dummy_test.clj",
:imports ["clojure.test"]}]},
:base-names {:src ["cli"], :test ["cli"]},
:lib-imports
{:src ["slacker.client"],
:test ["clojure.test" "se.example.cli.core"]},
:lib-imports {:src ["slacker.client"], :test ["clojure.test"]},
:is-dev false,
:name "command-line",
:project-lib-deps
Expand Down Expand Up @@ -378,7 +374,7 @@
"clojars" {:url "https://repo.clojars.org/"}},
:alias "cl",
:project-dir
"/private/var/folders/_0/7sl6982d6l7bzdlypmk308kw0000gn/T/polylith-example-2024-05-30-173726/ws/example/projects/command-line",
"/private/var/folders/_0/7sl6982d6l7bzdlypmk308kw0000gn/T/polylith-example-2024-08-10-214102/ws/example/projects/command-line",
:lib-deps
{:src
{"org.clojure/clojure"
Expand All @@ -401,17 +397,15 @@
[polylith.clj.core.clojure-test-test-runner.interface/create]},
:bricks-to-test ["cli" "user-remote"],
:deps
{"user-remote" {:src {}, :test {}},
"cli"
{:src {:direct ["user-remote"]}, :test {:direct ["user-remote"]}}}}
{"cli"
{:src {:direct ["user-remote"]}, :test {:direct ["user-remote"]}},
"user-remote" {:src {}, :test {}}}}
{:lines-of-code {:src 0, :test 0, :total {:src 44, :test 26}},
:deps-filename
"/private/var/folders/_0/7sl6982d6l7bzdlypmk308kw0000gn/T/polylith-example-2024-05-30-173726/ws/example/projects/user-service/deps.edn",
"/private/var/folders/_0/7sl6982d6l7bzdlypmk308kw0000gn/T/polylith-example-2024-08-10-214102/ws/example/projects/user-service/deps.edn",
:namespaces {},
:base-names {:src ["user-api"], :test ["user-api"]},
:lib-imports
{:src ["se.example.user-api.api" "slacker.server"],
:test ["clojure.test" "se.example.user-api.core"]},
:lib-imports {:src ["slacker.server"], :test ["clojure.test"]},
:is-dev false,
:name "user-service",
:project-lib-deps
Expand All @@ -437,7 +431,7 @@
"clojars" {:url "https://repo.clojars.org/"}},
:alias "user-s",
:project-dir
"/private/var/folders/_0/7sl6982d6l7bzdlypmk308kw0000gn/T/polylith-example-2024-05-30-173726/ws/example/projects/user-service",
"/private/var/folders/_0/7sl6982d6l7bzdlypmk308kw0000gn/T/polylith-example-2024-08-10-214102/ws/example/projects/user-service",
:lib-deps
{:src
{"org.clojure/clojure"
Expand All @@ -455,22 +449,19 @@
[polylith.clj.core.clojure-test-test-runner.interface/create]},
:bricks-to-test ["user" "user-api"],
:deps
{"user" {:src {}, :test {}},
"user-api" {:src {:direct ["user"]}, :test {:direct ["user"]}}}}
{"user-api" {:src {:direct ["user"]}, :test {:direct ["user"]}},
"user" {:src {}, :test {}}}}
{:lines-of-code {:src 4, :test 0, :total {:src 58, :test 38}},
:deps-filename
"/private/var/folders/_0/7sl6982d6l7bzdlypmk308kw0000gn/T/polylith-example-2024-05-30-173726/ws/example/deps.edn",
"/private/var/folders/_0/7sl6982d6l7bzdlypmk308kw0000gn/T/polylith-example-2024-08-10-214102/ws/example/deps.edn",
:namespaces
{:src
[{:name "dev.lisa",
:namespace "dev.lisa",
:file-path "development/src/dev/lisa.clj",
:imports ["slacker.client"]}]},
:base-names {:src ["cli" "user-api"], :test ["cli" "user-api"]},
:lib-imports
{:src ["se.example.user-api.api" "slacker.server"],
:test
["clojure.test" "se.example.cli.core" "se.example.user-api.core"]},
:lib-imports {:src ["slacker.server"], :test ["clojure.test"]},
:is-dev true,
:name "development",
:project-lib-deps
Expand Down Expand Up @@ -503,7 +494,7 @@
"clojars" {:url "https://repo.clojars.org/"}},
:alias "dev",
:project-dir
"/private/var/folders/_0/7sl6982d6l7bzdlypmk308kw0000gn/T/polylith-example-2024-05-30-173726/ws/example/development",
"/private/var/folders/_0/7sl6982d6l7bzdlypmk308kw0000gn/T/polylith-example-2024-08-10-214102/ws/example/development",
:unmerged
{:paths
{:src
Expand Down Expand Up @@ -543,20 +534,20 @@
[polylith.clj.core.clojure-test-test-runner.interface/create]},
:bricks-to-test [],
:deps
{"user" {:src {}, :test {}},
"cli" {:src {:direct ["user"]}, :test {:direct ["user"]}},
"user-api" {:src {:direct ["user"]}, :test {:direct ["user"]}}}}],
{"cli" {:src {:direct ["user"]}, :test {:direct ["user"]}},
"user-api" {:src {:direct ["user"]}, :test {:direct ["user"]}},
"user" {:src {}, :test {}}}}],
:settings
{:vcs
{:name "git",
:is-git-repo true,
:branch "main",
:branch "master",
:git-root
"/private/var/folders/_0/7sl6982d6l7bzdlypmk308kw0000gn/T/polylith-example-2024-05-30-173726/ws/example",
"/private/var/folders/_0/7sl6982d6l7bzdlypmk308kw0000gn/T/polylith-example-2024-08-10-214102/ws/example",
:auto-add true,
:stable-since
{:tag "stable-lisa",
:sha "c492a729a139853dde5132f99da08757b67c87b1"},
:sha "2f7d38594d93af5cf2c5cbd5348eb700c6501e2a"},
:polylith
{:repo "https://github.com/polyfy/polylith.git", :branch "master"}},
:top-namespace "se.example",
Expand Down Expand Up @@ -585,6 +576,7 @@
:is-latest-sha false,
:is-local false,
:is-no-changes false,
:is-transparent false,
:is-no-exit false,
:is-outdated false,
:is-swap-axes false,
Expand All @@ -605,19 +597,18 @@
:unnamed-args []},
:version
{:release
{:name "0.2.20-SNAPSHOT",
{:name "0.2.21",
:tool "poly",
:major 0,
:minor 2,
:patch 20,
:revision "SNAPSHOT",
:date "2024-05-30",
:snapshot 18},
:patch 21,
:revision "",
:date "2024-08-10"},
:api {:breaking 1, :non-breaking 0},
:test-runner-api {:breaking 1, :non-breaking 0},
:ws {:breaking 3, :non-breaking 0}},
:ws-dir
"/private/var/folders/_0/7sl6982d6l7bzdlypmk308kw0000gn/T/polylith-example-2024-05-30-173726/ws/example",
"/private/var/folders/_0/7sl6982d6l7bzdlypmk308kw0000gn/T/polylith-example-2024-08-10-214102/ws/example",
:ws-reader
{:name "polylith-clj",
:project-url "https://github.com/polyfy/polylith",
Expand Down
4 changes: 2 additions & 2 deletions readme.adoc
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
image::doc/images/logo.png[width=400]
:snapshot-version: 6
:snapshot-version: 0
:cljdoc-doc-url: https://cljdoc.org/d/polylith/clj-poly/CURRENT/doc

https://cljdoc.org/d/polylith/clj-poly/0.2.20/doc/readme[image:https://badgen.net/badge/doc/0.2.20/blue[]]
https://cljdoc.org/d/polylith/clj-poly/0.2.21/doc/readme[image:https://badgen.net/badge/doc/0.2.21/blue[]]
ifeval::[{snapshot-version} > 0 && env-cljdoc]
https://cljdoc.org/d/polylith/clj-poly/0.2.21-SNAPSHOT[image:https://badgen.net/badge/doc/0.2.21-SNAPSHOT%20%23{snapshot-version}/cyan[]]
endif::[]
Expand Down
2 changes: 1 addition & 1 deletion scripts/output/help/help.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
poly 0.3.21 (2024-08-08) - https://github.com/polyfy/polylith
poly 0.2.21 (2024-08-10) - https://github.com/polyfy/polylith

poly CMD [ARGS] - where CMD [ARGS] are:

Expand Down
Loading

0 comments on commit 44f5ecb

Please sign in to comment.