Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support ruby 3.2 fix #51

Merged
merged 3 commits into from
Jul 30, 2023
Merged

Support ruby 3.2 fix #51

merged 3 commits into from
Jul 30, 2023

Commits on Jun 29, 2023

  1. Support ruby 3.2 runtime in AWS lambda

    This upgrades the gem to support the new `ruby3.2` runtime
    of which AWS says:
    
    "Ruby 3.2 adds many features and performance improvements, including anonymous
    arguments passing improvements, ‘endless’ methods, Regexp improvements, a new
    Data class, support for pattern-matching in Time and MatchData, and support for
    ‘find pattern’ in pattern matching.
    
    Existing Lambda customers using the Ruby 2.7 runtime should migrate to the Ruby
    3.2 runtime as soon as possible. Even though community support for Ruby 2.7 has
    ended, Lambda has extended support for the Ruby 2.7 runtime until December 7,
    2023 to provide existing Ruby customers with time to transition to Ruby 3.2.
    Functions using Ruby 2.7 continue to be eligible for technical support and
    Lambda will continue to apply OS security updates to the runtime until this
    date."
    
    This also changes the docker image used to build the package dependencies from
    the `lambci/lambda:*` images to the `amazon/aws-lambda-ruby:*` images provided
    and maintained by AWS.  These images are the exact images used by lambda
    functions using a ruby runtime.  They unfortunately don't have all the build
    dependencies present in the lambci images.  Thus a wrapper script is provided
    around the gem packaging in a docker container that ensures the necessary
    packages are installed
    lwoodson committed Jun 29, 2023
    Configuration menu
    Copy the full SHA
    d20c945 View commit details
    Browse the repository at this point in the history
  2. Respond to code review feedback

    - Rebase to get latest changes; regen yarn.lock file
    - Remove commented out code in integration.sh (done in rebase)
    - Remove documented ability to override the docker image
    lwoodson committed Jun 29, 2023
    Configuration menu
    Copy the full SHA
    58b3f69 View commit details
    Browse the repository at this point in the history

Commits on Jul 13, 2023

  1. Correctly distribute build-gems.sh script

    So that its installed with the plugin into node-modules and can
    be invoked from a serverless project when bundling w/native
    extensions.
    lwoodson committed Jul 13, 2023
    Configuration menu
    Copy the full SHA
    93f163d View commit details
    Browse the repository at this point in the history