Releases: pluto-lang/pluto
@plutolang/[email protected]
Patch Changes
-
78a976b: fix(deducer): correct environment variable access code format
The code generation for environment variable access within the infrastructure code, which is written in TypeScript, was incorrectly producing Python format. This change ensures the code is now generated in the proper TypeScript format, resolving the error.
@plutolang/[email protected]
Patch Changes
- Updated dependencies [78a976b]
- @plutolang/[email protected]
@plutolang/[email protected]
Patch Changes
-
c1c732e: fix(deducer): use package name from dist-info instead of import name
The package import name may differ from its actual package name. For instance,
pysqlite3-binary
is the package name, but it is imported aspysqlite3
. This mismatch can cause the loss of required packages at runtime.
@plutolang/[email protected]
Patch Changes
-
e3d17b1: fix(deducer): resolve deducer malfunction with imports in function body
The deducer fails to operate correctly when encountering import statements inside function bodies, attempting to retrieve module symbols from these local scope imports. Since global scope is required for symbol resolution and these imports don't need extraction, the solution is to bypass import statements during the extraction process.
@plutolang/[email protected]
Patch Changes
- Updated dependencies [c1c732e]
- @plutolang/[email protected]
@plutolang/[email protected]
Patch Changes
- Updated dependencies [e3d17b1]
- @plutolang/[email protected]
@plutolang/[email protected]
Patch Changes
- Updated dependencies [ba661d2]
- @plutolang/[email protected]
@plutolang/[email protected]
Patch Changes
- Updated dependencies [cdf966f]
- @plutolang/[email protected]
- @plutolang/[email protected]
@plutolang/[email protected]
Patch Changes
-
cdf966f: feat(sdk): remove runtime dependency for AWS account ID retrieval
The previous AWS queue resource type implementation required the
AWS_ACCOUNT_ID
environment variable to be set by the runtime handler. The setting only occurred upon receiving a request, causing a panic if the queue resource type was used globally without theAWS_ACCOUNT_ID
being set.This commit eliminates the need for runtime setting of
AWS_ACCOUNT_ID
by utilizing thests.GetCallerIdentity
API to retrieve the account ID.
@plutolang/[email protected]
Patch Changes
-
ba661d2: feat(sdk): optimize cold-start performance
Move import statements to container initialization to enhance runtime performance.
By shifting import statements to container initialization rather than at invocation time, we ensure that the import process is completed with more resources available, leading to improved cold-start performance.