Skip to content

Commit

Permalink
Release 0.2.19 (#438)
Browse files Browse the repository at this point in the history
Release 0.2.19. Changed version + updated links.
  • Loading branch information
tengstrand authored Feb 16, 2024
1 parent c5895b7 commit e488b44
Show file tree
Hide file tree
Showing 9 changed files with 43 additions and 46 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 19)
(def revision SNAPSHOT) ;; Set to SNAPSHOT or RELEASE.
(def snapshot 10) ;; 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-02-13")
(def date "2024-02-16")

;; Execute 'poly doc version' 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.2.19 (2024-02-10) - https://github.com/polyfy/polylith
poly 0.2.19 (2024-02-16) - https://github.com/polyfy/polylith
poly CMD [ARGS] - where CMD [ARGS] are:
Expand Down
29 changes: 14 additions & 15 deletions examples/doc-example/ws.edn
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@
:base-deps {:src [], :test []}}],
:changes
{:since "stable",
:since-sha "7d7e4a688f86c957d56520df55e2200de9e5e92f",
:since-sha "1512994c65dd450f3bc8a162862fad8f64faf386",
:since-tag "stable-lisa",
:changed-files
["bases/user-api/deps.edn"
Expand All @@ -65,7 +65,7 @@
"projects/user-service/deps.edn"
"workspace.edn"],
:git-diff-command
"git diff 7d7e4a688f86c957d56520df55e2200de9e5e92f --name-only",
"git diff 1512994c65dd450f3bc8a162862fad8f64faf386 --name-only",
:changed-components ["user-remote"],
:changed-bases ["user-api"],
:changed-projects ["command-line" "user-service"],
Expand Down Expand Up @@ -316,7 +316,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-02-10-131214/ws/example/projects/command-line/deps.edn",
"/private/var/folders/_0/7sl6982d6l7bzdlypmk308kw0000gn/T/polylith-example-2024-02-16-050715/ws/example/projects/command-line/deps.edn",
:namespaces
{:test
[{:name "project.command-line.test-setup",
Expand Down Expand Up @@ -361,7 +361,7 @@
"clojars" {:url "https://repo.clojars.org/"}},
:alias "cl",
:project-dir
"/private/var/folders/_0/7sl6982d6l7bzdlypmk308kw0000gn/T/polylith-example-2024-02-10-131214/ws/example/projects/command-line",
"/private/var/folders/_0/7sl6982d6l7bzdlypmk308kw0000gn/T/polylith-example-2024-02-16-050715/ws/example/projects/command-line",
:lib-deps
{:src
{"org.clojure/clojure"
Expand Down Expand Up @@ -389,7 +389,7 @@
"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-02-10-131214/ws/example/projects/user-service/deps.edn",
"/private/var/folders/_0/7sl6982d6l7bzdlypmk308kw0000gn/T/polylith-example-2024-02-16-050715/ws/example/projects/user-service/deps.edn",
:namespaces {},
:base-names {:src ["user-api"], :test ["user-api"]},
:lib-imports
Expand Down Expand Up @@ -420,7 +420,7 @@
"clojars" {:url "https://repo.clojars.org/"}},
:alias "user-s",
:project-dir
"/private/var/folders/_0/7sl6982d6l7bzdlypmk308kw0000gn/T/polylith-example-2024-02-10-131214/ws/example/projects/user-service",
"/private/var/folders/_0/7sl6982d6l7bzdlypmk308kw0000gn/T/polylith-example-2024-02-16-050715/ws/example/projects/user-service",
:lib-deps
{:src
{"org.clojure/clojure"
Expand All @@ -442,7 +442,7 @@
"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-02-10-131214/ws/example/deps.edn",
"/private/var/folders/_0/7sl6982d6l7bzdlypmk308kw0000gn/T/polylith-example-2024-02-16-050715/ws/example/deps.edn",
:namespaces
{:src
[{:name "dev.lisa",
Expand Down Expand Up @@ -486,7 +486,7 @@
"clojars" {:url "https://repo.clojars.org/"}},
:alias "dev",
:project-dir
"/private/var/folders/_0/7sl6982d6l7bzdlypmk308kw0000gn/T/polylith-example-2024-02-10-131214/ws/example/development",
"/private/var/folders/_0/7sl6982d6l7bzdlypmk308kw0000gn/T/polylith-example-2024-02-16-050715/ws/example/development",
:unmerged
{:paths
{:src
Expand Down Expand Up @@ -535,11 +535,11 @@
:is-git-repo true,
:branch "main",
:git-root
"/private/var/folders/_0/7sl6982d6l7bzdlypmk308kw0000gn/T/polylith-example-2024-02-10-131214/ws/example",
"/private/var/folders/_0/7sl6982d6l7bzdlypmk308kw0000gn/T/polylith-example-2024-02-16-050715/ws/example",
:auto-add true,
:stable-since
{:tag "stable-lisa",
:sha "7d7e4a688f86c957d56520df55e2200de9e5e92f"},
:sha "1512994c65dd450f3bc8a162862fad8f64faf386"},
:polylith
{:repo "https://github.com/polyfy/polylith.git", :branch "master"}},
:top-namespace "se.example",
Expand Down Expand Up @@ -587,19 +587,18 @@
:unnamed-args []},
:version
{:release
{:name "0.2.19-SNAPSHOT",
{:name "0.2.19",
:tool "poly",
:major 0,
:minor 2,
:patch 19,
:revision "SNAPSHOT",
:date "2024-02-10",
:snapshot 7},
:revision "",
:date "2024-02-13"},
: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-02-10-131214/ws/example",
"/private/var/folders/_0/7sl6982d6l7bzdlypmk308kw0000gn/T/polylith-example-2024-02-16-050715/ws/example",
:ws-reader
{:name "polylith-clj",
:project-url "https://github.com/polyfy/polylith",
Expand Down
24 changes: 12 additions & 12 deletions next-release.adoc
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@


== Included in 0.2.19-SNAPSHOT
== Included since 0.2.18

[cols="10,100"]
|===
| Issue | Description

| https://github.com/polyfy/polylith/issues/315[315]
| Moved `:change:project-to-\*` keys to `:projects:PROJECT:\*`, and `:settings:profile-to-settings` to `:profiles`, in the workspace structure + some other changes, documented https://cljdoc.org/d/polylith/clj-poly/0.2.19-SNAPSHOT/doc/versions[here].
| Moved `:change:project-to-\*` keys to `:projects:PROJECT:\*`, and `:settings:profile-to-settings` to `:profiles`, in the workspace structure + some other changes, documented https://cljdoc.org/d/polylith/clj-poly/0.2.19/doc/versions[here].
This clean up of the workspace structure was introduced to simplify future maintenance.
It unfortunately broke the Test Runner contract (tests has been added, so this hopefully will not happen again). The good part is that the improved inner workspace structure will make it easier to implement test runners in the future .
We decided to skip the idea of storing project and brick configuration in separate files because it made it harder to edit it and get an overview (they can still be found in `:projects` and `:bricks` in `workspace.edn`).
Expand All @@ -32,9 +32,9 @@ We decided to skip the idea of storing project and brick configuration in separa
|===
| Other changes

| If you use a https://cljdoc.org/d/polylith/clj-poly/0.2.19-SNAPSHOT/doc/test-runners[test runner] other than the built-in one, make sure to use at least 0.8.4 of the Kaocha test runner, and 0.4.0 of the External test runner.
| If you use a https://cljdoc.org/d/polylith/clj-poly/0.2.19/doc/test-runners[test runner] other than the built-in one, make sure to use at least 0.8.4 of the Kaocha test runner, and 0.4.0 of the External test runner.

| Reintroduced the global `:test` key in `:settings` in the workspace structure (taken from workspace.edn), see https://cljdoc.org/d/polylith/clj-poly/0.2.19-SNAPSHOT/doc/versions[versions] (bug fix).
| Reintroduced the global `:test` key in `:settings` in the workspace structure (taken from workspace.edn), see https://cljdoc.org/d/polylith/clj-poly/0.2.19/doc/versions[versions] (bug fix).

| Make sure we also update libraries for the development project when we execute `poly libs :update` (bug fix).

Expand All @@ -43,7 +43,7 @@ name clashes for the users of the https://clojars.org/polylith/clj-poly[clj-poly

| Added `check` and `test` functions to the https://clojars.org/polylith/clj-poly[clj-poly] API.

| Custom data can be stored in the reserved `:custom` key at the root of `workspace.edn` and under each project and brick, see https://cljdoc.org/d/polylith/clj-poly/0.2.19-SNAPSHOT/doc/configuration?q=custom#custom[custom configuration].
| Custom data can be stored in the reserved `:custom` key at the root of `workspace.edn` and under each project and brick, see https://cljdoc.org/d/polylith/clj-poly/0.2.19/doc/configuration?q=custom#custom[custom configuration].

| The https://github.com/polyfy/polylith/tree/master/examples/test-runners[test-runners] example project was added. It uses the https://github.com/imrekoszo/polylith-kaocha[Kaocha] and https://github.com/seancorfield/polylith-external-test-runner[External] test runners, and is executed before we make a release (from https://github.com/polyfy/polylith/blob/master/scripts/create_example.clj[create-example]) to reduce the risk that we break the Test Runner API in the future.

Expand All @@ -52,7 +52,7 @@ its own deps.edn file (created by https://github.com/polyfy/polylith/releases/ta

| Print a deprecation message if the shorter form of "create component/project/workspace" is used, e.g. `create c name:mycomp`.

| Print a deprecation message if `::` is used (that looks up the workspace root). This feature will be removed in the future, and the reason is that it's no longer needed since we introduced the https://cljdoc.org/d/polylith/clj-poly/0.2.19-SNAPSHOT/doc/shell[shell] command.
| Print a deprecation message if `::` is used (that looks up the workspace root). This feature will be removed in the future, and the reason is that it's no longer needed since we introduced the https://cljdoc.org/d/polylith/clj-poly/0.2.19/doc/shell[shell] command.

| Make sure we can create a workspace, even if it exists a non-polylith deps.edn file at the root.
|===
Expand All @@ -62,18 +62,18 @@ its own deps.edn file (created by https://github.com/polyfy/polylith/releases/ta

| Converted this documentation from next-release.txt to https://asciidoc.org[AsciiDoc].

| Fixed three broken images on the https://cljdoc.org/d/polylith/clj-poly/0.2.19-SNAPSHOT/doc/testing[Testing] page.
| Fixed three broken images on the https://cljdoc.org/d/polylith/clj-poly/0.2.19/doc/testing[Testing] page.

| Show snapshot number, e.g. `0.2.19-SNAPSHOT #7` for the badge at the top of the https://cljdoc.org/d/polylith/clj-poly/0.2.19-SNAPSHOT/doc/readme[start page] for snapshot releases.

| Added a https://cljdoc.org/d/polylith/clj-poly/0.2.19-SNAPSHOT/doc/component#expose-code-outside-workspace[warning] that you should use a more unique prefix (lib name) for your bricks in project `deps.edn` files, if the code is exposed outside the workspace, e.g. as a library. Thanks https://github.com/imrekoszo[Imre Kószó] for pointing this out!
| Added a https://cljdoc.org/d/polylith/clj-poly/0.2.19/doc/component#expose-code-outside-workspace[warning] that you should use a more unique prefix (lib name) for your bricks in project `deps.edn` files, if the code is exposed outside the workspace, e.g. as a library. Thanks https://github.com/imrekoszo[Imre Kószó] for pointing this out!

| Added a https://cljdoc.org/d/polylith/clj-poly/0.2.19-SNAPSHOT/doc/shell#refresh-ws[tip] on how to refresh your workspace from a shell.
| Added a https://cljdoc.org/d/polylith/clj-poly/0.2.19/doc/shell#refresh-ws[tip] on how to refresh your workspace from a shell.

| Added a note that https://cljdoc.org/d/polylith/clj-poly/0.2.19-SNAPSHOT/doc/shell#read-old-workspace[old workspaces] can be read by the tool (both from exported files and from disk).
| Added a note that https://cljdoc.org/d/polylith/clj-poly/0.2.19/doc/shell#read-old-workspace[old workspaces] can be read by the tool (both from exported files and from disk).

| Added https://medium.com/qantas-engineering-blog/leveraging-polylith-to-improve-consistency-reduce-complexity-and-increase-changeability-2031dd3d5f3d[Leveraging Polylith to improve consistency, reduce complexity and increase changeability] to the list of https://cljdoc.org/d/polylith/clj-poly/0.2.19-SNAPSHOT/doc/doc#_blog_posts[blog posts]. These can also be accessed by the doc command.
| Added https://medium.com/qantas-engineering-blog/leveraging-polylith-to-improve-consistency-reduce-complexity-and-increase-changeability-2031dd3d5f3d[Leveraging Polylith to improve consistency, reduce complexity and increase changeability] to the list of https://cljdoc.org/d/polylith/clj-poly/0.2.19/doc/doc#_blog_posts[blog posts]. These can also be accessed by the doc command.

| Added https://cljdoc.org/d/polylith/clj-poly/0.2.19-SNAPSHOT/doc/example-systems#_demo_rama_electric[Demo Rama Electric] to the list of example systems.
| Added https://cljdoc.org/d/polylith/clj-poly/0.2.19/doc/example-systems#_demo_rama_electric[Demo Rama Electric] to the list of example systems.

|===
10 changes: 5 additions & 5 deletions readme.adoc
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
image::doc/images/logo.png[width=400]
:snapshot-version: 10
:snapshot-version: 0
:cljdoc-doc-url: https://cljdoc.org/d/polylith/clj-poly/CURRENT/doc

https://cljdoc.org/d/polylith/clj-poly/0.2.18/doc/readme[image:https://badgen.net/badge/doc/0.2.18/blue[]]
ifdef::env-cljdoc[]
https://cljdoc.org/d/polylith/clj-poly/0.2.19-SNAPSHOT[image:https://badgen.net/badge/doc/0.2.19-SNAPSHOT%20%23{snapshot-version}/cyan[]]
endif::[]
https://cljdoc.org/d/polylith/clj-poly/0.2.19/doc/readme[image:https://badgen.net/badge/doc/0.2.19/blue[]]
// ifdef::env-cljdoc[]
// https://cljdoc.org/d/polylith/clj-poly/0.2.19-SNAPSHOT[image:https://badgen.net/badge/doc/0.2.19-SNAPSHOT%20%23{snapshot-version}/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!
Expand Down
2 changes: 1 addition & 1 deletion scripts/create_example.clj
Original file line number Diff line number Diff line change
Expand Up @@ -373,7 +373,7 @@

;; 3. Checkout latest workspace structure 2.x
(status/line :head "Read workspace 2.0")
(shell "git checkout v0.2.18")
(shell "git checkout v0.2.19")
(shell "git clean -fdX")
(poly {:out (out "info-2.txt")} "info fake-sha:40d2f62 :no-changes color-mode:none")
(poly {:out (out "libs-2.txt")} "libs color-mode:none")
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.2.19 (2024-02-10) - https://github.com/polyfy/polylith
poly 0.2.19 (2024-02-16) - https://github.com/polyfy/polylith

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

Expand Down
7 changes: 3 additions & 4 deletions scripts/output/local-dep-old-format/ws.edn
Original file line number Diff line number Diff line change
Expand Up @@ -860,14 +860,13 @@
:is-no-exit false},
:version
{:release
{:name "0.2.19-SNAPSHOT",
{:name "0.2.19",
:tool "poly",
:major 0,
:minor 2,
:patch 19,
:revision "SNAPSHOT",
:date "2024-02-10",
:snapshot 7},
:revision "",
:date "2024-02-16"},
:api {:breaking 1, :non-breaking 0},
:test-runner-api {:breaking 1, :non-breaking 0},
:ws {:breaking 3, :non-breaking 0},
Expand Down
7 changes: 3 additions & 4 deletions scripts/output/local-dep/ws.edn
Original file line number Diff line number Diff line change
Expand Up @@ -767,14 +767,13 @@
:is-no-exit false},
:version
{:release
{:name "0.2.19-SNAPSHOT",
{:name "0.2.19",
:tool "poly",
:major 0,
:minor 2,
:patch 19,
:revision "SNAPSHOT",
:date "2024-02-10",
:snapshot 7},
:revision "",
:date "2024-02-16"},
:api {:breaking 1, :non-breaking 0},
:test-runner-api {:breaking 1, :non-breaking 0},
:ws {:breaking 3, :non-breaking 0}},
Expand Down

0 comments on commit e488b44

Please sign in to comment.