Skip to content
Open
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/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
strategy:
matrix:
os: [ ubuntu-latest, windows-latest]
java-version: [ 8, 11, 17, 21 ]
java-version: [ 17, 21, 25 ]
steps:
- uses: actions/checkout@v5
- name: Set up JDK ${{ matrix.java-version }}
Expand Down
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -315,6 +315,10 @@ config.setExpressionHandler(new GraalJsExpressionHandler());
- [vertx-web](https://vertx.io/docs/vertx-web/java/#_jade_template_engine) jade4j for [Vert.X](http://vertx.io/)

<a name="breaking-changes-2"></a>
## Breaking Changes in 2.5.0
- Compiler level has been raised to Java 17+
- Update GraalVM from 21 LTS to 25 LTS

## Breaking Changes in 2.0.0
- Classes are renamed to pug4j.
- Default file extension is now .pug
Expand Down
4 changes: 2 additions & 2 deletions docs/tasks.md
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ This document contains a comprehensive list of improvement tasks for the pug4j p
- [x] Update commons-collections4 from 4.4 to 4.5.0
- [x] Update caffeine from 2.9.3 to latest 2.x or 3.x version
- [x] Update gson from 2.10.1 to latest version
- [x] Update GraalVM from 21.3.12 to latest LTS version
- [x] Update GraalVM from 21.3.15 to 25.0.0 LTS version
- [x] Update Jackson BOM from 2.17.2 to latest version
- [x] Update all test dependencies to latest stable versions

Expand All @@ -88,7 +88,7 @@ This document contains a comprehensive list of improvement tasks for the pug4j p
- [ ] Set up automated dependency updates (Dependabot/Renovate)

### Java Modernization
- [ ] Consider upgrading minimum Java version from 8 to 11 or 17
- [x] Consider upgrading minimum Java version from 8 to 11 or 17
- [x] Replace raw types with generics (Parser.java:1074,1086)
- [ ] Use diamond operator where applicable
- [ ] Replace anonymous classes with lambdas where appropriate
Expand Down
36 changes: 4 additions & 32 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -74,22 +74,11 @@
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<project.scm.id>git@github.com</project.scm.id>
<maven.compiler.source>1.8</maven.compiler.source>
<maven.compiler.target>1.8</maven.compiler.target>
<graalvm.version>21.3.15</graalvm.version>
<java.version>8</java.version>
<maven.compiler.release>17</maven.compiler.release>
<graalvm.version>25.0.0</graalvm.version>
</properties>

<profiles>
<profile>
<id>javac-release</id>
<activation>
<jdk>[11,)</jdk>
</activation>
<properties>
<maven.compiler.release>8</maven.compiler.release>
</properties>
</profile>
<profile>
<id>release-sign-artifacts</id>
<activation>
Expand Down Expand Up @@ -319,27 +308,10 @@
<scope>compile</scope>
</dependency>
<dependency>
<groupId>org.graalvm.js</groupId>
<groupId>org.graalvm.polyglot</groupId>
<artifactId>js</artifactId>
<version>${graalvm.version}</version>
<scope>runtime</scope>
</dependency>
<dependency>
<groupId>org.graalvm.js</groupId>
<artifactId>js-scriptengine</artifactId>
<version>${graalvm.version}</version>
<scope>runtime</scope>
</dependency>
<dependency>
<groupId>org.graalvm.tools</groupId>
<artifactId>profiler</artifactId>
<version>${graalvm.version}</version>
<scope>runtime</scope>
</dependency>
<dependency>
<groupId>org.graalvm.tools</groupId>
<artifactId>chromeinspector</artifactId>
<version>${graalvm.version}</version>
<type>pom</type>
<scope>runtime</scope>
</dependency>
<!-- Testing -->
Expand Down