From 72f3d52ae46a06d614bd988d028d8752ba4d24c4 Mon Sep 17 00:00:00 2001 From: Carlos Amengual Date: Sat, 5 Oct 2024 18:52:06 +0200 Subject: [PATCH] Release 5.0 --- README.md | 13 ++++++++----- RELEASE_NOTES.md | 24 +++++++++++++++++------- build.gradle | 2 +- 3 files changed, 26 insertions(+), 13 deletions(-) diff --git a/README.md b/README.md index f2193df..5ae2935 100644 --- a/README.md +++ b/README.md @@ -38,13 +38,17 @@ repositories { releasesOnly() } content { - includeGroup 'io.sf.carte' - includeGroup 'io.sf.jclf' + // Include all the groups used by popular io.sf.* projects + includeGroupByRegex 'io\\.sf\\..*' + + // Alternatively: + //includeGroup 'io.sf.carte' + //includeGroup 'io.sf.jclf' } } } ``` -please use this repository **only** for the artifact groups listed in the `includeGroup` statements. +please use this repository only for the artifact groups listed in the `includeGroup` statements. Then, in your `build.gradle` file: ```groovy @@ -65,8 +69,7 @@ and optional library packages are the following: ### Compile-time dependencies - The [css4j](https://github.com/css4j/css4j/releases) library (and its transitive - dependencies); version 4.0 or higher is recommended (compatibility with 5.0 or - higher is likely but not guaranteed). + dependencies); version 5.0 or higher is recommended. - The [xml-dtd](https://github.com/css4j/xml-dtd) library; version 4.1.1 or higher is recommended. diff --git a/RELEASE_NOTES.md b/RELEASE_NOTES.md index aac1234..7ab697e 100644 --- a/RELEASE_NOTES.md +++ b/RELEASE_NOTES.md @@ -1,6 +1,6 @@ -# css4j-agent version 4.0 Release Notes +# css4j-agent version 5.0 Release Notes -### March 30, 2023 +### October 5, 2024
@@ -15,8 +15,18 @@ Updated Public Suffix List. ## Detail of changes - Update to latest public suffix list. -- Upgrade to css4j 4.0 -- Upgrade to slf4j-api 2.0.7 -- Upgrade to extra-java-module-info 1.3 -- Upgrade Gradle wrapper to 8.0.2 -- Tests: convert the tests to JUnit 5. +- Use diamond operator. +- Small refactor in `DefaultUserAgent`. +- Use advanced for loop in `ResourceDownloader`. +- Add scm section to Maven POM data. +- Prefer css4j 5.0. +- Upgrade to xml-dtd 4.3. +- Upgrade JUnit to version 5.11.1. +- Use slf4j 2.0.16. +- Upgrade to extra-java-module-info version 1.9. +- Upgrade to actions/checkout@v4. +- Upgrade to actions/setup-java v4. +- Gradle: switch to gradle/actions/wrapper-validation. +- Upgrade Gradle wrapper to 8.10.2. +- Default to Linux line endings for source files. +- Bump copyright year to 2024. diff --git a/build.gradle b/build.gradle index 3613d90..449336b 100644 --- a/build.gradle +++ b/build.gradle @@ -5,7 +5,7 @@ plugins { } group = 'io.sf.carte' -version = '4.0.1-SNAPSHOT' +version = '5.0' description = 'css4j-agent'