Skip to content

Commit

Permalink
Release 4.2
Browse files Browse the repository at this point in the history
  • Loading branch information
carlosame committed Apr 17, 2023
1 parent 47cea4a commit da07be5
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 23 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ and optional library packages are the following:
**It is optional at runtime.**

- The [tokenproducer](https://github.com/css4j/tokenproducer) library; version
1.1.1 or higher is recommended.
2.0.1 or higher is required.

**It is optional at runtime.**

Expand Down
31 changes: 16 additions & 15 deletions RELEASE_NOTES.md
Original file line number Diff line number Diff line change
@@ -1,27 +1,28 @@
# xml-dtd version 4.1.1 Release Notes
# xml-dtd version 4.2 Release Notes

### November 12, 2022
### April 17, 2023

<br/>

## Highlights

### XHTML 1.1 DTD cleanup
This release is the exact same as 4.1.1, except that it depends on Tokenproducer 2.0.1.

See issue #8.
### Upgrade to Tokenproducer 2.0.1

### Remove `final` modifiers from two `DefaultEntityResolver` methods
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.

See issue #9.
If you upgrade to css4j 4.0.1, make sure to upgrade to `xml-dtd` 4.2 as well.

<br/>

## Detail of changes

- XHTML 1.1 DTD cleanup. See #8
- Remove `final` modifiers from two `DefaultEntityResolver` 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
- 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.
9 changes: 2 additions & 7 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ group = 'io.sf.carte'

description = 'xml-dtd'

version = '4.1.2-SNAPSHOT'
version = '4.2'

sourceSets {
main {
Expand Down Expand Up @@ -51,12 +51,7 @@ dependencies {
prefer '3.6.0'
}
}
dtdparseImplementation('io.sf.carte:tokenproducer') {
version {
strictly '[1.1.2,)'
prefer '2.0.1'
}
}
dtdparseImplementation 'io.sf.carte:tokenproducer:[2.0.1,)'
dtdeclImplementation 'io.sf.jclf:jclf-text:[5.0.0,)'
testImplementation 'org.junit.jupiter:junit-jupiter:5.9.2'
}
Expand Down

0 comments on commit da07be5

Please sign in to comment.