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

change: Drop support for Java 7 #690

Merged
merged 2 commits into from
Jun 10, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:

strategy:
matrix:
java-version: [7, 8, 11]
java-version: [8, 11, 17]

steps:
- uses: actions/checkout@v1
Expand Down
16 changes: 13 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,11 +46,21 @@ requests, code review feedback, and also pull requests.

## Supported Java Versions

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

The Firebase Admin Java SDK follows the [Oracle Java SE
support roadmap](https://www.oracle.com/java/technologies/java-se-support-roadmap.html)
(see the Oracle Java SE Product Releases section).

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

### For new development

In general, new feature development occurs with support for the lowest Java LTS version
covered by Oracle's Premier Support (which typically lasts 5 years from initial General
Availability). If the minimum required JVM for a given library is changed, it is
accompanied by a [semver](https://semver.org/) major release.

Java 11 and Java 17 are the best choices for new development.

## Documentation

Expand Down
10 changes: 5 additions & 5 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -270,7 +270,7 @@
<!-- Compile Phase -->
<plugin>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.8.1</version>
<version>3.10.1</version>
<configuration>
<source>1.7</source>
<target>1.7</target>
Expand Down Expand Up @@ -352,7 +352,7 @@
<plugin>
<groupId>org.sonatype.plugins</groupId>
<artifactId>nexus-staging-maven-plugin</artifactId>
<version>1.6.8</version>
<version>1.6.13</version>
<extensions>true</extensions>
<configuration>
<serverId>ossrh</serverId>
Expand Down Expand Up @@ -385,14 +385,14 @@
<dependency>
<groupId>com.google.cloud</groupId>
<artifactId>libraries-bom</artifactId>
<version>20.9.0</version>
<version>25.4.0</version>
<type>pom</type>
<scope>import</scope>
</dependency>
<dependency>
<groupId>com.google.api-client</groupId>
<artifactId>google-api-client-bom</artifactId>
<version>1.34.1</version>
<version>1.35.0</version>
<type>pom</type>
<scope>import</scope>
</dependency>
Expand Down Expand Up @@ -460,7 +460,7 @@
<dependency>
<groupId>org.mockito</groupId>
<artifactId>mockito-core</artifactId>
<version>2.28.2</version>
<version>4.6.1</version>
<scope>test</scope>
</dependency>
<dependency>
Expand Down