Skip to content

Commit 9983725

Browse files
change: Drop support for Java 7 (#690)
Updated the minimum support platform version to Java 8 Updated the CIs to run on Java 8, 11, and 17 Upgraded the dependencies that were blocked on Java 7, including libraries-bom
1 parent 078ec13 commit 9983725

File tree

3 files changed

+19
-9
lines changed

3 files changed

+19
-9
lines changed

Diff for: .github/workflows/ci.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ jobs:
2121

2222
strategy:
2323
matrix:
24-
java-version: [7, 8, 11]
24+
java-version: [8, 11, 17]
2525

2626
steps:
2727
- uses: actions/checkout@v1

Diff for: README.md

+13-3
Original file line numberDiff line numberDiff line change
@@ -46,11 +46,21 @@ requests, code review feedback, and also pull requests.
4646

4747
## Supported Java Versions
4848

49-
We currently support Java 7 and higher. However, Java 7 support is deprecated.
50-
We strongly encourage you to use Java 8 or higher as we will drop support for
51-
Java 7 in the next major version. Firebase Admin Java SDK also runs on [Google App
49+
We currently support Java 8 and higher. The Firebase Admin Java SDK also runs on [Google App
5250
Engine](https://cloud.google.com/appengine/).
5351

52+
The Firebase Admin Java SDK follows the [Oracle Java SE
53+
support roadmap](https://www.oracle.com/java/technologies/java-se-support-roadmap.html)
54+
(see the Oracle Java SE Product Releases section).
55+
56+
### For new development
57+
58+
In general, new feature development occurs with support for the lowest Java LTS version
59+
covered by Oracle's Premier Support (which typically lasts 5 years from initial General
60+
Availability). If the minimum required JVM for a given library is changed, it is
61+
accompanied by a [semver](https://semver.org/) major release.
62+
63+
Java 11 and Java 17 are the best choices for new development.
5464

5565
## Documentation
5666

Diff for: pom.xml

+5-5
Original file line numberDiff line numberDiff line change
@@ -270,7 +270,7 @@
270270
<!-- Compile Phase -->
271271
<plugin>
272272
<artifactId>maven-compiler-plugin</artifactId>
273-
<version>3.8.1</version>
273+
<version>3.10.1</version>
274274
<configuration>
275275
<source>1.7</source>
276276
<target>1.7</target>
@@ -352,7 +352,7 @@
352352
<plugin>
353353
<groupId>org.sonatype.plugins</groupId>
354354
<artifactId>nexus-staging-maven-plugin</artifactId>
355-
<version>1.6.8</version>
355+
<version>1.6.13</version>
356356
<extensions>true</extensions>
357357
<configuration>
358358
<serverId>ossrh</serverId>
@@ -385,14 +385,14 @@
385385
<dependency>
386386
<groupId>com.google.cloud</groupId>
387387
<artifactId>libraries-bom</artifactId>
388-
<version>20.9.0</version>
388+
<version>25.4.0</version>
389389
<type>pom</type>
390390
<scope>import</scope>
391391
</dependency>
392392
<dependency>
393393
<groupId>com.google.api-client</groupId>
394394
<artifactId>google-api-client-bom</artifactId>
395-
<version>1.34.1</version>
395+
<version>1.35.0</version>
396396
<type>pom</type>
397397
<scope>import</scope>
398398
</dependency>
@@ -460,7 +460,7 @@
460460
<dependency>
461461
<groupId>org.mockito</groupId>
462462
<artifactId>mockito-core</artifactId>
463-
<version>2.28.2</version>
463+
<version>4.6.1</version>
464464
<scope>test</scope>
465465
</dependency>
466466
<dependency>

0 commit comments

Comments
 (0)