Skip to content

Show a deprecation notice that points to lstk sam - #34

Merged
anisaoshafi merged 1 commit into
masterfrom
devx-1168-samlocal-deprecation-notice
Oct 9, 2026
Merged

anisaoshafi merged 1 commit into
masterfrom
devx-1168-samlocal-deprecation-notice

Conversation

@anisaoshafi

Copy link
Copy Markdown
Contributor

samlocal now prints a deprecation notice to stderr on every run. It points users to lstk sam and the migration guide. It reuses the notice structure from the localstack CLI (DEVX-1126).

============================================================================
  WARNING: 'samlocal' is deprecated. Use 'lstk sam' instead.
============================================================================

  'samlocal' no longer receives updates.

  Get started with 'lstk', the new LocalStack CLI:
  https://docs.localstack.cloud/aws/developer-tools/running-localstack/lstk/

  Switch your scripts and CI workflows to 'lstk sam':
  https://docs.localstack.cloud/aws/developer-tools/running-localstack/lstk/migration/#infrastructure-as-code

============================================================================

Continuing with 'samlocal'...
  • Stdout stays clean, so piped output still works.
  • DISABLE_DEPRECATION_NOTICE=1 hides the notice.
  • Adds the same note to the README and bumps the version to 1.71.0.

Resolves DEVX-1168

@anisaoshafi anisaoshafi closed this Oct 8, 2026
@anisaoshafi anisaoshafi reopened this Oct 8, 2026
@anisaoshafi
anisaoshafi marked this pull request as ready for review October 8, 2026 15:57
@anisaoshafi
anisaoshafi requested a review from a team October 8, 2026 16:06
@anisaoshafi
anisaoshafi merged commit 7695975 into master Oct 9, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants