Skip to content

Latest commit

Β 

History

History
339 lines (238 loc) Β· 13.2 KB

CHANGES.md

File metadata and controls

339 lines (238 loc) Β· 13.2 KB

Changes

5.0.2

  • πŸ›‘οΈ 06c78c6 npm audit
  • ✨ 4ce9011 Update lint-staged and husky
  • ✨ ff0f750 Update prettier
  • ✨ b8e8fd6 Update mocha
  • ✨ 005b7b7 Update Studio Log
  • ✨ 4ebb5a3 Configure packaged files

Released by Maximilian Antoni on 2024-08-28.

5.0.1

  • πŸ› 446db5c Fix max idle overtaking lambda timeout
  • πŸ“š 16953a0 Add missing documentation for timeout option
  • πŸ“š e582183 Remove bad link to apex

Released by Maximilian Antoni on 2024-08-28.

5.0.0

Released by Maximilian Antoni on 2024-01-17.

4.0.1

  • ✨ cca2e48 Support node 20 and update GitHub action
  • ✨ d64d9ff Upgrade prettier to v3
  • ✨ 2670491 Update eslint config and eslint
  • ✨ c27072b Update Studio ndjson
  • ✨ 06c894f Upgrade Studio Changes
  • ✨ 4e929c7 Upgrade @sinonjs/referee-sinon

Released by Maximilian Antoni on 2024-01-11.

4.0.0

  • πŸ’₯ 8be1398 Require node 16
  • πŸ’₯ 496cc52 Use dynamic import to support loading es modules
  • πŸ’₯ d458059 Change generic destroy error code to E_FAILED
  • πŸ›‘ 8a6a3b3 npm audit
  • ✨ 6814ed2 Update Studio Changes
  • ✨ 0d942b9 Upgrade referee-sinon
  • ✨ 673cc02 Update prettier
  • ✨ 5c264ff Upgrade mocha
  • ✨ bf9897b Upgrade eslint-config and eslint

Released by Maximilian Antoni on 2023-01-19.

3.0.2

  • πŸ› 5b7e59e Fix region and account config via env

Released by Maximilian Antoni on 2021-06-23.

3.0.1

  • πŸ› e1be0d4 Handler JSON.stringify error in lambda response
  • ✨ 526574b Upgrade @sinonjs/referee-sinon to latest (Morgan Roderick)
  • ✨ 2f25018 Set required node version in package-lock.json (Morgan Roderick)

Released by Maximilian Antoni on 2021-05-21.

3.0.0

  • πŸ’₯ b5a53ad Require node 12
  • 🍏 21b2d2c Return promise in lambda.invoke if no callback is given
  • 🍏 c37577a Support async lambda functions
  • πŸ“š 4de3f74 Document usage with async await
  • πŸ› 2111a8f Fix error handling if lambda throws while launching
  • ✨ 957d2e6 Avoid else by returning early
  • ✨ e6879f2 Configure GitHub actions
  • ✨ 64de260 Run lint, test and prettier checks separately
  • ✨ b9db826 Update Studio Changes
  • ✨ 0af1d4e Upgrade referee-sinon to latest
  • ✨ f2000dd Upgrade mocha to latest
  • ✨ c466a9d Setup prettier
  • ✨ e0469bb Upgrade eslint and eslint-config
  • ✨ 94c71c6 Use npm 7
  • ✨ b121728 Add .gitignore
  • ✨ 883ba54 Fix memory limit tests for node 12
  • ✨ 0914a38 Upgrade referee-sinon to v6
  • ✨ eb41ede Upgrade Studio Changes to v2
  • ✨ 570c069 Make eslint-config a dev dependency

Released by Maximilian Antoni on 2021-04-21.

2.0.2

  • πŸ› 6a70c3c Revert "Do not prepend forwarded log namespace with name"

    This reverts commit 7082da34f64146db43402d40835bfb2ffbb934f7.

2.0.1

  • πŸ› 7082da3 Do not prepend forwarded log namespace with name

2.0.0

  • πŸ’₯ 82e917a BREAKING: Upgrade Studio Log to v2
  • ✨ e0669ea Use Sinon + Referee and use Sinon default sandbox
  • πŸ“š 8362816 Add commit links with --commits

