Skip to content

Commit da07be5

Browse files
committed
Release 4.2
1 parent 47cea4a commit da07be5

File tree

3 files changed

+19
-23
lines changed

3 files changed

+19
-23
lines changed

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ and optional library packages are the following:
8282
**It is optional at runtime.**
8383

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

8787
**It is optional at runtime.**
8888

RELEASE_NOTES.md

+16-15
Original file line numberDiff line numberDiff line change
@@ -1,27 +1,28 @@
1-
# xml-dtd version 4.1.1 Release Notes
1+
# xml-dtd version 4.2 Release Notes
22

3-
### November 12, 2022
3+
### April 17, 2023
44

55
<br/>
66

77
## Highlights
88

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

11-
See issue #8.
11+
### Upgrade to Tokenproducer 2.0.1
1212

13-
### Remove `final` modifiers from two `DefaultEntityResolver` methods
13+
Tokenproducer 2.0.1 introduces a new base interface but otherwise is the same as 1.2
14+
(and is source-level compatible with it). Unfortunately the software compiled with 1.2
15+
cannot figure out that the old `TokenHandler` interface inherits from the new `TokenHandler2`,
16+
so anything compiled with 1.x is incompatible at runtime with 2.x.
1417

15-
See issue #9.
18+
If you upgrade to css4j 4.0.1, make sure to upgrade to `xml-dtd` 4.2 as well.
19+
20+
<br/>
1621

1722
## Detail of changes
1823

19-
- XHTML 1.1 DTD cleanup. See #8
20-
- Remove `final` modifiers from two `DefaultEntityResolver` methods (#9)
21-
- Gradle: use a different line conversion procedure to avoid Git glitches
22-
- Add a Developer Certificate of Origin and a CONTRIBUTING.md file
23-
- Create a legal NOTICE.txt file
24-
- README: modify javadocs link to point to modular API
25-
- README: add CI badge
26-
- Create dependabot.yml
27-
- Use carte-util 3.6.0
24+
- Bump copyright year to 2023.
25+
- Tests: convert the tests to JUnit 5.
26+
- Tests: add a jar bomb test.
27+
- Upgrade to TokenProducer 2.0.1
28+
- Upgrade Gradle wrapper to 8.1.

build.gradle

+2-7
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ group = 'io.sf.carte'
77

88
description = 'xml-dtd'
99

10-
version = '4.1.2-SNAPSHOT'
10+
version = '4.2'
1111

1212
sourceSets {
1313
main {
@@ -51,12 +51,7 @@ dependencies {
5151
prefer '3.6.0'
5252
}
5353
}
54-
dtdparseImplementation('io.sf.carte:tokenproducer') {
55-
version {
56-
strictly '[1.1.2,)'
57-
prefer '2.0.1'
58-
}
59-
}
54+
dtdparseImplementation 'io.sf.carte:tokenproducer:[2.0.1,)'
6055
dtdeclImplementation 'io.sf.jclf:jclf-text:[5.0.0,)'
6156
testImplementation 'org.junit.jupiter:junit-jupiter:5.9.2'
6257
}

0 commit comments

Comments
 (0)