Skip to content

Commit 824e3aa

Browse files
authored
Merge branch 'main' into report-artifacts-size
2 parents 82aa32a + 3a106ca commit 824e3aa

File tree

302 files changed

+9612
-4027
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

302 files changed

+9612
-4027
lines changed

CHANGELOG.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,14 @@ This project follows [Keep a Changelog](https://keepachangelog.com/en/1.0.0/) fo
88

99
## [Unreleased]
1010

11+
## [1.16.1] - 2023-07-19
12+
13+
* Fix: idempotency timeout bug (#1285) by @scottgerring
14+
* Fix: ParamManager cannot provide default SSM & Secrets providers (#1282) by @jeromevdl
15+
* Fix: Handle batch failures in FIFO queues correctly (#1183) by @scottgerring
16+
* Deps: Bump third party dependencies to the latest versions.
17+
18+
1119
## [1.16.0] - 2023-06-29
1220

1321

CONTRIBUTING.md

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -31,10 +31,11 @@ To send us a pull request, please:
3131

3232
1. Fork the repository.
3333
2. Modify the source; please focus on the specific change you are contributing. If you also reformat all the code, it will be hard for us to focus on your change.
34-
3. Ensure local tests pass.
35-
4. Commit to your fork using clear commit messages.
36-
5. Send us a pull request, answering any default questions in the pull request interface.
37-
6. Pay attention to any automated CI failures reported in the pull request, and stay involved in the conversation.
34+
3. Ensure local tests pass: `mvn clean test`
35+
4. Ensure your code is formatted with the provided [checkstyle.xml](https://github.com/aws-powertools/powertools-lambda-java/blob/main/checkstyle.xml): `mvn clean verify`
36+
5. Commit to your fork using clear commit messages.
37+
6. Send us a pull request, answering any default questions in the pull request interface.
38+
7. Pay attention to any automated CI failures reported in the pull request, and stay involved in the conversation.
3839

3940
GitHub provides additional document on [forking a repository](https://help.github.com/articles/fork-a-repo/) and
4041
[creating a pull request](https://help.github.com/articles/creating-a-pull-request/).

README.md

Lines changed: 123 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -13,31 +13,34 @@ Powertools for AWS Lambda (Java) is a developer toolkit to implement Serverless
1313

1414
Powertools for AWS Lambda (Java) is available in Maven Central. You can use your favourite dependency management tool to install it
1515

16-
* [maven](https://maven.apache.org/):
16+
#### Maven:
1717
```xml
1818
<dependencies>
1919
...
2020
<dependency>
2121
<groupId>software.amazon.lambda</groupId>
2222
<artifactId>powertools-tracing</artifactId>
23-
<version>1.17.0-SNAPSHOT</version>
23+
<version>1.16.1</version>
2424
</dependency>
2525
<dependency>
2626
<groupId>software.amazon.lambda</groupId>
2727
<artifactId>powertools-logging</artifactId>
28-
<version>1.17.0-SNAPSHOT</version>
28+
<version>1.16.1</version>
2929
</dependency>
3030
<dependency>
3131
<groupId>software.amazon.lambda</groupId>
3232
<artifactId>powertools-metrics</artifactId>
33-
<version>1.17.0-SNAPSHOT</version>
33+
<version>1.16.1</version>
3434
</dependency>
3535
...
3636
</dependencies>
3737
```
3838

39-
And configure the aspectj-maven-plugin to compile-time weave (CTW) the aws-lambda-powertools-java aspects into your project:
39+
Next, configure the aspectj-maven-plugin to compile-time weave (CTW) the aws-lambda-powertools-java aspects into your project. A different configuration is needed for projects on Java 8.
4040

41+
<details>
42+
<summary><b>Maven - Java 11 and newer</b></summary>
43+
4144
```xml
4245
<build>
4346
<plugins>
@@ -77,18 +80,132 @@ And configure the aspectj-maven-plugin to compile-time weave (CTW) the aws-lambd
7780
</plugins>
7881
</build>
7982
```
83+
</details>
8084

81-
## Example
85+
<details>
86+
<summary><b>Maven - Java 8</b></summary>
87+
88+
```xml
89+
<build>
90+
<plugins>
91+
...
92+
<plugin>
93+
<groupId>org.codehaus.mojo</groupId>
94+
<artifactId>aspectj-maven-plugin</artifactId>
95+
<version>1.14.0</version>
96+
<configuration>
97+
<source>1.8</source>
98+
<target>1.8</target>
99+
<complianceLevel>1.8</complianceLevel>
100+
<aspectLibraries>
101+
<aspectLibrary>
102+
<groupId>software.amazon.lambda</groupId>
103+
<artifactId>powertools-logging</artifactId>
104+
</aspectLibrary>
105+
<aspectLibrary>
106+
<groupId>software.amazon.lambda</groupId>
107+
<artifactId>powertools-tracing</artifactId>
108+
</aspectLibrary>
109+
<aspectLibrary>
110+
<groupId>software.amazon.lambda</groupId>
111+
<artifactId>powertools-metrics</artifactId>
112+
</aspectLibrary>
113+
</aspectLibraries>
114+
</configuration>
115+
<executions>
116+
<execution>
117+
<goals>
118+
<goal>compile</goal>
119+
</goals>
120+
</execution>
121+
</executions>
122+
</plugin>
123+
...
124+
</plugins>
125+
</build>
126+
```
127+
</details>
128+
129+
<details>
130+
<summary><b>Gradle - Java 11+</b></summary>
131+
132+
```groovy
133+
plugins {
134+
id 'java'
135+
id 'io.freefair.aspectj.post-compile-weaving' version '8.1.0'
136+
}
137+
138+
repositories {
139+
mavenCentral()
140+
}
141+
142+
dependencies {
143+
aspect 'software.amazon.lambda:powertools-logging:{{ powertools.version }}'
144+
aspect 'software.amazon.lambda:powertools-tracing:{{ powertools.version }}'
145+
aspect 'software.amazon.lambda:powertools-metrics:{{ powertools.version }}'
146+
}
147+
148+
sourceCompatibility = 11
149+
targetCompatibility = 11
150+
```
151+
</details>
152+
153+
<details>
154+
<summary><b>Gradle - Java 8</b></summary>
155+
156+
```groovy
157+
plugins {
158+
id 'java'
159+
id 'io.freefair.aspectj.post-compile-weaving' version '6.6.3'
160+
}
161+
162+
repositories {
163+
mavenCentral()
164+
}
165+
166+
dependencies {
167+
aspect 'software.amazon.lambda:powertools-logging:{{ powertools.version }}'
168+
aspect 'software.amazon.lambda:powertools-tracing:{{ powertools.version }}'
169+
aspect 'software.amazon.lambda:powertools-metrics:{{ powertools.version }}'
170+
}
171+
172+
sourceCompatibility = 1.8
173+
targetCompatibility = 1.8
174+
```
175+
</details>
176+
177+
## Examples
82178

83179
See the **[examples](examples)** directory for example projects showcasing usage of different utilities.
84180

85181
Have a demo project to contribute which showcase usage of different utilities from powertools? We are happy to accept it [here](CONTRIBUTING.md#security-issue-notifications).
86182

183+
## How to support Powertools for AWS Lambda (Java)?
184+
185+
### Becoming a reference customer
186+
187+
Knowing which companies are using this library is important to help prioritize the project internally. If your company is using Powertools for AWS Lambda (Java), you can request to have your name and logo added to the README file by raising a [Support Powertools for AWS Lambda (Java) (become a reference)](https://github.com/aws-powertools/powertools-lambda-java/issues/new?assignees=&labels=customer-reference&template=support_powertools.yml&title=%5BSupport+Lambda+Powertools%5D%3A+%3Cyour+organization+name%3E) issue.
188+
189+
The following companies, among others, use Powertools:
190+
191+
* [Capital One](https://www.capitalone.com/)
192+
* [CPQi (Exadel Financial Services)](https://cpqi.com/)
193+
* [Europace AG](https://europace.de/)
194+
87195
## Credits
88196

89197
* [MkDocs](https://www.mkdocs.org/)
90198
* [Material for MkDocs](https://squidfunk.github.io/mkdocs-material/)
91199

200+
## Connect
201+
202+
* **Powertools for AWS Lambda on Discord**: `#java` - **[Invite link](https://discord.gg/B8zZKbbyET)**
203+
* **Email**: <[email protected]>
204+
205+
## Security disclosures
206+
207+
If you think you’ve found a potential security issue, please do not post it in the Issues. Instead, please follow the instructions [here](https://aws.amazon.com/security/vulnerability-reporting/) or [email AWS security directly](mailto:[email protected]).
208+
92209
## License
93210

94211
This library is licensed under the Apache License, Version 2.0. See the LICENSE file.

0 commit comments

Comments
 (0)