Skip to content

v0.0.10

Compare
Choose a tag to compare
@JadenSimon JadenSimon released this 19 Jul 01:40
· 1 commit to main since this release

Improved performance on macOS and Linux

  • Reduced startup time by 10-20ms or around 33%
  • Slightly faster compilations from updating to TypeScript 5.5.2

New Commands

  • query-logs - shows logs from deployed resources. All resources are checked by default.
    • You can provide an identifer to filter the logs, e.g. query-logs service for const service = new HttpService()
    • Only some resources have separate logs. Currently, this is limited to Function and HttpService.
  • migrate - automatically detects if any deployed resources were renamed or moved in source code, moving them on the next deploy.
    • This is useful if you changed the name of a stateful resource but want to keep the existing state
  • upgrade - check for and potentially install the latest version of the CLI

Core API changes

  • Exposed a generic symEval function for symbolic execution. This is the primary mechanism for automatically determining runtime requirements such as AWS permissions. See the AWS integration for an example of combining symEval with other core APIs.
  • Added a move function to help with refactoring library code. Example usages will be added over time.
  • Added stubWhenBundled to forcefully strip code that you know won't be executed when bundled
  • Added registerLogProvider which can be used to provide logs for query-logs. The provider used for Lambda functions shows the expected inputs/outputs.

Other notable changes

  • Code deployed to AWS API Gateway now automatically returns a 304 if the response has an etag header and it matches the if-none-match header in the request, if present.
  • Improved support for providers from the Terraform registry
  • Fixed installation bug related to caching fs installs
  • The target env is shown when compiling if it's not the default and not passed as a parameter
  • Changed the local impl. of Bucket to persist state after being moved by migrate