asciidoctor/asciidoctorj (org.asciidoctor:asciidoctorj)
### [`v3.0.0`](https://redirect.github.com/asciidoctor/asciidoctorj/releases/tag/v3.0.0)
[Compare Source](https://redirect.github.com/asciidoctor/asciidoctorj/compare/v2.5.13...v3.0.0)
#### Breaking changes
**Improvement:**
- Fix Macro APIs to take StructuralNodes and return Phrase- or StructuralNodes. ([#1084](https://redirect.github.com/asciidoctor/asciidoctorj/issues/1084))
- Allow Preprocessor extensions to create new Readers and replace the original Reader. ([#1081](https://redirect.github.com/asciidoctor/asciidoctorj/issues/1081))
- Set Java 11 as the minimal version ([#1151](https://redirect.github.com/asciidoctor/asciidoctorj/issues/1151)) ([@abelsromero](https://redirect.github.com/abelsromero))
- Remove deprecated methods in Options, OptionsBuilder, Attributes & AttributesBuilder ([#1199](https://redirect.github.com/asciidoctor/asciidoctorj/issues/1199)) ([@abelsromero](https://redirect.github.com/abelsromero))
- Remove deprecated methods from Asciidoctor interface ([#1201](https://redirect.github.com/asciidoctor/asciidoctorj/issues/1201)) ([@abelsromero](https://redirect.github.com/abelsromero))
- Remove deprecated methods from Document interface ([#1202](https://redirect.github.com/asciidoctor/asciidoctorj/issues/1202)) ([@abelsromero](https://redirect.github.com/abelsromero))
- Remove deprecated methods and constants from extension package ([#1203](https://redirect.github.com/asciidoctor/asciidoctorj/issues/1203)) ([@abelsromero](https://redirect.github.com/abelsromero))
- Remove deprecated methods from ast package ([#1204](https://redirect.github.com/asciidoctor/asciidoctorj/issues/1204)) ([@abelsromero](https://redirect.github.com/abelsromero))
- Add Automatic-Module-Name manifest entry to core, api, and cli for reserving stable JPMS module names ([#1240](https://redirect.github.com/asciidoctor/asciidoctorj/issues/1240)) ([@leadpony](https://redirect.github.com/leadpony))
- Remove Java 'requires open access' module warning in modern Java versions ([#1246](https://redirect.github.com/asciidoctor/asciidoctorj/issues/1246))
- Add Reader.getSource() and Reader.getSourceLines() ([#1262](https://redirect.github.com/asciidoctor/asciidoctorj/issues/1262))
**Bug Fixes:**
- \-s CLI option should be changed to -e to align with Asciidoctor ([#1237](https://redirect.github.com/asciidoctor/asciidoctorj/issues/1237)) ([@mojavelinux](https://redirect.github.com/mojavelinux))
- Column#setWidth is ignored ([#1265](https://redirect.github.com/asciidoctor/asciidoctorj/issues/1265)) ([@Vampire](https://redirect.github.com/Vampire))
- Fix unresolvable dependency of JRuby Gradle plugin. ([#1275](https://redirect.github.com/asciidoctor/asciidoctorj/issues/1275))
#### Compatible changes
**Improvement:**
- Add `setContext` function to StructuralNode. ([#1250](https://redirect.github.com/asciidoctor/asciidoctorj/issues/1250)) ([@RayOffiah](https://redirect.github.com/RayOffiah))
- Add command line option --failure-level to force non-zero exit code from AsciidoctorJ CLI if specified logging level is reached. ([#1114](https://redirect.github.com/asciidoctor/asciidoctorj/issues/1114))
- Upgrade to asciidoctorj 2.0.23 ([#1280](https://redirect.github.com/asciidoctor/asciidoctorj/issues/1280))
- Upgrade to asciidoctorj-pdf 2.3.18 ([#1280](https://redirect.github.com/asciidoctor/asciidoctorj/issues/1280))
- Upgrade to asciidoctorj-revealjs 5.1.0 ([#1256](https://redirect.github.com/asciidoctor/asciidoctorj/issues/1256))
- Upgrade to asciidoctorj-diagram 2.3.1 ([#1280](https://redirect.github.com/asciidoctor/asciidoctorj/issues/1280))
- Upgrade to asciidoctorj-diagram-jsyntrax 1.38.2 ([#1282](https://redirect.github.com/asciidoctor/asciidoctorj/issues/1282))
- Upgrade to JRuby 9.4.8.0 ([#1280](https://redirect.github.com/asciidoctor/asciidoctorj/issues/1280))
- Upgrade to tilt 2.0.11 ([#1109](https://redirect.github.com/asciidoctor/asciidoctorj/issues/1109))
- Upgrade to asciimath 2.0.4 ([#1109](https://redirect.github.com/asciidoctor/asciidoctorj/issues/1109))
- Expose `sectnum` property in Section interface ([#1121](https://redirect.github.com/asciidoctor/asciidoctorj/issues/1121))
- Replace use of deprecated 'numbered' attribute by 'sectnums' ([#1123](https://redirect.github.com/asciidoctor/asciidoctorj/issues/1123)) ([@abelsromero](https://redirect.github.com/abelsromero))
- Expose `source` and `source_lines` use of deprecated 'numbered' in Document interface ([#1145](https://redirect.github.com/asciidoctor/asciidoctorj/issues/1145)) ([@abelsromero](https://redirect.github.com/abelsromero))
- Accept 'null' as valid input (same as empty string) for load and convert String methods ([#1148](https://redirect.github.com/asciidoctor/asciidoctorj/issues/1148)) ([@abelsromero](https://redirect.github.com/abelsromero))
- Create `asciidoctorj-cli` module to prevent unnecessary dependencies to asciidoctorj jar consumers ([#1149](https://redirect.github.com/asciidoctor/asciidoctorj/issues/1149))
- Add required `--add-opens` to cli launch script to remove Jdk warnings ([#1155](https://redirect.github.com/asciidoctor/asciidoctorj/issues/1155)) ([@abelsromero](https://redirect.github.com/abelsromero))
- Rename deprecated `headerFooter` option to the new `standalone` with same functionality ([#1155](https://redirect.github.com/asciidoctor/asciidoctorj/issues/1155)) ([@abelsromero](https://redirect.github.com/abelsromero))
- Remove class `AsciidoctorUtils` to remove complexity and unused logging ([#1169](https://redirect.github.com/asciidoctor/asciidoctorj/issues/1169)) ([@abelsromero](https://redirect.github.com/abelsromero))
- Expose ImageReferences in the catalog ([#1166](https://redirect.github.com/asciidoctor/asciidoctorj/issues/1166)) ([@abelsromero](https://redirect.github.com/abelsromero))
- Return Document AST when using convert or convertFile with appropriate options ([#1171](https://redirect.github.com/asciidoctor/asciidoctorj/issues/1171)) ([@abelsromero](https://redirect.github.com/abelsromero))
- Expose Links in the catalog ([#1183](https://redirect.github.com/asciidoctor/asciidoctorj/issues/1183)) ([@abelsromero](https://redirect.github.com/abelsromero))
**Bug Fixes:**
- Cell nodes do not inherit from StructuralNode ([#1086](https://redirect.github.com/asciidoctor/asciidoctorj/issues/1086)) ([@rahmanusta](https://redirect.github.com/rahmanusta))
- Avoid throwing an exception when using AsciidoctorJ CLI and reading input from stdin ([#1105](https://redirect.github.com/asciidoctor/asciidoctorj/issues/1105)) ([@AlexCzar](https://redirect.github.com/AlexCzar))
- Remove destinationDir Option from API (use toDir instead) ([#853](https://redirect.github.com/asciidoctor/asciidoctorj/issues/853), [#941](https://redirect.github.com/asciidoctor/asciidoctorj/issues/941)) ([@abelsromero](https://redirect.github.com/abelsromero))
- Fix CLI target file location for source files relative to source dir ([#1135](https://redirect.github.com/asciidoctor/asciidoctorj/issues/1135)) ([@AlexCzar](https://redirect.github.com/AlexCzar))
- Fix ConcurrentModificationException when converting to stream concurrently ([#1158](https://redirect.github.com/asciidoctor/asciidoctorj/issues/1158)) ([@rocketraman](https://redirect.github.com/rocketraman))
- 'UnsupportedOperationException' when passing immutable Map as options to 'createPhraseNode' ([#1221](https://redirect.github.com/asciidoctor/asciidoctorj/issues/1221)) ([@abelsromero](https://redirect.github.com/abelsromero))
**Build Improvement:**
- Upgrade build to Gradle 8.5 ([#1256](https://redirect.github.com/asciidoctor/asciidoctorj/issues/1256))
- Upgrade Spring Boot test to 3.0.0 ([#1134](https://redirect.github.com/asciidoctor/asciidoctorj/issues/1134))
- Fix upstream tests forcing SNAPSHOT on Asciidoctor gem installation ([#1123](https://redirect.github.com/asciidoctor/asciidoctorj/issues/1123)) ([@abelsromero](https://redirect.github.com/abelsromero))
- Fix upstream build removing the explicit plugin repository ([#1131](https://redirect.github.com/asciidoctor/asciidoctorj/issues/1131))
- Set JUnit5 as default test engine ([#1186](https://redirect.github.com/asciidoctor/asciidoctorj/issues/1186)) ([@abelsromero](https://redirect.github.com/abelsromero))
- Removed pollutedTest Gradle task using junit-pioneer ([#1193](https://redirect.github.com/asciidoctor/asciidoctorj/issues/1193)) ([@abelsromero](https://redirect.github.com/abelsromero))
- Ignore 'docs/\*\*' changes in CI ([#1225](https://redirect.github.com/asciidoctor/asciidoctorj/issues/1225)) ([@abelsromero](https://redirect.github.com/abelsromero))
- Add test for ensuring that asciidoctor version is available in CLI ([#1230](https://redirect.github.com/asciidoctor/asciidoctorj/issues/1230)) ([@abelsromero](https://redirect.github.com/abelsromero))
- Run tests on Java 21 ([#1236](https://redirect.github.com/asciidoctor/asciidoctorj/issues/1236)) ([@abelsromero](https://redirect.github.com/abelsromero))
**Documentation:**
- Fix invalid 'http://asciidoctor.org' references in docs and JavaDocs ([#1195](https://redirect.github.com/asciidoctor/asciidoctorj/issues/1195)) ([@abelsromero](https://redirect.github.com/abelsromero))
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
[ ] If you want to rebase/retry this PR, check this box
This PR contains the following updates:
2.5.13
->3.0.0
Release Notes
asciidoctor/asciidoctorj (org.asciidoctor:asciidoctorj)
### [`v3.0.0`](https://redirect.github.com/asciidoctor/asciidoctorj/releases/tag/v3.0.0) [Compare Source](https://redirect.github.com/asciidoctor/asciidoctorj/compare/v2.5.13...v3.0.0) #### Breaking changes **Improvement:** - Fix Macro APIs to take StructuralNodes and return Phrase- or StructuralNodes. ([#1084](https://redirect.github.com/asciidoctor/asciidoctorj/issues/1084)) - Allow Preprocessor extensions to create new Readers and replace the original Reader. ([#1081](https://redirect.github.com/asciidoctor/asciidoctorj/issues/1081)) - Set Java 11 as the minimal version ([#1151](https://redirect.github.com/asciidoctor/asciidoctorj/issues/1151)) ([@abelsromero](https://redirect.github.com/abelsromero)) - Remove deprecated methods in Options, OptionsBuilder, Attributes & AttributesBuilder ([#1199](https://redirect.github.com/asciidoctor/asciidoctorj/issues/1199)) ([@abelsromero](https://redirect.github.com/abelsromero)) - Remove deprecated methods from Asciidoctor interface ([#1201](https://redirect.github.com/asciidoctor/asciidoctorj/issues/1201)) ([@abelsromero](https://redirect.github.com/abelsromero)) - Remove deprecated methods from Document interface ([#1202](https://redirect.github.com/asciidoctor/asciidoctorj/issues/1202)) ([@abelsromero](https://redirect.github.com/abelsromero)) - Remove deprecated methods and constants from extension package ([#1203](https://redirect.github.com/asciidoctor/asciidoctorj/issues/1203)) ([@abelsromero](https://redirect.github.com/abelsromero)) - Remove deprecated methods from ast package ([#1204](https://redirect.github.com/asciidoctor/asciidoctorj/issues/1204)) ([@abelsromero](https://redirect.github.com/abelsromero)) - Add Automatic-Module-Name manifest entry to core, api, and cli for reserving stable JPMS module names ([#1240](https://redirect.github.com/asciidoctor/asciidoctorj/issues/1240)) ([@leadpony](https://redirect.github.com/leadpony)) - Remove Java 'requires open access' module warning in modern Java versions ([#1246](https://redirect.github.com/asciidoctor/asciidoctorj/issues/1246)) - Add Reader.getSource() and Reader.getSourceLines() ([#1262](https://redirect.github.com/asciidoctor/asciidoctorj/issues/1262)) **Bug Fixes:** - \-s CLI option should be changed to -e to align with Asciidoctor ([#1237](https://redirect.github.com/asciidoctor/asciidoctorj/issues/1237)) ([@mojavelinux](https://redirect.github.com/mojavelinux)) - Column#setWidth is ignored ([#1265](https://redirect.github.com/asciidoctor/asciidoctorj/issues/1265)) ([@Vampire](https://redirect.github.com/Vampire)) - Fix unresolvable dependency of JRuby Gradle plugin. ([#1275](https://redirect.github.com/asciidoctor/asciidoctorj/issues/1275)) #### Compatible changes **Improvement:** - Add `setContext` function to StructuralNode. ([#1250](https://redirect.github.com/asciidoctor/asciidoctorj/issues/1250)) ([@RayOffiah](https://redirect.github.com/RayOffiah)) - Add command line option --failure-level to force non-zero exit code from AsciidoctorJ CLI if specified logging level is reached. ([#1114](https://redirect.github.com/asciidoctor/asciidoctorj/issues/1114)) - Upgrade to asciidoctorj 2.0.23 ([#1280](https://redirect.github.com/asciidoctor/asciidoctorj/issues/1280)) - Upgrade to asciidoctorj-pdf 2.3.18 ([#1280](https://redirect.github.com/asciidoctor/asciidoctorj/issues/1280)) - Upgrade to asciidoctorj-revealjs 5.1.0 ([#1256](https://redirect.github.com/asciidoctor/asciidoctorj/issues/1256)) - Upgrade to asciidoctorj-diagram 2.3.1 ([#1280](https://redirect.github.com/asciidoctor/asciidoctorj/issues/1280)) - Upgrade to asciidoctorj-diagram-jsyntrax 1.38.2 ([#1282](https://redirect.github.com/asciidoctor/asciidoctorj/issues/1282)) - Upgrade to JRuby 9.4.8.0 ([#1280](https://redirect.github.com/asciidoctor/asciidoctorj/issues/1280)) - Upgrade to tilt 2.0.11 ([#1109](https://redirect.github.com/asciidoctor/asciidoctorj/issues/1109)) - Upgrade to asciimath 2.0.4 ([#1109](https://redirect.github.com/asciidoctor/asciidoctorj/issues/1109)) - Expose `sectnum` property in Section interface ([#1121](https://redirect.github.com/asciidoctor/asciidoctorj/issues/1121)) - Replace use of deprecated 'numbered' attribute by 'sectnums' ([#1123](https://redirect.github.com/asciidoctor/asciidoctorj/issues/1123)) ([@abelsromero](https://redirect.github.com/abelsromero)) - Expose `source` and `source_lines` use of deprecated 'numbered' in Document interface ([#1145](https://redirect.github.com/asciidoctor/asciidoctorj/issues/1145)) ([@abelsromero](https://redirect.github.com/abelsromero)) - Accept 'null' as valid input (same as empty string) for load and convert String methods ([#1148](https://redirect.github.com/asciidoctor/asciidoctorj/issues/1148)) ([@abelsromero](https://redirect.github.com/abelsromero)) - Create `asciidoctorj-cli` module to prevent unnecessary dependencies to asciidoctorj jar consumers ([#1149](https://redirect.github.com/asciidoctor/asciidoctorj/issues/1149)) - Add required `--add-opens` to cli launch script to remove Jdk warnings ([#1155](https://redirect.github.com/asciidoctor/asciidoctorj/issues/1155)) ([@abelsromero](https://redirect.github.com/abelsromero)) - Rename deprecated `headerFooter` option to the new `standalone` with same functionality ([#1155](https://redirect.github.com/asciidoctor/asciidoctorj/issues/1155)) ([@abelsromero](https://redirect.github.com/abelsromero)) - Remove class `AsciidoctorUtils` to remove complexity and unused logging ([#1169](https://redirect.github.com/asciidoctor/asciidoctorj/issues/1169)) ([@abelsromero](https://redirect.github.com/abelsromero)) - Expose ImageReferences in the catalog ([#1166](https://redirect.github.com/asciidoctor/asciidoctorj/issues/1166)) ([@abelsromero](https://redirect.github.com/abelsromero)) - Return Document AST when using convert or convertFile with appropriate options ([#1171](https://redirect.github.com/asciidoctor/asciidoctorj/issues/1171)) ([@abelsromero](https://redirect.github.com/abelsromero)) - Expose Links in the catalog ([#1183](https://redirect.github.com/asciidoctor/asciidoctorj/issues/1183)) ([@abelsromero](https://redirect.github.com/abelsromero)) **Bug Fixes:** - Cell nodes do not inherit from StructuralNode ([#1086](https://redirect.github.com/asciidoctor/asciidoctorj/issues/1086)) ([@rahmanusta](https://redirect.github.com/rahmanusta)) - Avoid throwing an exception when using AsciidoctorJ CLI and reading input from stdin ([#1105](https://redirect.github.com/asciidoctor/asciidoctorj/issues/1105)) ([@AlexCzar](https://redirect.github.com/AlexCzar)) - Remove destinationDir Option from API (use toDir instead) ([#853](https://redirect.github.com/asciidoctor/asciidoctorj/issues/853), [#941](https://redirect.github.com/asciidoctor/asciidoctorj/issues/941)) ([@abelsromero](https://redirect.github.com/abelsromero)) - Fix CLI target file location for source files relative to source dir ([#1135](https://redirect.github.com/asciidoctor/asciidoctorj/issues/1135)) ([@AlexCzar](https://redirect.github.com/AlexCzar)) - Fix ConcurrentModificationException when converting to stream concurrently ([#1158](https://redirect.github.com/asciidoctor/asciidoctorj/issues/1158)) ([@rocketraman](https://redirect.github.com/rocketraman)) - 'UnsupportedOperationException' when passing immutable Map as options to 'createPhraseNode' ([#1221](https://redirect.github.com/asciidoctor/asciidoctorj/issues/1221)) ([@abelsromero](https://redirect.github.com/abelsromero)) **Build Improvement:** - Upgrade build to Gradle 8.5 ([#1256](https://redirect.github.com/asciidoctor/asciidoctorj/issues/1256)) - Upgrade Spring Boot test to 3.0.0 ([#1134](https://redirect.github.com/asciidoctor/asciidoctorj/issues/1134)) - Fix upstream tests forcing SNAPSHOT on Asciidoctor gem installation ([#1123](https://redirect.github.com/asciidoctor/asciidoctorj/issues/1123)) ([@abelsromero](https://redirect.github.com/abelsromero)) - Fix upstream build removing the explicit plugin repository ([#1131](https://redirect.github.com/asciidoctor/asciidoctorj/issues/1131)) - Set JUnit5 as default test engine ([#1186](https://redirect.github.com/asciidoctor/asciidoctorj/issues/1186)) ([@abelsromero](https://redirect.github.com/abelsromero)) - Removed pollutedTest Gradle task using junit-pioneer ([#1193](https://redirect.github.com/asciidoctor/asciidoctorj/issues/1193)) ([@abelsromero](https://redirect.github.com/abelsromero)) - Ignore 'docs/\*\*' changes in CI ([#1225](https://redirect.github.com/asciidoctor/asciidoctorj/issues/1225)) ([@abelsromero](https://redirect.github.com/abelsromero)) - Add test for ensuring that asciidoctor version is available in CLI ([#1230](https://redirect.github.com/asciidoctor/asciidoctorj/issues/1230)) ([@abelsromero](https://redirect.github.com/abelsromero)) - Run tests on Java 21 ([#1236](https://redirect.github.com/asciidoctor/asciidoctorj/issues/1236)) ([@abelsromero](https://redirect.github.com/abelsromero)) **Documentation:** - Fix invalid 'http://asciidoctor.org' references in docs and JavaDocs ([#1195](https://redirect.github.com/asciidoctor/asciidoctorj/issues/1195)) ([@abelsromero](https://redirect.github.com/abelsromero))Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.