1.14.1

  • πŸ› Pass error cause in logs through to lambda logger

1.14.0

  • 🍏 Implement more AWS environment variables for lambda functions
  • 🍏 Change log topic for new lambdas from "launch" to "spawn"
  • ✨ Add tests for AWS_REGION and AWS_PROFILE environment variables
  • ✨ Refactor setting getRemainingTimeInMillis on context

1.13.0

  • 🍏 Add shutdown and stats APIs
  • πŸ› Improve lambda function error handling
  • πŸ› Handle ndjson transform errors

1.12.0

  • 🍏 Use configured memory and improve process exit handling

1.11.1

  • πŸ› Improve generated awsRequestId

1.11.0

  • 🍏 Add support for functionName.
  • 🍏 Add support for awsRequestId.
  • 🍏 Add support for memoryLimitInMB.
  • 🍏 Add support for getRemainingTimeInMillis().
  • πŸ› Build the function ARN within the Lambda function instead of injecting it. The STUDIO_AWS_ACCOUNT environment variable was not picket up correctly.

1.10.1

  • ✨ Use @studio/ndjson to parse log output from Lambdas

1.10.0

  • ⚠️ Remove hack to filter log data

    Log data should be filtered where it's created. With the new @studio/log-x module and the updated @studio/wrap this hack can be removed.

  • ✨ Add package-lock.json

1.9.1

  • πŸ› Add invokedFunctionArn to given context if missing

1.9.0

  • 🍏 Generate invokedFunctionArn in default context
  • πŸ“š Use upper case Lambda module name in examples

1.8.2

  • πŸ› Fix entries cleanup in kill handler

    The entries array is not necessarily cleaned up in reverse insertion order. With this patch, the kill handler does not expect the entry at a fixed position, but queries the entry to remove by ID instead.

1.8.1

  • πŸ› Fail on missing environment variables

    • Throw an error if a variable replacement fails.
    • Handle launch exceptions by logging an error and invoking the callback with an error message.

1.8.0

  • 🍏 Support environment variable replacement in Lambda config files

    If a config file contains placeholders in the form ${ENV_VAR}, they are replaced with the corresponding environment variable. This feature is not supported by Apex. Use it to configure secret variables in local configs.

1.7.0

  • πŸ™Š Do not log Lambda input and output

    The new @studio/wrap implementation already do logging within the Lambda function. Log filtering should also be applied there.

1.6.2

  • πŸ› Pass on parent process execArgv

    This allows to invoke the parent process with v8 options like --stack-trace-limit=50 and have them passed on to the Lambda processes. This restores the default behavior for child processes.

1.6.1

Log output improvements:

  • πŸ”’ Include the Lambda execution time in the stats log message
  • πŸ™ˆ Set config_file to "<defaults>" if not found
  • πŸ™ˆ Remove messages to streamline log output

1.6.0

  • πŸ”’ Log Lambda process memory usage

1.5.0

  • 🍏 Add Lamdba debugging option

1.4.0

  • 🍏 Pass on process.env.DEBUG

1.3.3

  • 🍏 Improve log output filtering
  • 🍏 Handle Lambda logs on stdout
  • πŸ™ˆ Do not log authorizationToken
  • πŸ› Fix log message with string event

1.3.2

  • πŸ› Reduce duplication in log messages

1.3.1

  • πŸ› Rename logger

1.3.0

  • 🍏 Use @studio/log

1.2.2

  • πŸ› Handle invalid lambda response

1.2.1

  • πŸ› Timeouts are defined in seconds

1.2.0

  • 🍏 Add base_dir config option

1.1.2

  • 🍏 Pass HOME environment variable for the aws-sdk module to find the credentials file
  • ✨ Change log emoji for send and receive events

1.1.1

A few bug fixes and minor improvements:

  • πŸ› Preserve configured env if config file is loaded
  • πŸ› Do not log authorization and token header values
  • πŸ› Prefix log messages with "Lambda"
  • πŸ› Log lambda error response

1.1.0

  • 🍏 Allow to pass an optional context object to the Lambda handler function. If no context is given, it defaults to an empty object, retaining the previous behavior.

1.0.0

  • ✨ Inception