-
Notifications
You must be signed in to change notification settings - Fork 172
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
v3 migration guide for 'extension' removed methods
Fixes #1203
- Loading branch information
1 parent
64eea8a
commit a560ad4
Showing
4 changed files
with
65 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
38 changes: 38 additions & 0 deletions
38
.../modules/guides/partials/removal-of-deprecated-constants-in-BlockProcessor.adoc
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
== Removal of deprecated constants from `org.asciidoctor.extension.BlockProcessor` | ||
|
||
All constants in `org.asciidoctor.extension.BlockProcessor` class that were marked as `@Deprecated` have been removed. | ||
|
||
You can find the new values in `org.asciidoctor.extension.Contexts` interface. | ||
See the table below for the equivalencies. | ||
|
||
|=== | ||
|Deprecated value |Contexts value | ||
|
||
|CONTEXTS | ||
|KEY | ||
|
||
|CONTEXT_OPEN | ||
|OPEN | ||
|
||
|CONTEXT_EXAMPLE | ||
|EXAMPLE | ||
|
||
|CONTEXT_SIDEBAR | ||
|SIDEBAR | ||
|
||
|CONTEXT_LITERAL | ||
|LITERAL | ||
|
||
|CONTEXT_LISTING | ||
|LISTING | ||
|
||
|CONTEXT_QUOTE | ||
|QUOTE | ||
|
||
|CONTEXT_PASS | ||
|PASS | ||
|
||
|CONTEXT_PARAGRAPH | ||
|PARAGRAPH | ||
|
||
|=== |
20 changes: 20 additions & 0 deletions
20
...modules/guides/partials/removal-of-deprecated-methods-in-extension-package.adoc
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
== Removal of deprecated methods in `org.asciidoctor.extension` package | ||
|
||
Several methods under `org.asciidoctor.extension that were marked as `@Deprecated` have been removed. | ||
The new methods align better with Java naming patterns and are easily identifiable. | ||
|
||
[,java] | ||
.Removed deprecated methods | ||
---- | ||
PreprocessorReader::push_include | ||
Reader::getLineno | ||
Reader::lines | ||
---- | ||
|
||
[,java] | ||
.Final methods | ||
---- | ||
PreprocessorReader::pushInclude | ||
Reader::getLineNumber | ||
Reader::getLines | ||
---- |