Skip to content

Releases: pluto-lang/pluto

@plutolang/pluto-infra@0.4.15

23 May 12:00
9dc351a
Compare
Choose a tag to compare

Patch Changes

  • e34d204: feat(sdk): add ReactApp resource type

    Adds ReactApp resource type to support building and deploying React applications.

  • Updated dependencies [e34d204]

    • @plutolang/pluto@0.4.10

@plutolang/cli@0.4.23

23 May 16:07
a729c23
Compare
Choose a tag to compare

Patch Changes

  • Updated dependencies [4a0d854]
    • @plutolang/pyright-deducer@0.1.14

@plutolang/cli@0.4.22

23 May 12:00
9dc351a
Compare
Choose a tag to compare

Patch Changes

  • @plutolang/simulator-adapter@0.3.19
  • @plutolang/static-deducer@0.4.7

@plutolang/pyright-deducer@0.1.13

21 May 16:44
89494fb
Compare
Choose a tag to compare

Patch Changes

  • 7f2e28c: fix(deducer): fix missed extraction of environment variables for functions, lambdas, and classes

    Missed the extraction of environment variables when accessed inside the body of functions, lambdas, and classes. This fix addresses the issue by checking the dependent environment variables, during searching the outside variables used within these node types.

@plutolang/cli@0.4.21

21 May 16:44
89494fb
Compare
Choose a tag to compare

Patch Changes

  • Updated dependencies [7f2e28c]
    • @plutolang/pyright-deducer@0.1.13

@plutolang/static-generator@0.4.4

15 May 09:46
0441bca
Compare
Choose a tag to compare

Patch Changes

  • 87f35b5: feat: enable runtime access to locally defined env vars

    Previously, environment variables were only accessible through the resource constructor and infrastructure APIs. This commit enables client APIs to access these variables.

    During function argument extraction by the deducer from the resource constructor or infrastructure APIs, all accessed environment variables within the compute closure are recorded. These variables are then passed to the architecture reference. Subsequently, the generator declares these environment variables for each closure variable in the IaC code. When the adapter runs the IaC code, it sets up the environment variables for the built function instance, such as AWS Lambda instances. The procedure of setting up these environment variables is written in the infrastructure SDK.

  • Updated dependencies [87f35b5]

    • @plutolang/base@0.4.4

@plutolang/static-deducer@0.4.7

15 May 09:46
0441bca
Compare
Choose a tag to compare

Patch Changes

  • Updated dependencies [87f35b5]
    • @plutolang/base@0.4.4

@plutolang/simulator-adapter@0.3.18

15 May 09:46
0441bca
Compare
Choose a tag to compare

Patch Changes

  • Updated dependencies [c36a239]
  • Updated dependencies [87f35b5]
    • @plutolang/pluto-infra@0.4.14
    • @plutolang/pluto@0.4.9
    • @plutolang/base@0.4.4

@plutolang/pyright-deducer@0.1.12

15 May 09:46
0441bca
Compare
Choose a tag to compare

Patch Changes

  • 5dd7c89: feat(deducer): support more situations for resource constructor and infra api args

    This update enhances the deducer module by allowing environment variables and variables to be passed to resource constructors and infra API arguments. Specifically, it now supports:

    • Direct literal values (e.g., 1, true, "hello").
    • Direct dataclass constructors (e.g., Model(name="hello") where Model is a dataclass).
    • Direct access to environment variables (e.g., os.environ["key"], os.environ.get("key", "default")).
    • Variables (e.g., var1, var2), with the requirement that they are defined exactly once and assigned with the supported value types.
    • Tuples or dicts containing the supported types of values.
  • 87f35b5: feat: enable runtime access to locally defined env vars

    Previously, environment variables were only accessible through the resource constructor and infrastructure APIs. This commit enables client APIs to access these variables.

    During function argument extraction by the deducer from the resource constructor or infrastructure APIs, all accessed environment variables within the compute closure are recorded. These variables are then passed to the architecture reference. Subsequently, the generator declares these environment variables for each closure variable in the IaC code. When the adapter runs the IaC code, it sets up the environment variables for the built function instance, such as AWS Lambda instances. The procedure of setting up these environment variables is written in the infrastructure SDK.

  • Updated dependencies [87f35b5]

    • @plutolang/base@0.4.4

@plutolang/pulumi-adapter@0.4.6

15 May 09:46
0441bca
Compare
Choose a tag to compare

Patch Changes

  • 1e8f254: feat(adapter): prettify pulumi error output on AWS deployment
  • Updated dependencies [87f35b5]
    • @plutolang/base@0.4.4