See this http://keepachangelog.com link for information on how we want this documented formatted.
- Remove "cookies" header from rack response to conform to Lambda proxy integration requirements.
β οΈ Breaking Changesβ οΈ - Remove Rack v2 support.
- Added Rack v3 support.
- Rack 3.X compatibility, by removing uninitialized constants.
- Exit gracefully when SIGTERM or SIGINT signal occurs.
- Safely Pass Percent Symbols in Paths Fixes #170
- New CloudWatch cold start metrics. Defaults to off. Enable with
config.cold_start_metrics = true
.
β οΈ Breaking Changesβ οΈ - Remove Lamby::Runner & Lamby::Command in favor of LambdaConsole Ruby gem.
- New runner pattern exceptions from above. Now: LambdaConsole::Run::UnknownCommandPattern
- Switch your own runner events to new https://github.com/rails-lambda/lambda-console spec.
- Command response will be #inspect for every command.
- Added x-lambda-console option to the event.
- Default Lamby::Runner::PATTERNS to allow everything.
- New Lamby::Command for IRB style top level binding evals.
- Local Development Proxy Server with Puma. See #164
- Local Development Proxy Server. See #164
- New lamby.cloud site and GitHub community organization.
- Future-ready LambdaCable.cmd handler detection.
- Runner's Open3 uses crypteia friendly env.
- New
Lamby.config.handled_proc
called with ensure viaLamby.cmd
- New
Lamby.config.rack_app
with default Rack builder. - The
Lamby.cmd
to simplifyCMD
with the new config.app from above.
- All lamby installer templates.
- Remove SAM env checks used during debug mode.
- Removed showing environment variables in debug mode.
- Need to
require: false
when adding the Lamby gem to yourGemfile
. - Dotenv integration. Use Crypteia now.
- Tested Rack 3.x.
- The ::Rack::Utils namespace. Fixes #123.
- Lambdakiq Handler Integration. Fixes #120.
- X-Request-Start header value for New Relic with API Gateway.
- Add X-Request-Start header for New Relic with API Gateway.
- Ruby 2.7 Warnings | Logger. Thanks @jessedoyle
- Runner now returns STDOUT/STDERR as body.
- Fix Lambdakiq integration. Thanks #97.
- Automatically handle
Lambdakiq.jobs?(event)
. - New event for tasks like DB migrations. #80 #93
- Updated template files to latest lambda container standards.
- Perform rack body closing hooks on request #85
- Bootsnap setup convenience require.
- Support EventBridge events in handler with default proc to log.
- Bootsnap setup convenience require.
- Fixed Rack::Deflate usage with an ALB.
- Support redirects with empty response body.
- Tests for enabling Rack::Deflate middleware by passing RACK_DEFLATE_ENABLED env variable.
- Support multiple Set-Cookie headers for all rest types.
- Base64 encode response body if the rack response is gzip or brotli compressed.
- SSM file always overwrites. Fixes #65.
- Quoting in describe-subnets #62 Thanks @atwoodjw
- Install files to favor containers.
- More ActiveSupport removal. Better ENV.to_h.
- More ActiveSupport removal from SsmParameterStore.
- Remove dependency on
activesupport
for rack-only applications. - Remove ActiveSupport artifacts:
- Replace
strip_heredoc
with<<~HEREDOC
. - Remove instances of
Object#try
, replace with&.
. - Use
Rack::Utils.build_nested_query
in place ofObject#to_query
. - Replace
Object#present?
withto_s.empty?
. - Replace
Array.wrap
withArray[obj].compact.flatten
.
- Replace
- Add a check against the
RAILS_ENV
ANDRACK_ENV
environment variables prior to enabling debug mode.
- Only load the railtie if
Rails
is defined.
- Remove Rails runtime dep. Only rack is needed.
Support for new API Gateway HTTP APIs!!!
- The
Lamby.handler
must have a:rack
option. One of:http
,:rest
,:alb
. - Renamed template generators to match options above.
- The
lamby:install
task now defaults to HTTP API. - Changed the name of
:api
rack option to:rest
. - Removed
export
from Dotenv files. Better Docker compatability.
- New rack handler for HTTP API v1 and v2.
- Lots of backfill tests for, ALBs & REST APIs.
- Change shebangs to
#!/usr/bin/env bash
- Adds an optional 'overwrite' parameter to #to_env.
- Links in bin/build templates to point to lamby.custominktech.com site.
- ALB query params & binary responses. Fixes #38.
- APPLICATION LOAD BALANACER SUPPORT!!! The new default. Use
rack: :api
option to handler for API Gateway support.
- Rake task
lamby:install
now defaults toapplication_load_balancer
- The .gitignore file template. Fix .aws-sam dir.
- Template generators for first install. Ex:
./bin/rake -r lamby lamby:install:api_gateway
. - New
Lamby::SsmParameterStore.get!
helper.
- Fix type in v0.4.0 fix below.
- File uploads in #33 using
CONTENT_TYPE
andCONTENT_LENGTH
.
- Pass Request ID for CloudWatch logs. Fixes #30.
- Docs and SAM template tweaks.
- Secure configs rake task.
- Project bin setup and tests.
- SAM template tweaks.
- Simple docs and project re-organization.
- New gem and placeholder in rubygems.