Releases: aws-powertools/powertools-lambda-java
Releases · aws-powertools/powertools-lambda-java
Preview release v0.4.0-beta
Changes
Add a new utility to fetch and cache parameter values from AWS Systems Manager Parameter Store, AWS Secrets Manager. It also provides a base class to create your parameter provider implementation.
Retrieve values from Systems Manager Parameter Store:
public APIGatewayProxyResponseEvent handleRequest(APIGatewayProxyRequestEvent input,
Context context) {
SSMProvider ssmProvider = ParamManager.getSsmProvider();
// Retrieve a single parameter
String value = ssmProvider.getValue("/my/parameter");
// Retrieve multiple parameters from a path prefix recursively
// This returns a map with the parameter name as key
Map<String, String> multipleValue = ssmProvider.getMultiple("/my/path/prefix");
}Retrieve secrets from AWS Secrets Managers:
public APIGatewayProxyResponseEvent handleRequest(APIGatewayProxyRequestEvent input,
Context context) {
SecretsProvider secretsProvider = ParamManager.getSecretsProvider();
// Retrieve a single secret
String secretValue = secretsProvider.get("my-secret");
}🌟 Minor Changes
- feat: integration with CloudWatch ServiceLens #88 (#111) by @rb2010
- fix: Log event via object mapper and not depend on toString (#113) by @pankajagrawal16
This release was made possible by the following contributors:
Preview release v0.3.1-beta
Changes
This release fixes import of unused dependencies for tracing utility.
- fix: Removing Log4J dependencies from the tracing module. (#106) by @msailes
- fix: Removing v1 Java SDK dependencies for X-Ray (#105) by @msailes
- docs: fixes to the documentation (#102) by @msailes
This release was made possible by the following contributors:
@dependabot, and @msailes
Preview release v0.3.0-beta
Changes
Lambda Powertools for Java now supports the creation of CloudWatch metrics asynchronously. We follow a convention over configuration approach to simplify the developer experience.
- feat: Metrics utility (#91) by @pankajagrawal16
This release was made possible by the following contributors:
Preview release v0.2.0-beta
Changes
- docs: Readme update (#72) by @pankajagrawal16
- ci: Change in root pom should also trigger build (#71) by @pankajagrawal16
- docs: Update docs to reflect about metrics coming soon (#70) by @pankajagrawal16
- fix(general): clean up typos and code (#62) by @michaelbrewer
- feat: Utility without annotation (#61) by @pankajagrawal16
- ci: Build docs action update (#65) by @pankajagrawal16
- docs: Update SQS large payload docs (#60) by @pankajagrawal16
- docs: fixing documentation (#59) by @stevehouel
- feat: SQS Large message handling (#55) by @msailes
🌟New features and non-breaking changes
- feat: Utility without annotation (#61) by @pankajagrawal16
- feat: SQS Large message handling (#55) by @msailes
📜 Documentation updates
- docs: Readme update (#72) by @pankajagrawal16
- docs: Update docs to reflect about metrics coming soon (#70) by @pankajagrawal16
- docs: Update SQS large payload docs (#60) by @pankajagrawal16
- docs: fixing documentation (#59) by @stevehouel
🐛 Bug and hot fixes
- fix(general): clean up typos and code (#62) by @michaelbrewer
This release was made possible by the following contributors:
@michaelbrewer, @msailes, @pankajagrawal16, @stevehouel and Pankaj Agrawal
Preview release v0.1.0-beta
Changes
- feat: Structured JSON logging
- feat: Additional tracing support for X-Ray
