Skip to content

feat!: GA readiness improvements#667

Merged
bnusunny merged 1 commit intomainfrom
ga-readiness
Mar 20, 2026
Merged

feat!: GA readiness improvements#667
bnusunny merged 1 commit intomainfrom
ga-readiness

Conversation

@bnusunny
Copy link
Copy Markdown
Contributor

Summary

Prepare the project for 1.0.0 GA release with breaking changes, documentation, and cleanup.

Breaking Changes

  • Removed readiness_check_min_unhealthy_status field from AdapterOptions
  • Removed AWS_LWA_READINESS_CHECK_MIN_UNHEALTHY_STATUS environment variable
  • Use readiness_check_healthy_status / AWS_LWA_READINESS_CHECK_HEALTHY_STATUS instead (supports comma-separated codes and ranges, e.g. 200-399,404)

Changes

Code (src/lib.rs, tests/integ_tests/main.rs)

  • Remove deprecated readiness_check_min_unhealthy_status field, env var constant, and fallback logic
  • Remove #[allow(deprecated)] annotations that were only needed for the removed field
  • Remove env var cleanup lines in integration tests

Documentation

  • README.md: Add "Migrating from 0.x to 1.0" section with env var mapping table and healthy status migration example; update security section to reference SECURITY.md; update deprecation notice
  • CHANGELOG.md: Add entries for v0.8.0 through v1.0.0 covering all significant features, fixes, and improvements
  • docs/development.md: Fix outdated repo URL (aws-samples/aws-lambda-adapterawslabs/aws-lambda-web-adapter)
  • SECURITY.md (new): Security policy with vulnerability reporting link and supported versions table

Testing

All unit and integration tests pass. No new tests needed — this is a removal of deprecated code and documentation additions.

Note

The version bump (1.0.0-rc11.0.0) and corresponding Dockerfile/example/doc updates are intentionally excluded and will be done in a separate PR.

BREAKING CHANGE: Remove readiness_check_min_unhealthy_status field and
AWS_LWA_READINESS_CHECK_MIN_UNHEALTHY_STATUS env var. Use
readiness_check_healthy_status / AWS_LWA_READINESS_CHECK_HEALTHY_STATUS instead.

- Remove deprecated readiness_check_min_unhealthy_status from AdapterOptions
- Remove ENV_READINESS_CHECK_MIN_UNHEALTHY_STATUS constant and fallback logic
- Remove #[allow(deprecated)] annotations no longer needed
- Add migration guide section to README (0.x to 1.0)
- Add SECURITY.md with vulnerability reporting policy
- Update README security section to reference SECURITY.md
- Add CHANGELOG entries for v0.8.0 through v1.0.0
- Fix outdated repo URL in docs/development.md
@github-actions
Copy link
Copy Markdown

github-actions bot commented Mar 20, 2026

📊 Benchmark Comparison

Benchmark Details
  • Baseline: main branch
  • Comparison: This PR
  • Threshold: 10% regression triggers warning

@bnusunny bnusunny merged commit fb9e768 into main Mar 20, 2026
7 checks passed
@bnusunny bnusunny deleted the ga-readiness branch March 20, 2026 06:04
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.

1 participant