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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

build(deps): bump aws-serverless-java-container-core from 1.4 to 1.5 #268

Conversation

dependabot-preview[bot]
Copy link
Contributor

Bumps aws-serverless-java-container-core from 1.4 to 1.5.

Release notes

Sourced from aws-serverless-java-container-core's releases.

Release 1.5 adds support for the new proxy event format from Amazon API Gateway's HTTP API 馃帀 and improves support for reactive/WebFlux applications as well as asynchronous initialization.

New features

  • New 0-parameter asynchronous initializer method for ContainerHandlerBuilder implementations that detects the actual JVM start time (#287)
SpringBootLambdaContainerHandler<AwsProxyRequest, AwsProxyResponse> handler =
        new SpringBootProxyHandlerBuilder<AwsProxyRequest>()
                    .defaultProxy()
                    .asyncInit()
                    .springBootApplication(SlowTestApplication.class)
                    .buildAndInitialize();
  • Experimental support for API Gateway's HTTP API new event format (version 2.0) 馃帀. The new format is available through both the static constructors and the builder object (#329)
SpringBootLambdaContainerHandler<HttpApiV2ProxyRequest, AwsProxyResponse> httpApiHandler =
        SpringBootLambdaContainerHandler.getHttpApiV2ProxyHandler(WebFluxTestApplication.class)
// or
SpringBootLambdaContainerHandler<HttpApiV2ProxyRequest, AwsProxyResponse> httpApiHandler =
new SpringBootProxyHandlerBuilder<HttpApiV2ProxyRequest>()
.defaultHttpApiV2Proxy()
.initializationWrapper(new InitializationWrapper())
.springBootApplication(WebFluxTestApplication.class)
.buildAndInitialize();

  • New configuration parameter in the ContainerConfig object makes it easy to disable exception mapping. This allows exception to "bubble-up" all the way to the Lambda handler object for easy logging in CloudWatch metrics (#307)
LambdaContainerHandler.getContainerConfig().setDisableExceptionMapper(true);
  • Added a new parameter to the ContainerHandlerBuilder for Spring Boot 2 that makes it easy to start a Servlet-only application (#330)
SpringBootLambdaContainerHandler<AwsProxyRequest, AwsProxyResponse> handler =
        new SpringBootProxyHandlerBuilder<AwsProxyRequest>()
                                .defaultProxy()
                                .servletApplication()
                                .springBootApplication(ServletApplication.class)
                                .buildAndInitialize();
  • Official support for Spring 5.2.x and Spring Boot 2.2.x

Bug fixes

  • Fixed a race condition that caused the response buffer to be flushed early for WebFlux applications (#304)
  • Fixed server name logic when using the request headers and the HOST header is not present (#327)
  • Forced Servlet initialization at init time. When using Spring the DispatcherServlet was causing the first handler execution to be slow (#322)
  • Fixed a regression in content type encoding handling that was causing the container config value to be ignored (#317 - thank you @eranation!)

Other changes

  • Updated samples and archetypes to build and deploy out-of-the-box with the SAM CLI
  • Various dependency bumps
... (truncated)
Commits
  • 5008e6a [maven-release-plugin] prepare release aws-serverless-java-container-1.5
  • c8e8f41 chore: Added project description, url, and developer information
  • 57730cf Revert "fix: Fixed version of release plugin to the same used by sonatype par...
  • 5948b6e fix: Fixed version of release plugin to the same used by sonatype parent project
  • 588e2c7 chore: Preparing for release 1.5 to new AWS sonatype instance
  • 4380cc0 Draft pull request for 1.5 release (#331)
  • 5c655bd docs: Deprecated support for SpringBoot 1.5
  • 41ac2cb patch: Added CI against spring 5.1 and 5.2. Updated unit tests to skip Spring...
  • dce832e chore(deps): Bump default Spring version to 5.2.x
  • 3b51775 Bump spring.version in /samples/spring/pet-store (#320)
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
  • @dependabot badge me will comment on this PR with code to add a "Dependabot enabled" badge to your readme

Additionally, you can set the following in the .dependabot/config.yml file in this repo:

  • Update frequency
  • Automerge options (never/patch/minor, and dev/runtime dependencies)
  • Out-of-range updates (receive only lockfile updates, if desired)
  • Security updates (receive only security updates, if desired)

@dependabot-preview dependabot-preview bot added the type: dependency-upgrade Upgrade a dependency label May 1, 2020
@graemerocher graemerocher merged commit 805c9b6 into master May 8, 2020
@dependabot-preview dependabot-preview bot deleted the dependabot/gradle/com.amazonaws.serverless-aws-serverless-java-container-core-1.5 branch May 8, 2020 05:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: dependency-upgrade Upgrade a dependency
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant