Skip to content

Maintenance: Update InvokeStore to v0.2.1 #4787

Description

@svozza

Summary

The InvokeStore package release a new version (v.0.2.1) last week that didn't export types correctly for a particular tsconfig.json setup. This affected Powertools so we didn't not upgrade. Yesterday a new version was released that fix the issue.

Why is this needed?

v0.2.x contains important changes to the API that we need to account for:

// old
import InvokeStore from '@aws/lambda-invoke-store';

// new
import InvokeStore from '@aws/lambda-invoke-store';

 //.. 
export const handler = () => {
  const invokeStore = InvokeStore.getInstanceAsync();
}

Which area does this relate to?

Other

Solution

We must upgrade to the new version and rather than using InvokeStore directly from the import, we must use globalThis.awslambda.InvokeStore.

Acknowledgment

Future readers

Please react with 👍 and your use case to help us understand customer demand.

Activity

  1. self-assigned this
    on Nov 21, 2025
  2. added
    internal
    confirmed
    on Nov 21, 2025
  3. powertools-for-aws-oss-automation commented on Nov 21, 2025

    @powertools-for-aws-oss-automation

    Warning

    This issue is now closed. Please be mindful that future comments are hard for our team to see.
    If you need more assistance, please either reopen the issue, or open a new issue referencing this one.
    If you wish to keep having a conversation with other community members under this issue feel free to do so.

  4. added
    pending-release
    and removed
    confirmed
    on Nov 21, 2025
  5. github-actions commented on Nov 21, 2025

    @github-actions
    Contributor

    This is now released under v2.29.0 version!

  6. added
    completed
    and removed
    pending-release
    on Nov 21, 2025
  7. moved this from Coming soon to Shipped in Powertools for AWS Lambda (TypeScript)on Nov 24, 2025
  8. removed
    internal
    completed
    on Sep 7, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions