From 5cd7a7a7c6e312df4fddb6733603daf04e34c4cb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pawe=C5=82=20Pra=C5=BCak?= Date: Thu, 22 Feb 2024 17:57:45 +0100 Subject: [PATCH 1/3] Bump version to 0.2.2 --- README.md | 12 ++++++------ besom-cats/project.scala | 3 +-- besom-zio/project.scala | 3 +-- core/project.scala | 3 +-- examples/aws-eks/project.scala | 5 ++--- examples/aws-s3-folder/project.scala | 5 ++--- examples/aws-secrets-manager/project.scala | 5 ++--- examples/aws-webserver/project.scala | 5 ++--- .../docker-multi-container-app/infra/project.scala | 5 ++--- examples/gcp-cloudrun/infra/project.scala | 5 ++--- examples/gcp-static-page/project.scala | 5 ++--- .../kubernetes-guestbook/components/project.scala | 8 ++++---- examples/kubernetes-guestbook/simple/project.scala | 8 ++++---- examples/kubernetes-nginx/project.scala | 5 ++--- experimental/project.scala | 5 ++--- integration-tests/project.scala | 3 +-- .../resources/cats-purrl-example/project.scala | 7 +++---- .../resources/compiler-plugin/project.scala | 5 ++--- .../resources/config-example/project.scala | 5 ++--- .../resources/executors/gradle/build.gradle.kts | 2 +- integration-tests/resources/executors/maven/pom.xml | 4 ++-- integration-tests/resources/executors/sbt/build.sbt | 2 +- .../resources/executors/scala-cli/project.scala | 5 ++--- .../resources/kubernetes-secrets/project.scala | 5 ++--- .../resources/logger-example/project.scala | 5 ++--- .../resources/random-example/project.scala | 5 ++--- .../resources/references/source-stack/project.scala | 5 ++--- .../resources/references/target-stack/project.scala | 5 ++--- .../resources/tls-example/project.scala | 5 ++--- .../resources/zio-tls-example/project.scala | 7 +++---- language-plugin/bootstrap/project.scala | 3 +-- scripts/project.scala | 3 +-- templates/aws/project.scala | 5 ++--- templates/default/project.scala | 5 ++--- templates/gcp/project.scala | 5 ++--- templates/kubernetes/project.scala | 5 ++--- version.txt | 2 +- website/docs/examples.md | 2 +- website/docs/getting_started.md | 4 ++-- website/docs/templates.md | 2 +- 40 files changed, 79 insertions(+), 109 deletions(-) diff --git a/README.md b/README.md index 09c726e8..a1ebf0c8 100644 --- a/README.md +++ b/README.md @@ -16,7 +16,7 @@ using the Scala programming language. Scala support is currently in **Public Bet * **[Besom Docs](https://virtuslab.github.io/besom/)**: Learn about Besom concepts, follow user-guides, and consult the reference documentation. -* **[Examples](https://github.com/VirtusLab/besom/tree/v0.2.1/examples)**: Browse Scala examples across many clouds and scenarios including containers, serverless, +* **[Examples](https://github.com/VirtusLab/besom/tree/v0.2.2/examples)**: Browse Scala examples across many clouds and scenarios including containers, serverless, and infrastructure. ## Getting Started @@ -44,7 +44,7 @@ using the Scala programming language. Scala support is currently in **Public Bet To install the latest Scala Language Plugin release, run the following: ```bash - pulumi plugin install language scala 0.2.1 --server github://api.github.com/VirtusLab/besom + pulumi plugin install language scala 0.2.2 --server github://api.github.com/VirtusLab/besom ``` 4. **Create a new project**: @@ -58,7 +58,7 @@ using the Scala programming language. Scala support is currently in **Public Bet mkdir besom-demo && cd besom-demo ``` ```bash - pulumi new https://github.com/VirtusLab/besom/tree/v0.2.1/templates/aws + pulumi new https://github.com/VirtusLab/besom/tree/v0.2.2/templates/aws ``` 5. **Deploy to the Cloud**: @@ -94,7 +94,7 @@ using the Scala programming language. Scala support is currently in **Public Bet To learn more, head over to [virtuslab.github.io/besom](https://virtuslab.github.io/besom/) for much more information, including [tutorial](https://virtuslab.github.io/besom/docs/tutorial), -[examples](https://github.com/VirtusLab/besom/tree/v0.2.1/examples), +[examples](https://github.com/VirtusLab/besom/tree/v0.2.2/examples), and [architecture and programming model concepts](https://virtuslab.github.io/besom/docs/architecture). ## Explaining the project structure @@ -109,8 +109,8 @@ Resources created in `Pulumi.run { ... }` block will be created by Pulumi. A simple example using Scala CLI: ```scala //> using scala "3.3.1" -//> using plugin "org.virtuslab::besom-compiler-plugin:0.2.1" -//> using dep "org.virtuslab::besom-core:0.2.1" +//> using plugin "org.virtuslab::besom-compiler-plugin:0.2.2" +//> using dep "org.virtuslab::besom-core:0.2.2" //> using dep "org.virtuslab::besom-aws:6.22.1-core.0.2" import besom.* diff --git a/besom-cats/project.scala b/besom-cats/project.scala index 2efe5ed8..abc5b70f 100644 --- a/besom-cats/project.scala +++ b/besom-cats/project.scala @@ -2,7 +2,7 @@ //> using options "-java-output-version:11" "-encoding:utf-8", "-Ykind-projector:underscores" //> using options "-deprecation", "-feature" -//> using dep "org.virtuslab::besom-core:0.2.2-SNAPSHOT" +//> using dep "org.virtuslab::besom-core:0.2.2" //> using dep "org.typelevel::cats-effect:3.3.14" //> using test.dep "org.scalameta::munit:1.0.0-M10" @@ -16,4 +16,3 @@ //> using publish.developer "lbialy|Łukasz Biały|https://github.com/lbialy" //> using publish.developer "prolativ|Michał Pałka|https://github.com/prolativ" //> using publish.developer "KacperFKorban|Kacper Korban|https://github.com/KacperFKorban" -//> using repository sonatype:snapshots diff --git a/besom-zio/project.scala b/besom-zio/project.scala index 69ae5955..90437bc6 100644 --- a/besom-zio/project.scala +++ b/besom-zio/project.scala @@ -2,7 +2,7 @@ //> using options "-java-output-version:11" "-encoding:utf-8", "-Ykind-projector:underscores" //> using options "-deprecation", "-feature" -//> using dep "org.virtuslab::besom-core:0.2.2-SNAPSHOT" +//> using dep "org.virtuslab::besom-core:0.2.2" //> using dep "dev.zio::zio:2.0.17" //> using test.dep "org.scalameta::munit:1.0.0-M10" @@ -16,4 +16,3 @@ //> using publish.developer "lbialy|Łukasz Biały|https://github.com/lbialy" //> using publish.developer "prolativ|Michał Pałka|https://github.com/prolativ" //> using publish.developer "KacperFKorban|Kacper Korban|https://github.com/KacperFKorban" -//> using repository sonatype:snapshots diff --git a/core/project.scala b/core/project.scala index a4bbbbbb..ec6ddc7d 100644 --- a/core/project.scala +++ b/core/project.scala @@ -2,7 +2,7 @@ //> using options "-java-output-version:11", "-Ysafe-init", "-Xmax-inlines:64" //> using options "-Werror", "-Wunused:all", "-deprecation", "-feature", -language:noAutoTupling -//> using dep "org.virtuslab::besom-json:0.2.2-SNAPSHOT" +//> using dep "org.virtuslab::besom-json:0.2.2" //> using dep "com.lihaoyi::sourcecode:0.3.1" //> using dep "com.google.protobuf:protobuf-java-util:3.24.4" //> using dep "io.grpc:grpc-netty:1.57.2" @@ -27,4 +27,3 @@ //> using publish.developer "prolativ|Michał Pałka|https://github.com/prolativ" //> using publish.developer "KacperFKorban|Kacper Korban|https://github.com/KacperFKorban" //> using publish.developer "pawelprazak|Paweł Prażak|https://github.com/pawelprazak" -//> using repository sonatype:snapshots diff --git a/examples/aws-eks/project.scala b/examples/aws-eks/project.scala index 6e03f0f2..feaaa410 100644 --- a/examples/aws-eks/project.scala +++ b/examples/aws-eks/project.scala @@ -1,7 +1,6 @@ //> using scala "3.3.1" //> using options -Werror -Wunused:all -Wvalue-discard -Wnonunit-statement -//> using plugin "org.virtuslab::besom-compiler-plugin:0.2.2-SNAPSHOT" -//> using dep "org.virtuslab::besom-core:0.2.2-SNAPSHOT" +//> using plugin "org.virtuslab::besom-compiler-plugin:0.2.2" +//> using dep "org.virtuslab::besom-core:0.2.2" //> using dep "org.virtuslab::besom-eks:2.2.1-core.0.2-SNAPSHOT" -//> using repository sonatype:snapshots diff --git a/examples/aws-s3-folder/project.scala b/examples/aws-s3-folder/project.scala index 430f023f..caf01d50 100644 --- a/examples/aws-s3-folder/project.scala +++ b/examples/aws-s3-folder/project.scala @@ -1,7 +1,6 @@ //> using scala "3.3.1" //> using options -Werror -Wunused:all -Wvalue-discard -Wnonunit-statement -//> using plugin "org.virtuslab::besom-compiler-plugin:0.2.2-SNAPSHOT" -//> using dep "org.virtuslab::besom-core:0.2.2-SNAPSHOT" +//> using plugin "org.virtuslab::besom-compiler-plugin:0.2.2" +//> using dep "org.virtuslab::besom-core:0.2.2" //> using dep "org.virtuslab::besom-aws:6.22.1-core.0.2-SNAPSHOT" -//> using repository sonatype:snapshots diff --git a/examples/aws-secrets-manager/project.scala b/examples/aws-secrets-manager/project.scala index 430f023f..caf01d50 100644 --- a/examples/aws-secrets-manager/project.scala +++ b/examples/aws-secrets-manager/project.scala @@ -1,7 +1,6 @@ //> using scala "3.3.1" //> using options -Werror -Wunused:all -Wvalue-discard -Wnonunit-statement -//> using plugin "org.virtuslab::besom-compiler-plugin:0.2.2-SNAPSHOT" -//> using dep "org.virtuslab::besom-core:0.2.2-SNAPSHOT" +//> using plugin "org.virtuslab::besom-compiler-plugin:0.2.2" +//> using dep "org.virtuslab::besom-core:0.2.2" //> using dep "org.virtuslab::besom-aws:6.22.1-core.0.2-SNAPSHOT" -//> using repository sonatype:snapshots diff --git a/examples/aws-webserver/project.scala b/examples/aws-webserver/project.scala index a4339aba..d3df8cdf 100644 --- a/examples/aws-webserver/project.scala +++ b/examples/aws-webserver/project.scala @@ -1,8 +1,7 @@ //> using scala 3.3.1 //> using options -Werror -Wunused:all -Wvalue-discard -Wnonunit-statement -//> using plugin org.virtuslab::besom-compiler-plugin:0.2.2-SNAPSHOT -//> using dep org.virtuslab::besom-core:0.2.2-SNAPSHOT +//> using plugin org.virtuslab::besom-compiler-plugin:0.2.2 +//> using dep org.virtuslab::besom-core:0.2.2 //> using dep org.virtuslab::besom-aws:6.22.1-core.0.2-SNAPSHOT //> using dep org.virtuslab::besom-tls:5.0.0-core.0.2-SNAPSHOT -//> using repository sonatype:snapshots diff --git a/examples/docker-multi-container-app/infra/project.scala b/examples/docker-multi-container-app/infra/project.scala index 604473b8..25a4e68b 100644 --- a/examples/docker-multi-container-app/infra/project.scala +++ b/examples/docker-multi-container-app/infra/project.scala @@ -1,7 +1,6 @@ //> using scala "3.3.1" //> using options -Werror -Wunused:all -Wvalue-discard -Wnonunit-statement -//> using plugin "org.virtuslab::besom-compiler-plugin:0.2.2-SNAPSHOT" -//> using dep "org.virtuslab::besom-core:0.2.2-SNAPSHOT" +//> using plugin "org.virtuslab::besom-compiler-plugin:0.2.2" +//> using dep "org.virtuslab::besom-core:0.2.2" //> using dep "org.virtuslab::besom-docker:4.5.1-core.0.2-SNAPSHOT" -//> using repository sonatype:snapshots diff --git a/examples/gcp-cloudrun/infra/project.scala b/examples/gcp-cloudrun/infra/project.scala index 1fd1320e..03a9f58f 100644 --- a/examples/gcp-cloudrun/infra/project.scala +++ b/examples/gcp-cloudrun/infra/project.scala @@ -1,10 +1,9 @@ //> using scala "3.3.1" //> using options -Werror -Wunused:all -Wvalue-discard -Wnonunit-statement -//> using plugin "org.virtuslab::besom-compiler-plugin:0.2.2-SNAPSHOT" -//> using dep "org.virtuslab::besom-core:0.2.2-SNAPSHOT" +//> using plugin "org.virtuslab::besom-compiler-plugin:0.2.2" +//> using dep "org.virtuslab::besom-core:0.2.2" //> using dep "org.virtuslab::besom-gcp:7.9.0-core.0.2-SNAPSHOT" //> using dep "org.virtuslab::besom-docker:4.5.1-core.0.2-SNAPSHOT" //> using exclude "app/*" -//> using repository sonatype:snapshots diff --git a/examples/gcp-static-page/project.scala b/examples/gcp-static-page/project.scala index f4b309b8..a453162a 100644 --- a/examples/gcp-static-page/project.scala +++ b/examples/gcp-static-page/project.scala @@ -1,7 +1,6 @@ //> using scala "3.3.1" //> using options -Werror -Wunused:all -Wvalue-discard -Wnonunit-statement -//> using plugin "org.virtuslab::besom-compiler-plugin:0.2.2-SNAPSHOT" -//> using dep "org.virtuslab::besom-core:0.2.2-SNAPSHOT" +//> using plugin "org.virtuslab::besom-compiler-plugin:0.2.2" +//> using dep "org.virtuslab::besom-core:0.2.2" //> using dep "org.virtuslab::besom-gcp:7.9.0-core.0.2-SNAPSHOT" -//> using repository sonatype:snapshots diff --git a/examples/kubernetes-guestbook/components/project.scala b/examples/kubernetes-guestbook/components/project.scala index 5fb8df63..91d4ff4f 100644 --- a/examples/kubernetes-guestbook/components/project.scala +++ b/examples/kubernetes-guestbook/components/project.scala @@ -1,6 +1,6 @@ //> using scala "3.3.1" //> using options -Werror -Wunused:all -Wvalue-discard -Wnonunit-statement -//> using plugin "org.virtuslab::besom-compiler-plugin:0.2.1" -//> using dep "org.virtuslab::besom-core:0.2.1" -//> using dep "org.virtuslab::besom-kubernetes:4.7.1-core.0.2" -//> using exclude "simple/*" \ No newline at end of file +//> using plugin "org.virtuslab::besom-compiler-plugin:0.2.2" +//> using dep "org.virtuslab::besom-core:0.2.2" +//> using dep "org.virtuslab::besom-kubernetes:4.7.1-core.0.2-SNAPSHOT" +//> using exclude "simple/*" diff --git a/examples/kubernetes-guestbook/simple/project.scala b/examples/kubernetes-guestbook/simple/project.scala index 051601aa..e3529d82 100644 --- a/examples/kubernetes-guestbook/simple/project.scala +++ b/examples/kubernetes-guestbook/simple/project.scala @@ -1,6 +1,6 @@ //> using scala "3.3.1" //> using options -Werror -Wunused:all -Wvalue-discard -Wnonunit-statement -//> using plugin "org.virtuslab::besom-compiler-plugin:0.2.1" -//> using dep "org.virtuslab::besom-core:0.2.1" -//> using dep "org.virtuslab::besom-kubernetes:4.7.1-core.0.2" -//> using exclude "components/*" \ No newline at end of file +//> using plugin "org.virtuslab::besom-compiler-plugin:0.2.2" +//> using dep "org.virtuslab::besom-core:0.2.2" +//> using dep "org.virtuslab::besom-kubernetes:4.7.1-core.0.2-SNAPSHOT" +//> using exclude "components/*" diff --git a/examples/kubernetes-nginx/project.scala b/examples/kubernetes-nginx/project.scala index c6de7e7d..282f21e8 100644 --- a/examples/kubernetes-nginx/project.scala +++ b/examples/kubernetes-nginx/project.scala @@ -1,7 +1,6 @@ //> using scala "3.3.1" //> using options -Werror -Wunused:all -Wvalue-discard -Wnonunit-statement -//> using plugin "org.virtuslab::besom-compiler-plugin:0.2.2-SNAPSHOT" -//> using dep "org.virtuslab::besom-core:0.2.2-SNAPSHOT" +//> using plugin "org.virtuslab::besom-compiler-plugin:0.2.2" +//> using dep "org.virtuslab::besom-core:0.2.2" //> using dep "org.virtuslab::besom-kubernetes:4.7.1-core.0.2-SNAPSHOT" -//> using repository sonatype:snapshots diff --git a/experimental/project.scala b/experimental/project.scala index 9fc9bbba..0642d306 100644 --- a/experimental/project.scala +++ b/experimental/project.scala @@ -1,7 +1,6 @@ //> using scala "3.3.0" -//> using plugin "org.virtuslab::besom-compiler-plugin:0.2.2-SNAPSHOT" -//> using dep "org.virtuslab::besom-core:0.2.2-SNAPSHOT" +//> using plugin "org.virtuslab::besom-compiler-plugin:0.2.2" +//> using dep "org.virtuslab::besom-core:0.2.2" //> using dep "org.virtuslab::besom-kubernetes:4.7.1-core.0.2-SNAPSHOT" //> using dep "io.github.iltotore::iron:2.4.0" -//> using repository sonatype:snapshots diff --git a/integration-tests/project.scala b/integration-tests/project.scala index 7b59c881..ddaadcce 100644 --- a/integration-tests/project.scala +++ b/integration-tests/project.scala @@ -4,7 +4,6 @@ //> using exclude "*/resources/*" //> using toolkit 0.2.1 -//> using dep org.virtuslab::besom-codegen:0.2.2-SNAPSHOT +//> using dep org.virtuslab::besom-codegen:0.2.2 //> using dep org.scalameta::munit::1.0.0-M10 -//> using repository sonatype:snapshots diff --git a/integration-tests/resources/cats-purrl-example/project.scala b/integration-tests/resources/cats-purrl-example/project.scala index 9996b0ee..848e898d 100644 --- a/integration-tests/resources/cats-purrl-example/project.scala +++ b/integration-tests/resources/cats-purrl-example/project.scala @@ -1,8 +1,7 @@ //> using scala 3.3.1 //> using options -java-output-version:11 -Werror -Wunused:all -Wvalue-discard -Wnonunit-statement -//> using plugin org.virtuslab::besom-compiler-plugin:0.2.2-SNAPSHOT -//> using dep org.virtuslab::besom-core:0.2.2-SNAPSHOT +//> using plugin org.virtuslab::besom-compiler-plugin:0.2.2 +//> using dep org.virtuslab::besom-core:0.2.2 -//> using dep org.virtuslab::besom-cats:0.2.2-SNAPSHOT +//> using dep org.virtuslab::besom-cats:0.2.2 //> using dep "org.virtuslab::besom-purrl:0.5.0-core.0.2-SNAPSHOT" -//> using repository sonatype:snapshots diff --git a/integration-tests/resources/compiler-plugin/project.scala b/integration-tests/resources/compiler-plugin/project.scala index f3744b45..14a7c8c5 100644 --- a/integration-tests/resources/compiler-plugin/project.scala +++ b/integration-tests/resources/compiler-plugin/project.scala @@ -1,6 +1,5 @@ //> using scala 3.3.1 //> using options -java-output-version:11 -Werror -Wunused:all -Wvalue-discard -Wnonunit-statement -//> using plugin org.virtuslab::besom-compiler-plugin:0.2.2-SNAPSHOT -//> using dep org.virtuslab::besom-core:0.2.2-SNAPSHOT +//> using plugin org.virtuslab::besom-compiler-plugin:0.2.2 +//> using dep org.virtuslab::besom-core:0.2.2 -//> using repository sonatype:snapshots diff --git a/integration-tests/resources/config-example/project.scala b/integration-tests/resources/config-example/project.scala index f3744b45..14a7c8c5 100644 --- a/integration-tests/resources/config-example/project.scala +++ b/integration-tests/resources/config-example/project.scala @@ -1,6 +1,5 @@ //> using scala 3.3.1 //> using options -java-output-version:11 -Werror -Wunused:all -Wvalue-discard -Wnonunit-statement -//> using plugin org.virtuslab::besom-compiler-plugin:0.2.2-SNAPSHOT -//> using dep org.virtuslab::besom-core:0.2.2-SNAPSHOT +//> using plugin org.virtuslab::besom-compiler-plugin:0.2.2 +//> using dep org.virtuslab::besom-core:0.2.2 -//> using repository sonatype:snapshots diff --git a/integration-tests/resources/executors/gradle/build.gradle.kts b/integration-tests/resources/executors/gradle/build.gradle.kts index cc90f812..10f63cd0 100644 --- a/integration-tests/resources/executors/gradle/build.gradle.kts +++ b/integration-tests/resources/executors/gradle/build.gradle.kts @@ -10,7 +10,7 @@ repositories { dependencies { implementation("org.scala-lang:scala3-library_3:3.3.1") - implementation("org.virtuslab:besom-core_3:0.2.1") + implementation("org.virtuslab:besom-core_3:0.2.2") implementation("org.virtuslab:besom-fake-standard-resource_3:1.2.3-TEST") implementation("org.virtuslab:besom-fake-external-resource_3:2.3.4-TEST") if (project.hasProperty("besomBootstrapJar")) runtimeOnly(files(project.property("besomBootstrapJar") as String)) diff --git a/integration-tests/resources/executors/maven/pom.xml b/integration-tests/resources/executors/maven/pom.xml index 50d1633c..6ba8ff4f 100644 --- a/integration-tests/resources/executors/maven/pom.xml +++ b/integration-tests/resources/executors/maven/pom.xml @@ -26,7 +26,7 @@ org.virtuslab besom-bootstrap_3 - 0.2.1 + 0.2.2 system ${besomBootstrapJar} @@ -43,7 +43,7 @@ org.virtuslab besom-core_3 - 0.2.1 + 0.2.2 org.virtuslab diff --git a/integration-tests/resources/executors/sbt/build.sbt b/integration-tests/resources/executors/sbt/build.sbt index 11708b91..dfe4cd26 100644 --- a/integration-tests/resources/executors/sbt/build.sbt +++ b/integration-tests/resources/executors/sbt/build.sbt @@ -5,7 +5,7 @@ lazy val root = project scalacOptions ++= Seq("-java-output-version", "11"), javacOptions in (Compile, compile) ++= Seq("-source", "11", "-target", "11"), libraryDependencies ++= Seq( - "org.virtuslab" %% "besom-core" % "0.2.1", + "org.virtuslab" %% "besom-core" % "0.2.2", "org.virtuslab" %% "besom-fake-standard-resource" % "1.2.3-TEST", "org.virtuslab" %% "besom-fake-external-resource" % "2.3.4-TEST" ) diff --git a/integration-tests/resources/executors/scala-cli/project.scala b/integration-tests/resources/executors/scala-cli/project.scala index 6cce72da..839c1236 100644 --- a/integration-tests/resources/executors/scala-cli/project.scala +++ b/integration-tests/resources/executors/scala-cli/project.scala @@ -1,8 +1,7 @@ //> using scala 3.3.1 //> using options -java-output-version:11 -//> using plugin "org.virtuslab::besom-compiler-plugin:0.2.2-SNAPSHOT" -//> using dep "org.virtuslab::besom-core:0.2.2-SNAPSHOT" +//> using plugin "org.virtuslab::besom-compiler-plugin:0.2.2" +//> using dep "org.virtuslab::besom-core:0.2.2" //> using dep "org.virtuslab::besom-fake-standard-resource:1.2.3-TEST" //> using dep "org.virtuslab::besom-fake-external-resource:2.3.4-TEST" -//> using repository sonatype:snapshots diff --git a/integration-tests/resources/kubernetes-secrets/project.scala b/integration-tests/resources/kubernetes-secrets/project.scala index 3d49e5fa..d3611b0e 100644 --- a/integration-tests/resources/kubernetes-secrets/project.scala +++ b/integration-tests/resources/kubernetes-secrets/project.scala @@ -1,7 +1,6 @@ //> using scala 3.3.1 //> using options -java-output-version:11 -Werror -Wunused:all -Wvalue-discard -Wnonunit-statement -//> using plugin org.virtuslab::besom-compiler-plugin:0.2.2-SNAPSHOT -//> using dep org.virtuslab::besom-core:0.2.2-SNAPSHOT +//> using plugin org.virtuslab::besom-compiler-plugin:0.2.2 +//> using dep org.virtuslab::besom-core:0.2.2 //> using dep "org.virtuslab::besom-kubernetes:4.7.1-core.0.2-SNAPSHOT" -//> using repository sonatype:snapshots diff --git a/integration-tests/resources/logger-example/project.scala b/integration-tests/resources/logger-example/project.scala index f3744b45..14a7c8c5 100644 --- a/integration-tests/resources/logger-example/project.scala +++ b/integration-tests/resources/logger-example/project.scala @@ -1,6 +1,5 @@ //> using scala 3.3.1 //> using options -java-output-version:11 -Werror -Wunused:all -Wvalue-discard -Wnonunit-statement -//> using plugin org.virtuslab::besom-compiler-plugin:0.2.2-SNAPSHOT -//> using dep org.virtuslab::besom-core:0.2.2-SNAPSHOT +//> using plugin org.virtuslab::besom-compiler-plugin:0.2.2 +//> using dep org.virtuslab::besom-core:0.2.2 -//> using repository sonatype:snapshots diff --git a/integration-tests/resources/random-example/project.scala b/integration-tests/resources/random-example/project.scala index 9f7c2f43..c77eb3fc 100644 --- a/integration-tests/resources/random-example/project.scala +++ b/integration-tests/resources/random-example/project.scala @@ -1,7 +1,6 @@ //> using scala 3.3.1 //> using options -java-output-version:11 -Werror -Wunused:all -Wvalue-discard -Wnonunit-statement -//> using plugin org.virtuslab::besom-compiler-plugin:0.2.2-SNAPSHOT -//> using dep org.virtuslab::besom-core:0.2.2-SNAPSHOT +//> using plugin org.virtuslab::besom-compiler-plugin:0.2.2 +//> using dep org.virtuslab::besom-core:0.2.2 //> using dep "org.virtuslab::besom-random:4.15.1-core.0.2-SNAPSHOT" -//> using repository sonatype:snapshots diff --git a/integration-tests/resources/references/source-stack/project.scala b/integration-tests/resources/references/source-stack/project.scala index f51af7fc..e8ea8f60 100644 --- a/integration-tests/resources/references/source-stack/project.scala +++ b/integration-tests/resources/references/source-stack/project.scala @@ -1,7 +1,6 @@ //> using scala 3.3.1 //> using options -java-output-version:11 -Werror -Wunused:all -Wvalue-discard -Wnonunit-statement -//> using plugin org.virtuslab::besom-compiler-plugin:0.2.2-SNAPSHOT -//> using dep org.virtuslab::besom-core:0.2.2-SNAPSHOT +//> using plugin org.virtuslab::besom-compiler-plugin:0.2.2 +//> using dep org.virtuslab::besom-core:0.2.2 //> using dep "org.virtuslab::besom-tls:5.0.0-core.0.2-SNAPSHOT" -//> using repository sonatype:snapshots diff --git a/integration-tests/resources/references/target-stack/project.scala b/integration-tests/resources/references/target-stack/project.scala index f3744b45..14a7c8c5 100644 --- a/integration-tests/resources/references/target-stack/project.scala +++ b/integration-tests/resources/references/target-stack/project.scala @@ -1,6 +1,5 @@ //> using scala 3.3.1 //> using options -java-output-version:11 -Werror -Wunused:all -Wvalue-discard -Wnonunit-statement -//> using plugin org.virtuslab::besom-compiler-plugin:0.2.2-SNAPSHOT -//> using dep org.virtuslab::besom-core:0.2.2-SNAPSHOT +//> using plugin org.virtuslab::besom-compiler-plugin:0.2.2 +//> using dep org.virtuslab::besom-core:0.2.2 -//> using repository sonatype:snapshots diff --git a/integration-tests/resources/tls-example/project.scala b/integration-tests/resources/tls-example/project.scala index f51af7fc..e8ea8f60 100644 --- a/integration-tests/resources/tls-example/project.scala +++ b/integration-tests/resources/tls-example/project.scala @@ -1,7 +1,6 @@ //> using scala 3.3.1 //> using options -java-output-version:11 -Werror -Wunused:all -Wvalue-discard -Wnonunit-statement -//> using plugin org.virtuslab::besom-compiler-plugin:0.2.2-SNAPSHOT -//> using dep org.virtuslab::besom-core:0.2.2-SNAPSHOT +//> using plugin org.virtuslab::besom-compiler-plugin:0.2.2 +//> using dep org.virtuslab::besom-core:0.2.2 //> using dep "org.virtuslab::besom-tls:5.0.0-core.0.2-SNAPSHOT" -//> using repository sonatype:snapshots diff --git a/integration-tests/resources/zio-tls-example/project.scala b/integration-tests/resources/zio-tls-example/project.scala index e7965d12..9d03e31e 100644 --- a/integration-tests/resources/zio-tls-example/project.scala +++ b/integration-tests/resources/zio-tls-example/project.scala @@ -1,8 +1,7 @@ //> using scala 3.3.1 //> using options -java-output-version:11 -Werror -Wunused:all -Wvalue-discard -Wnonunit-statement -//> using plugin org.virtuslab::besom-compiler-plugin:0.2.2-SNAPSHOT -//> using dep org.virtuslab::besom-core:0.2.2-SNAPSHOT +//> using plugin org.virtuslab::besom-compiler-plugin:0.2.2 +//> using dep org.virtuslab::besom-core:0.2.2 -//> using dep org.virtuslab::besom-zio:0.2.2-SNAPSHOT +//> using dep org.virtuslab::besom-zio:0.2.2 //> using dep "org.virtuslab::besom-tls:5.0.0-core.0.2-SNAPSHOT" -//> using repository sonatype:snapshots diff --git a/language-plugin/bootstrap/project.scala b/language-plugin/bootstrap/project.scala index 76b22969..8a21ea98 100644 --- a/language-plugin/bootstrap/project.scala +++ b/language-plugin/bootstrap/project.scala @@ -1,7 +1,6 @@ //> using scala 3.3.1 //> using options -java-output-version:11 -//> using dep org.virtuslab::besom-json:0.2.2-SNAPSHOT +//> using dep org.virtuslab::besom-json:0.2.2 //> using dep io.github.classgraph:classgraph:4.8.165 -//> using repository sonatype:snapshots diff --git a/scripts/project.scala b/scripts/project.scala index 23ee4691..308d7405 100644 --- a/scripts/project.scala +++ b/scripts/project.scala @@ -9,6 +9,5 @@ //> using dep org.scoverage::scalac-scoverage-serializer:2.0.11 //> using dep org.virtuslab::scala-yaml:0.0.8 //> using dep io.get-coursier:coursier_2.13:2.1.9 -//> using dep org.virtuslab::besom-codegen:0.2.2-SNAPSHOT +//> using dep org.virtuslab::besom-codegen:0.2.2 -//> using repository sonatype:snapshots diff --git a/templates/aws/project.scala b/templates/aws/project.scala index 430f023f..caf01d50 100644 --- a/templates/aws/project.scala +++ b/templates/aws/project.scala @@ -1,7 +1,6 @@ //> using scala "3.3.1" //> using options -Werror -Wunused:all -Wvalue-discard -Wnonunit-statement -//> using plugin "org.virtuslab::besom-compiler-plugin:0.2.2-SNAPSHOT" -//> using dep "org.virtuslab::besom-core:0.2.2-SNAPSHOT" +//> using plugin "org.virtuslab::besom-compiler-plugin:0.2.2" +//> using dep "org.virtuslab::besom-core:0.2.2" //> using dep "org.virtuslab::besom-aws:6.22.1-core.0.2-SNAPSHOT" -//> using repository sonatype:snapshots diff --git a/templates/default/project.scala b/templates/default/project.scala index 7d0393b6..7abb1b3f 100644 --- a/templates/default/project.scala +++ b/templates/default/project.scala @@ -1,7 +1,6 @@ //> using scala "3.3.1" //> using options -Werror -Wunused:all -Wvalue-discard -Wnonunit-statement -//> using plugin "org.virtuslab::besom-compiler-plugin:0.2.2-SNAPSHOT" -//> using dep "org.virtuslab::besom-core:0.2.2-SNAPSHOT" +//> using plugin "org.virtuslab::besom-compiler-plugin:0.2.2" +//> using dep "org.virtuslab::besom-core:0.2.2" //> using dep "org.virtuslab::besom-random:4.15.1-core.0.2-SNAPSHOT" -//> using repository sonatype:snapshots diff --git a/templates/gcp/project.scala b/templates/gcp/project.scala index f4b309b8..a453162a 100644 --- a/templates/gcp/project.scala +++ b/templates/gcp/project.scala @@ -1,7 +1,6 @@ //> using scala "3.3.1" //> using options -Werror -Wunused:all -Wvalue-discard -Wnonunit-statement -//> using plugin "org.virtuslab::besom-compiler-plugin:0.2.2-SNAPSHOT" -//> using dep "org.virtuslab::besom-core:0.2.2-SNAPSHOT" +//> using plugin "org.virtuslab::besom-compiler-plugin:0.2.2" +//> using dep "org.virtuslab::besom-core:0.2.2" //> using dep "org.virtuslab::besom-gcp:7.9.0-core.0.2-SNAPSHOT" -//> using repository sonatype:snapshots diff --git a/templates/kubernetes/project.scala b/templates/kubernetes/project.scala index c6de7e7d..282f21e8 100644 --- a/templates/kubernetes/project.scala +++ b/templates/kubernetes/project.scala @@ -1,7 +1,6 @@ //> using scala "3.3.1" //> using options -Werror -Wunused:all -Wvalue-discard -Wnonunit-statement -//> using plugin "org.virtuslab::besom-compiler-plugin:0.2.2-SNAPSHOT" -//> using dep "org.virtuslab::besom-core:0.2.2-SNAPSHOT" +//> using plugin "org.virtuslab::besom-compiler-plugin:0.2.2" +//> using dep "org.virtuslab::besom-core:0.2.2" //> using dep "org.virtuslab::besom-kubernetes:4.7.1-core.0.2-SNAPSHOT" -//> using repository sonatype:snapshots diff --git a/version.txt b/version.txt index 72d2e352..f4778493 100644 --- a/version.txt +++ b/version.txt @@ -1 +1 @@ -0.2.2-SNAPSHOT \ No newline at end of file +0.2.2 \ No newline at end of file diff --git a/website/docs/examples.md b/website/docs/examples.md index 9fec4d6d..c3085688 100644 --- a/website/docs/examples.md +++ b/website/docs/examples.md @@ -2,4 +2,4 @@ title: Examples --- -All examples are available in [Besom GitHub repository](https://github.com/VirtusLab/besom/tree/v0.2.1/examples). \ No newline at end of file +All examples are available in [Besom GitHub repository](https://github.com/VirtusLab/besom/tree/v0.2.2/examples). \ No newline at end of file diff --git a/website/docs/getting_started.md b/website/docs/getting_started.md index ec6d9770..425c5b1a 100644 --- a/website/docs/getting_started.md +++ b/website/docs/getting_started.md @@ -29,7 +29,7 @@ To start your adventure with infrastructure-as-code with Scala follow these step To install the latest Scala Language Plugin release, run the following: ```bash - pulumi plugin install language scala 0.2.1 --server github://api.github.com/VirtusLab/besom + pulumi plugin install language scala 0.2.2 --server github://api.github.com/VirtusLab/besom ``` 4. **Create a new project**: @@ -43,7 +43,7 @@ To start your adventure with infrastructure-as-code with Scala follow these step mkdir besom-demo && cd besom-demo ``` ```bash - pulumi new https://github.com/VirtusLab/besom/tree/v0.2.1/templates/aws + pulumi new https://github.com/VirtusLab/besom/tree/v0.2.2/templates/aws ``` 5. **Deploy to the Cloud**: diff --git a/website/docs/templates.md b/website/docs/templates.md index f0178939..844485ac 100644 --- a/website/docs/templates.md +++ b/website/docs/templates.md @@ -2,4 +2,4 @@ title: Templates --- -All templates are available in [Besom GitHub repository](https://github.com/VirtusLab/besom/tree/v0.2.1/templates). \ No newline at end of file +All templates are available in [Besom GitHub repository](https://github.com/VirtusLab/besom/tree/v0.2.2/templates). \ No newline at end of file From f84b7debf2a6231d746c4dfdf312becc86158e6a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pawe=C5=82=20Pra=C5=BCak?= Date: Thu, 22 Feb 2024 18:11:50 +0100 Subject: [PATCH 2/3] Update changelog.md --- website/docs/changelog.md | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/website/docs/changelog.md b/website/docs/changelog.md index 944cee07..37ad1d28 100644 --- a/website/docs/changelog.md +++ b/website/docs/changelog.md @@ -2,6 +2,19 @@ title: Changelog --- +0.2.2 (22-02-2024) +--- + +## Bug Fixes + +* fixed component argument serialization issue [398](https://github.com/VirtusLab/besom/pull/398) + +## Other Changes + +* added Kubernetes guestbook example [395](https://github.com/VirtusLab/besom/pull/395) + +**Full Changelog**: https://github.com/VirtusLab/besom/compare/v0.2.1...v0.2.2 + 0.2.1 (15-02-2024) --- From a060aaffd668639e2aa68401653298d78ae38dbf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pawe=C5=82=20Pra=C5=BCak?= Date: Thu, 22 Feb 2024 18:18:36 +0100 Subject: [PATCH 3/3] Update CONTRIBUTING.md --- CONTRIBUTING.md | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index f80a6c7a..80ca7d7c 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -215,7 +215,7 @@ git checkout -b release/v$(cat version.txt) git push --set-upstream origin release/v$(cat version.txt) ``` -#### Update dependencies versions in all `project.scala` files +#### Update dependencies versions in all `project.scala` files (optional for patch versions) This is most useful for `examples` and `templates`, and integration tests: @@ -227,7 +227,6 @@ just cli version update #### Update versions in all other places (skip for `SNAPSHOT`) Manually update versions in all other places, specifically documentation and website, using find&replace. -Remember about `website/docusaurus.config.js:40` and `website/src/remark/codeblockVersion.js:5` #### Create a release draft on GitHub @@ -237,11 +236,11 @@ just upsert-gh-release #### Publish core and language host ```bash -just publish-maven-all just publish-language-plugins-all +just publish-maven-all ``` -#### Publish packages +#### Publish packages (optional for patch versions) To publish critical package(s): ```bash @@ -271,15 +270,16 @@ In case of any issues, you can try to resolve the issues manually at https://oss Finish the release on GitHub manually, make sure the changelog is correct and correct git tag was created. -According to our Git branching and versioning strategy, the release branch should be created after the tag is created. - -If releasing a `SNAPSHOT` make sure to bump the git tag. +According to our Git branching and versioning strategy, the release branch should be merged after the tag is created. +Make sure to bump the git tag because GitHub Release probably already created the tag. ```bash git tag -f v$(cat version.txt) git push -f origin v$(cat version.txt) ``` +Make sure to merge (DO NOT squash) the release branch to `main` and delete it. + #### After the release After the release, you can bump the version to the next `-SNAPSHOT` version: