Releases: css4j/xml-dtd
Release 4.3
Highlights
As a last resort, the resolver now attempts to get a known System ID when the supplied System ID is unknown but the Public ID is known.
Detail of changes
- resolver: attempt to get a known System ID when the supplied System ID is unknown but the Public ID is known.
- Add scm section to Maven POM data.
- Bump copyright year to 2024.
- Upgrade to actions/setup-java v4.
- Upgrade to JUnit 5.10.2.
- Bump github/codeql-action from 2 to 3.
- Upgrade Gradle wrapper to 8.5.
- Actions: switch to gradle/actions/wrapper-validation.
- A few modifications to README.
- Default to Linux line endings for source files.
4.2.1
This release is essentially the same as 4.2 and 4.1.1, except that it depends on Tokenproducer 3.0 and later.
Testing has shown that xml-dtd 4.2 works fine with Tokenproducer 3.0, but to avoid any potential annoyances I decided to recompile xml-dtd with Tokenproducer 3.0 and produce a new release, just for caution.
Detail of changes
- Use advanced for loop in
DefaultEntityResolver
. - Use diamond operator.
- Compile for --release 8.
- Upgrade to tokenproducer 3.0.
- Upgrade to JUnit 5.10.0.
- Upgrade to actions/checkout@v4.
- Upgrade Gradle wrapper to 8.3.
- changes.sh: add a dot at the end of each item.
Version 4.2
Highlights
This release is the exact same as 4.1.1, except that it depends on Tokenproducer 2.0.1.
Upgrade to Tokenproducer 2.0.1
Tokenproducer 2.0.1 introduces a new base interface but otherwise is the same as 1.2 (and is source-level compatible with it). Unfortunately the software compiled with 1.2 cannot figure out that the old TokenHandler
interface inherits from the new TokenHandler2
, so anything compiled with 1.x is incompatible at runtime with 2.x.
If you upgrade to css4j 4.0.1, make sure to upgrade to xml-dtd
4.2 as well.
Detail of changes
- Bump copyright year to 2023.
- Tests: convert the tests to JUnit 5.
- Tests: add a jar bomb test.
- Upgrade to TokenProducer 2.0.1
- Upgrade Gradle wrapper to 8.1.
Version 4.1.1
Highlights
XHTML 1.1 DTD cleanup
See issue #8.
Remove final
modifiers from two DefaultEntityResolver
methods
See issue #9.
Detail of changes
- XHTML 1.1 DTD cleanup. See #8
- Remove
final
modifiers from twoDefaultEntityResolver
methods (#9) - Gradle: use a different line conversion procedure to avoid Git glitches
- Add a Developer Certificate of Origin and a CONTRIBUTING.md file
- Create a legal NOTICE.txt file
- README: modify javadocs link to point to modular API
- README: add CI badge
- Create dependabot.yml
- Use carte-util 3.6.0
Version 4.1.0
Highlights
Use the HTML5 entities as fallback if no subset is found in getExternalSubset
See issue #3.
Do not assume a specific SVG version for in getExternalSubset
See issue #5.
Support the DTD for SVG 1.0 in DefaultEntityResolver
See issue #6.
Detail of changes
- Use the HTML5 entities as fallback if no subset is found in getExternalSubset (#3)
- Do not assume a specific SVG version for in getExternalSubset (#5)
- Support the DTD for SVG 1.0 in DefaultEntityResolver (#6)
- ContentModel: more efficient use of collections.
- Make inner class static in EntityFinder.
- DefaultEntityResolver: formatting.
- A few javadoc improvements.
- Gradle: upgrade wrapper to 7.5.1.
- Bump year to 2022 in copyright headers.
4.0.0
Highlights
Removal of DefaultEntityResolver.resolveEntity(String)
See issue #1.
Use the Security Manager if available
See issue #2.
Detail of changes
- Remove
DefaultEntityResolver.resolveEntity(String)
. (#1) - Use the Security Manager only if available. (#2)
- Gradle: copy licensing files to
META-INF
directory of archive files. - Gradle: line-ending conversion task now warns if file does not exists.
- Gradle: upgrade wrapper to 7.3.
- Upgrade to JUnit 4.13.2.
- Add a 'changes.sh' script to generate a CHANGES.txt.
- Use Markdown in Release Notes, move non-release information to README.
- README: add a link to the resolver overview/introduction page.
- CI: build with Java 11 and 17.
Version 3.5.2
Release Highlights
Deprecate DefaultEntityResolver.resolveEntity(String)
for removal
See issue #1.
Build improvements
The Gradle build is smaller and a bit faster.
If you are already using a recent version of this library, do not really need to upgrade.
css4j v3.4.0
Depend on jclf-text
Maven artifact.
css4j v3.3.0
POM: depend on any tokenproducer
version 1.x.
css4j v3.2.0
See the release info at the css4j-dist
repository for details.