diff --git a/Justfile b/Justfile index 9f0e7fa6..222f8798 100644 --- a/Justfile +++ b/Justfile @@ -55,7 +55,8 @@ test-all: test-json test-sdk test-auto test-codegen test-scripts test-integratio publish-local-all: publish-local-json publish-local-sdk publish-local-auto publish-local-codegen publish-local-scripts install-language-plugin # Publishes everything to Maven -publish-maven-all: publish-maven-json publish-maven-sdk publish-maven-auto publish-maven-codegen publish-maven-scripts +# TODO add publish-maven-auto once stable +publish-maven-all: publish-maven-json publish-maven-sdk publish-maven-codegen publish-maven-scripts # Runs all necessary checks before committing before-commit: compile-all test-all diff --git a/README.md b/README.md index dc60cc00..e616fba3 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.3.1/examples)**: Browse Scala examples across many clouds and scenarios including containers, serverless, +* **[Examples](https://github.com/VirtusLab/besom/tree/v0.3.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.3.1 --server github://api.github.com/VirtusLab/besom + pulumi plugin install language scala 0.3.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.3.1/templates/aws + pulumi new https://github.com/VirtusLab/besom/tree/v0.3.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.3.1/examples), +[examples](https://github.com/VirtusLab/besom/tree/v0.3.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.3.1" -//> using dep "org.virtuslab::besom-core:0.3.1" +//> using plugin "org.virtuslab::besom-compiler-plugin:0.3.2" +//> using dep "org.virtuslab::besom-core:0.3.2" //> using dep "org.virtuslab::besom-aws:6.31.0-core.0.3" import besom.* diff --git a/auto/project.scala b/auto/project.scala index 877b4086..0eacf5cf 100644 --- a/auto/project.scala +++ b/auto/project.scala @@ -2,8 +2,8 @@ //> using options -java-output-version:11 //> using options -deprecation -feature -Werror -Wunused:all -//> using dep org.virtuslab::besom-json:0.3.2-SNAPSHOT -//> using dep org.virtuslab::besom-core:0.3.2-SNAPSHOT +//> using dep org.virtuslab::besom-json:0.3.2 +//> using dep org.virtuslab::besom-core:0.3.2 //> using dep org.virtuslab::scala-yaml:0.0.8 //> using dep com.lihaoyi::os-lib:0.10.0 //> using dep com.lihaoyi::os-lib-watch:0.10.0 @@ -22,4 +22,4 @@ //> using publish.repository "central" //> using publish.developer "lbialy|Łukasz Biały|https://github.com/lbialy" //> using publish.developer "pawelprazak|Paweł Prażak|https://github.com/pawelprazak" -//> using repository sonatype:snapshots +//> using repository sonatype:snapshots \ No newline at end of file diff --git a/besom-cats/project.scala b/besom-cats/project.scala index cb24c324..8e1a69a1 100644 --- a/besom-cats/project.scala +++ b/besom-cats/project.scala @@ -2,7 +2,7 @@ //> using options "-java-output-version:11", "-Ykind-projector:underscores" //> using options "-deprecation", "-feature" -//> using dep "org.virtuslab::besom-core:0.3.2-SNAPSHOT" +//> using dep "org.virtuslab::besom-core:0.3.2" //> using dep "org.typelevel::cats-effect:3.3.14" //> using test.dep "org.scalameta::munit:1.0.0-M10" @@ -15,4 +15,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-cfg/k8s/project.scala b/besom-cfg/k8s/project.scala index 46120b18..2c985461 100644 --- a/besom-cfg/k8s/project.scala +++ b/besom-cfg/k8s/project.scala @@ -2,7 +2,7 @@ //> using dep com.lihaoyi::os-lib::0.9.3 //> using dep org.virtuslab::besom-cfg:0.2.0-SNAPSHOT -//> using dep org.virtuslab::besom-kubernetes::4.10.0-core.0.3 +//> using dep org.virtuslab::besom-kubernetes:4.13.1-core.0.3 //> using dep com.lihaoyi::fansi::0.5.0 //> using dep com.lihaoyi::fastparse:3.1.0 @@ -21,3 +21,4 @@ //> 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 \ No newline at end of file diff --git a/besom-cfg/lib/project.scala b/besom-cfg/lib/project.scala index 2be046f5..88f7f3be 100644 --- a/besom-cfg/lib/project.scala +++ b/besom-cfg/lib/project.scala @@ -1,7 +1,7 @@ //> using scala 3.3.3 -//> using dep org.virtuslab::besom-core::0.3.2-SNAPSHOT -//> using dep org.virtuslab::besom-json::0.3.2-SNAPSHOT +//> using dep org.virtuslab::besom-core:0.3.2 +//> using dep org.virtuslab::besom-json:0.3.2 //> using dep io.github.classgraph:classgraph:4.8.172 //> using test.dep org.scalameta::munit::1.0.0-M11 @@ -16,3 +16,4 @@ //> 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 \ No newline at end of file diff --git a/besom-zio/project.scala b/besom-zio/project.scala index 2dee2e7b..bc388d69 100644 --- a/besom-zio/project.scala +++ b/besom-zio/project.scala @@ -2,7 +2,7 @@ //> using options "-java-output-version:11", "-Ykind-projector:underscores" //> using options "-deprecation", "-feature" -//> using dep "org.virtuslab::besom-core:0.3.2-SNAPSHOT" +//> using dep "org.virtuslab::besom-core:0.3.2" //> using dep "dev.zio::zio:2.0.17" //> using test.dep "org.scalameta::munit:1.0.0-M10" @@ -15,4 +15,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 32fa5ef2..61e2c5c1 100644 --- a/core/project.scala +++ b/core/project.scala @@ -3,7 +3,7 @@ //> using options "-Werror", "-Wunused:all", "-deprecation", "-feature", "-Wconf:cat=deprecation:i" // -language:noAutoTupling // after https://github.com/VirtusLab/scala-cli/issues/2708 -//> using dep "org.virtuslab::besom-json:0.3.2-SNAPSHOT" +//> using dep "org.virtuslab::besom-json:0.3.2" //> using dep "com.google.protobuf:protobuf-java-util:3.25.1" //> using dep "io.grpc:grpc-netty:1.64.0" //> using dep "io.netty:netty-transport-native-kqueue:4.1.100.Final" @@ -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-apigatewayv2-eventbridge/project.scala b/examples/aws-apigatewayv2-eventbridge/project.scala index 62fffd5b..adb777a2 100644 --- a/examples/aws-apigatewayv2-eventbridge/project.scala +++ b/examples/aws-apigatewayv2-eventbridge/project.scala @@ -1,4 +1,4 @@ //> using scala 3.3.1 //> using options -Werror -Wunused:all -Wvalue-discard -Wnonunit-statement -//> using dep org.virtuslab::besom-core:0.3.2-SNAPSHOT +//> using dep org.virtuslab::besom-core:0.3.2 //> using dep org.virtuslab::besom-aws:6.39.0-core.0.3 diff --git a/examples/aws-eks/project.scala b/examples/aws-eks/project.scala index 66669ccc..80609fef 100644 --- a/examples/aws-eks/project.scala +++ b/examples/aws-eks/project.scala @@ -1,8 +1,7 @@ //> using scala "3.3.1" //> using options -Werror -Wunused:all -Wvalue-discard -Wnonunit-statement -//> using dep "org.virtuslab::besom-core:0.3.2-SNAPSHOT" +//> using dep "org.virtuslab::besom-core:0.3.2" //> using dep "org.virtuslab::besom-awsx:2.11.0-core.0.3" //> using dep "org.virtuslab::besom-eks:2.6.0-core.0.3" -//> using repository sonatype:snapshots diff --git a/examples/aws-s3-folder/project.scala b/examples/aws-s3-folder/project.scala index 88288d49..a5945a03 100644 --- a/examples/aws-s3-folder/project.scala +++ b/examples/aws-s3-folder/project.scala @@ -1,6 +1,5 @@ //> using scala "3.3.1" //> using options -Werror -Wunused:all -Wvalue-discard -Wnonunit-statement -//> using dep "org.virtuslab::besom-core:0.3.2-SNAPSHOT" +//> using dep "org.virtuslab::besom-core:0.3.2" //> using dep "org.virtuslab::besom-aws:6.39.0-core.0.3" -//> using repository sonatype:snapshots diff --git a/examples/aws-secrets-manager/project.scala b/examples/aws-secrets-manager/project.scala index 88288d49..a5945a03 100644 --- a/examples/aws-secrets-manager/project.scala +++ b/examples/aws-secrets-manager/project.scala @@ -1,6 +1,5 @@ //> using scala "3.3.1" //> using options -Werror -Wunused:all -Wvalue-discard -Wnonunit-statement -//> using dep "org.virtuslab::besom-core:0.3.2-SNAPSHOT" +//> using dep "org.virtuslab::besom-core:0.3.2" //> using dep "org.virtuslab::besom-aws:6.39.0-core.0.3" -//> using repository sonatype:snapshots diff --git a/examples/aws-webserver/project.scala b/examples/aws-webserver/project.scala index 7d5a3149..e37d784c 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.3.2-SNAPSHOT -//> using dep org.virtuslab::besom-core:0.3.2-SNAPSHOT +//> using plugin org.virtuslab::besom-compiler-plugin:0.3.2 +//> using dep org.virtuslab::besom-core:0.3.2 //> using dep org.virtuslab::besom-aws:6.39.0-core.0.3 //> using dep org.virtuslab::besom-tls:5.0.3-core.0.3 -//> using repository sonatype:snapshots diff --git a/examples/aws-wordpress-fargate-rds/project.scala b/examples/aws-wordpress-fargate-rds/project.scala index 1f0dfa12..3826a31b 100644 --- a/examples/aws-wordpress-fargate-rds/project.scala +++ b/examples/aws-wordpress-fargate-rds/project.scala @@ -1,7 +1,6 @@ //> using scala 3.3.1 //> using options -Werror -Wunused:all -Wvalue-discard -Wnonunit-statement -//> using dep org.virtuslab::besom-core:0.3.2-SNAPSHOT +//> using dep org.virtuslab::besom-core:0.3.2 //> using dep org.virtuslab::besom-aws:6.39.0-core.0.3 //> using dep org.virtuslab::besom-awsx:2.11.0-core.0.3 //> using dep org.virtuslab::besom-random:4.16.2-core.0.3 -//> using repository sonatype:snapshots diff --git a/examples/azure-aks-managed-identity/project.scala b/examples/azure-aks-managed-identity/project.scala index e4080d77..2e3549ac 100644 --- a/examples/azure-aks-managed-identity/project.scala +++ b/examples/azure-aks-managed-identity/project.scala @@ -1,10 +1,8 @@ //> using scala "3.3.1" //> using options -Werror -Wunused:all -Wvalue-discard -Wnonunit-statement -//> using plugin "org.virtuslab::besom-compiler-plugin:0.3.2-SNAPSHOT" +//> using plugin "org.virtuslab::besom-compiler-plugin:0.3.2" -//> using dep "org.virtuslab::besom-core:0.3.2-SNAPSHOT" +//> using dep "org.virtuslab::besom-core:0.3.2" //> using dep "org.virtuslab::besom-azure-native:2.44.1-core.0.3" //> using dep "org.virtuslab::besom-tls:5.0.3-core.0.3" -//> using repository sonatype:snapshots -//> using repository sonatype:snapshots diff --git a/examples/azure-static-website/project.scala b/examples/azure-static-website/project.scala index 0ccd7152..49819412 100644 --- a/examples/azure-static-website/project.scala +++ b/examples/azure-static-website/project.scala @@ -1,5 +1,4 @@ //> using scala "3.3.1" //> using options -Werror -Wunused:all -Wvalue-discard -Wnonunit-statement -//> using dep "org.virtuslab::besom-core:0.3.2-SNAPSHOT" +//> using dep "org.virtuslab::besom-core:0.3.2" //> using dep "org.virtuslab::besom-azure-native:2.44.1-core.0.3" -//> using repository sonatype:snapshots diff --git a/examples/azure-webserver/project.scala b/examples/azure-webserver/project.scala index 0ccd7152..49819412 100644 --- a/examples/azure-webserver/project.scala +++ b/examples/azure-webserver/project.scala @@ -1,5 +1,4 @@ //> using scala "3.3.1" //> using options -Werror -Wunused:all -Wvalue-discard -Wnonunit-statement -//> using dep "org.virtuslab::besom-core:0.3.2-SNAPSHOT" +//> using dep "org.virtuslab::besom-core:0.3.2" //> using dep "org.virtuslab::besom-azure-native:2.44.1-core.0.3" -//> 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 ddf2aaf4..c1249204 100644 --- a/examples/docker-multi-container-app/infra/project.scala +++ b/examples/docker-multi-container-app/infra/project.scala @@ -1,6 +1,5 @@ //> using scala "3.3.1" //> using options -Werror -Wunused:all -Wvalue-discard -Wnonunit-statement -//> using dep "org.virtuslab::besom-core:0.3.2-SNAPSHOT" +//> using dep "org.virtuslab::besom-core:0.3.2" //> using dep "org.virtuslab::besom-docker:4.5.4-core.0.3" -//> using repository sonatype:snapshots diff --git a/examples/gcp-cloudrun/infra/project.scala b/examples/gcp-cloudrun/infra/project.scala index aff4d06e..11a94fd6 100644 --- a/examples/gcp-cloudrun/infra/project.scala +++ b/examples/gcp-cloudrun/infra/project.scala @@ -1,9 +1,8 @@ //> using scala "3.3.1" //> using options -Werror -Wunused:all -Wvalue-discard -Wnonunit-statement -//> using dep "org.virtuslab::besom-core:0.3.2-SNAPSHOT" +//> using dep "org.virtuslab::besom-core:0.3.2" //> using dep "org.virtuslab::besom-gcp:7.26.0-core.0.3" //> using dep "org.virtuslab::besom-docker:4.5.4-core.0.3" //> using exclude "app/*" -//> using repository sonatype:snapshots diff --git a/examples/gcp-gke/project.scala b/examples/gcp-gke/project.scala index 6f947f56..a4ccf3cf 100644 --- a/examples/gcp-gke/project.scala +++ b/examples/gcp-gke/project.scala @@ -1,5 +1,4 @@ //> using scala "3.3.1" //> using options -Werror -Wunused:all -Wvalue-discard -Wnonunit-statement -//> using dep "org.virtuslab::besom-core:0.3.2-SNAPSHOT" +//> using dep "org.virtuslab::besom-core:0.3.2" //> using dep "org.virtuslab::besom-gcp:7.26.0-core.0.3" -//> using repository sonatype:snapshots diff --git a/examples/gcp-static-page/project.scala b/examples/gcp-static-page/project.scala index efa6e9e8..63404cf2 100644 --- a/examples/gcp-static-page/project.scala +++ b/examples/gcp-static-page/project.scala @@ -1,6 +1,5 @@ //> using scala "3.3.1" //> using options -Werror -Wunused:all -Wvalue-discard -Wnonunit-statement -//> using dep "org.virtuslab::besom-core:0.3.2-SNAPSHOT" +//> using dep "org.virtuslab::besom-core:0.3.2" //> using dep "org.virtuslab::besom-gcp:7.26.0-core.0.3" -//> using repository sonatype:snapshots diff --git a/examples/gcp-webserver/project.scala b/examples/gcp-webserver/project.scala index 6f947f56..a4ccf3cf 100644 --- a/examples/gcp-webserver/project.scala +++ b/examples/gcp-webserver/project.scala @@ -1,5 +1,4 @@ //> using scala "3.3.1" //> using options -Werror -Wunused:all -Wvalue-discard -Wnonunit-statement -//> using dep "org.virtuslab::besom-core:0.3.2-SNAPSHOT" +//> using dep "org.virtuslab::besom-core:0.3.2" //> using dep "org.virtuslab::besom-gcp:7.26.0-core.0.3" -//> using repository sonatype:snapshots diff --git a/examples/kubernetes-guestbook/components/project.scala b/examples/kubernetes-guestbook/components/project.scala index 251f3367..32095433 100644 --- a/examples/kubernetes-guestbook/components/project.scala +++ b/examples/kubernetes-guestbook/components/project.scala @@ -1,6 +1,5 @@ //> using scala "3.3.1" //> using options -Werror -Wunused:all -Wvalue-discard -Wnonunit-statement -//> using dep "org.virtuslab::besom-core:0.3.2-SNAPSHOT" +//> using dep "org.virtuslab::besom-core:0.3.2" //> using dep "org.virtuslab::besom-kubernetes:4.13.1-core.0.3" //> using exclude "simple/*" -//> using repository sonatype:snapshots diff --git a/examples/kubernetes-guestbook/simple/project.scala b/examples/kubernetes-guestbook/simple/project.scala index c2f2b783..3c0729fe 100644 --- a/examples/kubernetes-guestbook/simple/project.scala +++ b/examples/kubernetes-guestbook/simple/project.scala @@ -1,6 +1,5 @@ //> using scala "3.3.1" //> using options -Werror -Wunused:all -Wvalue-discard -Wnonunit-statement -//> using dep "org.virtuslab::besom-core:0.3.2-SNAPSHOT" +//> using dep "org.virtuslab::besom-core:0.3.2" //> using dep "org.virtuslab::besom-kubernetes:4.13.1-core.0.3" //> using exclude "components/*" -//> using repository sonatype:snapshots diff --git a/examples/kubernetes-helm-release-wordpress/project.scala b/examples/kubernetes-helm-release-wordpress/project.scala index b32f2d67..ae38bdd8 100644 --- a/examples/kubernetes-helm-release-wordpress/project.scala +++ b/examples/kubernetes-helm-release-wordpress/project.scala @@ -1,5 +1,4 @@ //> using scala "3.3.1" //> using options -Werror -Wunused:all -Wvalue-discard -Wnonunit-statement -//> using dep "org.virtuslab::besom-core:0.3.2-SNAPSHOT" +//> using dep "org.virtuslab::besom-core:0.3.2" //> using dep "org.virtuslab::besom-kubernetes:4.13.1-core.0.3" -//> using repository sonatype:snapshots diff --git a/examples/kubernetes-nginx/project.scala b/examples/kubernetes-nginx/project.scala index 57415c21..d9d39918 100644 --- a/examples/kubernetes-nginx/project.scala +++ b/examples/kubernetes-nginx/project.scala @@ -1,6 +1,5 @@ //> using scala "3.3.1" //> using options -Werror -Wunused:all -Wvalue-discard -Wnonunit-statement -//> using dep "org.virtuslab::besom-core:0.3.2-SNAPSHOT" +//> using dep "org.virtuslab::besom-core:0.3.2" //> using dep "org.virtuslab::besom-kubernetes:4.13.1-core.0.3" -//> using repository sonatype:snapshots diff --git a/examples/kubernetes-yaml-crd/project.scala b/examples/kubernetes-yaml-crd/project.scala index c7eaa00a..ae38bdd8 100644 --- a/examples/kubernetes-yaml-crd/project.scala +++ b/examples/kubernetes-yaml-crd/project.scala @@ -1,4 +1,4 @@ //> using scala "3.3.1" //> using options -Werror -Wunused:all -Wvalue-discard -Wnonunit-statement -//> using dep "org.virtuslab::besom-core:0.3.2-SNAPSHOT" +//> using dep "org.virtuslab::besom-core:0.3.2" //> using dep "org.virtuslab::besom-kubernetes:4.13.1-core.0.3" diff --git a/examples/kubernetes-yaml/project.scala b/examples/kubernetes-yaml/project.scala index 57415c21..d9d39918 100644 --- a/examples/kubernetes-yaml/project.scala +++ b/examples/kubernetes-yaml/project.scala @@ -1,6 +1,5 @@ //> using scala "3.3.1" //> using options -Werror -Wunused:all -Wvalue-discard -Wnonunit-statement -//> using dep "org.virtuslab::besom-core:0.3.2-SNAPSHOT" +//> using dep "org.virtuslab::besom-core:0.3.2" //> using dep "org.virtuslab::besom-kubernetes:4.13.1-core.0.3" -//> using repository sonatype:snapshots diff --git a/experimental/project.scala b/experimental/project.scala index 4722093d..71e8bf91 100644 --- a/experimental/project.scala +++ b/experimental/project.scala @@ -1,6 +1,5 @@ //> using scala "3.3.1" -//> using dep "org.virtuslab::besom-core:0.3.2-SNAPSHOT" +//> using dep "org.virtuslab::besom-core:0.3.2" //> using dep "org.virtuslab::besom-kubernetes:4.13.1-core.0.3" //> using dep "io.github.iltotore::iron:2.5.0" -//> using repository sonatype:snapshots diff --git a/integration-tests/project.scala b/integration-tests/project.scala index 1634d933..307f595d 100644 --- a/integration-tests/project.scala +++ b/integration-tests/project.scala @@ -2,8 +2,7 @@ //> using exclude "*/resources/*" -//> using dep org.virtuslab::besom-codegen:0.3.2-SNAPSHOT -//> using dep org.virtuslab::besom-scripts:0.3.2-SNAPSHOT +//> using dep org.virtuslab::besom-codegen:0.3.2 +//> using dep org.virtuslab::besom-scripts:0.3.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 3fc00e6f..971abd9d 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.3.2-SNAPSHOT -//> using dep org.virtuslab::besom-core:0.3.2-SNAPSHOT +//> using plugin org.virtuslab::besom-compiler-plugin:0.3.2 +//> using dep org.virtuslab::besom-core:0.3.2 -//> using dep org.virtuslab::besom-cats:0.3.2-SNAPSHOT -//> using dep "org.virtuslab::besom-purrl:0.5.0-core.0.3-SNAPSHOT" -//> using repository sonatype:snapshots +//> using dep org.virtuslab::besom-cats:0.3.2 +//> using dep "org.virtuslab::besom-purrl:0.5.0-core.0.3" diff --git a/integration-tests/resources/compiler-plugin/project.scala b/integration-tests/resources/compiler-plugin/project.scala index 72e85b9f..b5f27eab 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.3.2-SNAPSHOT -//> using dep org.virtuslab::besom-core:0.3.2-SNAPSHOT +//> using plugin org.virtuslab::besom-compiler-plugin:0.3.2 +//> using dep org.virtuslab::besom-core:0.3.2 -//> using repository sonatype:snapshots diff --git a/integration-tests/resources/config-example/project.scala b/integration-tests/resources/config-example/project.scala index 72e85b9f..b5f27eab 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.3.2-SNAPSHOT -//> using dep org.virtuslab::besom-core:0.3.2-SNAPSHOT +//> using plugin org.virtuslab::besom-compiler-plugin:0.3.2 +//> using dep org.virtuslab::besom-core:0.3.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 6c753e5f..cdbca5ec 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.3.1") + implementation("org.virtuslab:besom-core_3:0.3.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 3d989164..e3276155 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.3.1 + 0.3.2 system ${besomBootstrapJar} @@ -38,12 +38,12 @@ org.scala-lang scala3-library_3 - 3.3.1 + 3.3.3 org.virtuslab besom-core_3 - 0.3.1 + 0.3.2 org.virtuslab diff --git a/integration-tests/resources/executors/sbt/build.sbt b/integration-tests/resources/executors/sbt/build.sbt index 68b1b918..b750f37f 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.3.1", + "org.virtuslab" %% "besom-core" % "0.3.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 ce50e377..f741e438 100644 --- a/integration-tests/resources/executors/scala-cli/project.scala +++ b/integration-tests/resources/executors/scala-cli/project.scala @@ -1,7 +1,6 @@ //> using scala 3.3.1 //> using options -java-output-version:11 -//> using plugin "org.virtuslab::besom-compiler-plugin:0.3.2-SNAPSHOT" -//> using dep "org.virtuslab::besom-core:0.3.2-SNAPSHOT" +//> using plugin "org.virtuslab::besom-compiler-plugin:0.3.2" +//> using dep "org.virtuslab::besom-core:0.3.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 8fdd171f..9c257861 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.3.2-SNAPSHOT -//> using dep org.virtuslab::besom-core:0.3.2-SNAPSHOT +//> using plugin org.virtuslab::besom-compiler-plugin:0.3.2 +//> using dep org.virtuslab::besom-core:0.3.2 -//> using dep "org.virtuslab::besom-kubernetes:4.13.1-core.0.3-SNAPSHOT" -//> using repository sonatype:snapshots +//> using dep "org.virtuslab::besom-kubernetes:4.13.1-core.0.3" diff --git a/integration-tests/resources/logger-example/project.scala b/integration-tests/resources/logger-example/project.scala index 72e85b9f..b5f27eab 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.3.2-SNAPSHOT -//> using dep org.virtuslab::besom-core:0.3.2-SNAPSHOT +//> using plugin org.virtuslab::besom-compiler-plugin:0.3.2 +//> using dep org.virtuslab::besom-core:0.3.2 -//> using repository sonatype:snapshots diff --git a/integration-tests/resources/memoization/source-stack/project.scala b/integration-tests/resources/memoization/source-stack/project.scala index 4cd322d9..b13854f5 100644 --- a/integration-tests/resources/memoization/source-stack/project.scala +++ b/integration-tests/resources/memoization/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.3.2-SNAPSHOT -//> using dep org.virtuslab::besom-core:0.3.2-SNAPSHOT +//> using plugin org.virtuslab::besom-compiler-plugin:0.3.2 +//> using dep org.virtuslab::besom-core:0.3.2 -//> using dep "org.virtuslab::besom-tls:5.0.3-core.0.3-SNAPSHOT" -//> using repository sonatype:snapshots +//> using dep "org.virtuslab::besom-tls:5.0.3-core.0.3" diff --git a/integration-tests/resources/memoization/target-stack/project.scala b/integration-tests/resources/memoization/target-stack/project.scala index 72e85b9f..b5f27eab 100644 --- a/integration-tests/resources/memoization/target-stack/project.scala +++ b/integration-tests/resources/memoization/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.3.2-SNAPSHOT -//> using dep org.virtuslab::besom-core:0.3.2-SNAPSHOT +//> using plugin org.virtuslab::besom-compiler-plugin:0.3.2 +//> using dep org.virtuslab::besom-core:0.3.2 -//> using repository sonatype:snapshots diff --git a/integration-tests/resources/random-example/project.scala b/integration-tests/resources/random-example/project.scala index fc36136f..edecd415 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.3.2-SNAPSHOT -//> using dep org.virtuslab::besom-core:0.3.2-SNAPSHOT +//> using plugin org.virtuslab::besom-compiler-plugin:0.3.2 +//> using dep org.virtuslab::besom-core:0.3.2 -//> using dep "org.virtuslab::besom-random:4.16.2-core.0.3-SNAPSHOT" -//> using repository sonatype:snapshots +//> using dep "org.virtuslab::besom-random:4.16.2-core.0.3" diff --git a/integration-tests/resources/references/source-stack/project.scala b/integration-tests/resources/references/source-stack/project.scala index 4cd322d9..b13854f5 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.3.2-SNAPSHOT -//> using dep org.virtuslab::besom-core:0.3.2-SNAPSHOT +//> using plugin org.virtuslab::besom-compiler-plugin:0.3.2 +//> using dep org.virtuslab::besom-core:0.3.2 -//> using dep "org.virtuslab::besom-tls:5.0.3-core.0.3-SNAPSHOT" -//> using repository sonatype:snapshots +//> using dep "org.virtuslab::besom-tls:5.0.3-core.0.3" diff --git a/integration-tests/resources/references/target-stack/project.scala b/integration-tests/resources/references/target-stack/project.scala index 72e85b9f..b5f27eab 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.3.2-SNAPSHOT -//> using dep org.virtuslab::besom-core:0.3.2-SNAPSHOT +//> using plugin org.virtuslab::besom-compiler-plugin:0.3.2 +//> using dep org.virtuslab::besom-core:0.3.2 -//> using repository sonatype:snapshots diff --git a/integration-tests/resources/tls-example/project.scala b/integration-tests/resources/tls-example/project.scala index 4cd322d9..b13854f5 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.3.2-SNAPSHOT -//> using dep org.virtuslab::besom-core:0.3.2-SNAPSHOT +//> using plugin org.virtuslab::besom-compiler-plugin:0.3.2 +//> using dep org.virtuslab::besom-core:0.3.2 -//> using dep "org.virtuslab::besom-tls:5.0.3-core.0.3-SNAPSHOT" -//> using repository sonatype:snapshots +//> using dep "org.virtuslab::besom-tls:5.0.3-core.0.3" diff --git a/integration-tests/resources/zio-tls-example/project.scala b/integration-tests/resources/zio-tls-example/project.scala index 5c832ff5..2e7ddc12 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.3.2-SNAPSHOT -//> using dep org.virtuslab::besom-core:0.3.2-SNAPSHOT +//> using plugin org.virtuslab::besom-compiler-plugin:0.3.2 +//> using dep org.virtuslab::besom-core:0.3.2 -//> using dep org.virtuslab::besom-zio:0.3.2-SNAPSHOT -//> using dep "org.virtuslab::besom-tls:5.0.3-core.0.3-SNAPSHOT" -//> using repository sonatype:snapshots +//> using dep org.virtuslab::besom-zio:0.3.2 +//> using dep "org.virtuslab::besom-tls:5.0.3-core.0.3" diff --git a/language-plugin/bootstrap/project.scala b/language-plugin/bootstrap/project.scala index 13850314..1fca8dd3 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.3.2-SNAPSHOT +//> using dep org.virtuslab::besom-json:0.3.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 fea7c8bb..f7113076 100644 --- a/scripts/project.scala +++ b/scripts/project.scala @@ -9,7 +9,7 @@ //> 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.3.2-SNAPSHOT +//> using dep org.virtuslab::besom-codegen:0.3.2 //> using test.dep org.scalameta::munit::1.0.0-M10 @@ -23,4 +23,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/templates/aws/project.scala b/templates/aws/project.scala index 88288d49..a5945a03 100644 --- a/templates/aws/project.scala +++ b/templates/aws/project.scala @@ -1,6 +1,5 @@ //> using scala "3.3.1" //> using options -Werror -Wunused:all -Wvalue-discard -Wnonunit-statement -//> using dep "org.virtuslab::besom-core:0.3.2-SNAPSHOT" +//> using dep "org.virtuslab::besom-core:0.3.2" //> using dep "org.virtuslab::besom-aws:6.39.0-core.0.3" -//> using repository sonatype:snapshots diff --git a/templates/default/project.scala b/templates/default/project.scala index acf8b5ed..a5b8c67e 100644 --- a/templates/default/project.scala +++ b/templates/default/project.scala @@ -1,6 +1,5 @@ //> using scala "3.3.1" //> using options -Werror -Wunused:all -Wvalue-discard -Wnonunit-statement -//> using dep "org.virtuslab::besom-core:0.3.2-SNAPSHOT" +//> using dep "org.virtuslab::besom-core:0.3.2" //> using dep "org.virtuslab::besom-random:4.16.2-core.0.3" -//> using repository sonatype:snapshots diff --git a/templates/gcp/project.scala b/templates/gcp/project.scala index efa6e9e8..63404cf2 100644 --- a/templates/gcp/project.scala +++ b/templates/gcp/project.scala @@ -1,6 +1,5 @@ //> using scala "3.3.1" //> using options -Werror -Wunused:all -Wvalue-discard -Wnonunit-statement -//> using dep "org.virtuslab::besom-core:0.3.2-SNAPSHOT" +//> using dep "org.virtuslab::besom-core:0.3.2" //> using dep "org.virtuslab::besom-gcp:7.26.0-core.0.3" -//> using repository sonatype:snapshots diff --git a/templates/kubernetes/project.scala b/templates/kubernetes/project.scala index 57415c21..d9d39918 100644 --- a/templates/kubernetes/project.scala +++ b/templates/kubernetes/project.scala @@ -1,6 +1,5 @@ //> using scala "3.3.1" //> using options -Werror -Wunused:all -Wvalue-discard -Wnonunit-statement -//> using dep "org.virtuslab::besom-core:0.3.2-SNAPSHOT" +//> using dep "org.virtuslab::besom-core:0.3.2" //> using dep "org.virtuslab::besom-kubernetes:4.13.1-core.0.3" -//> using repository sonatype:snapshots diff --git a/version.txt b/version.txt index cf249962..9fc80f93 100644 --- a/version.txt +++ b/version.txt @@ -1 +1 @@ -0.3.2-SNAPSHOT +0.3.2 \ No newline at end of file diff --git a/website/docs/changelog.md b/website/docs/changelog.md index fc47d699..4aa9a8ff 100644 --- a/website/docs/changelog.md +++ b/website/docs/changelog.md @@ -2,6 +2,24 @@ title: Changelog --- +0.3.2 (11-06-2024) +--- + +* Added missing `provider` / `providers` field on resources to fix #397 (@lbialy in [505](https://github.com/VirtusLab/besom/pull/505)) +* Exposed `CustomTimeouts` resource option configuration value (@lbialy in [502](https://github.com/VirtusLab/besom/pull/502)) +* Fixed issue 489 where ANSI control chars crashed internal logging (@lbialy in [492](https://github.com/VirtusLab/besom/pull/492)) +* First working draft of Automation API (sync, Either-monad based) (@pawelprazak in [336](https://github.com/VirtusLab/besom/pull/336)) +* Fixed issues with eviction of dependencies of core besom library (@lbialy in [500](https://github.com/VirtusLab/besom/pull/500)) +* Fixed bug that crashed besom when resource options were provided for component resource (@lbialy in [502](https://github.com/VirtusLab/besom/pull/502)) +* First working draft of Besom Configure (besom-cfg) (Kubernetes only) (@lbialy in [494](https://github.com/VirtusLab/besom/pull/494)) +* Allow passing options to scala-cli via language plugin executor (@lbialy in [503](https://github.com/VirtusLab/besom/pull/503)) + +New examples: + +* Add AWS API Gateway V2 with EventBridge example by @polkx in https://github.com/VirtusLab/besom/pull/479 + +**Full Changelog**: https://github.com/VirtusLab/besom/compare/v0.3.1...v0.3.2 + 0.3.1 (19-04-2024) --- diff --git a/website/docs/examples.md b/website/docs/examples.md index 198f3bbc..746dcdb8 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.3.1/examples). \ No newline at end of file +All examples are available in [Besom GitHub repository](https://github.com/VirtusLab/besom/tree/v0.3.2/examples). \ No newline at end of file diff --git a/website/docs/getting_started.md b/website/docs/getting_started.md index da940c6e..72546c65 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.3.1 --server github://api.github.com/VirtusLab/besom + pulumi plugin install language scala 0.3.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.3.1/templates/aws + pulumi new https://github.com/VirtusLab/besom/tree/v0.3.2/templates/aws ``` 5. **Deploy to the Cloud**: diff --git a/website/docs/templates.md b/website/docs/templates.md index 2807670c..b0d59ef7 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.3.1/templates). \ No newline at end of file +All templates are available in [Besom GitHub repository](https://github.com/VirtusLab/besom/tree/v0.3.2/templates). \ No newline at end of file