Skip to content

Commit

Permalink
add ref to moved statics for compatibility
Browse files Browse the repository at this point in the history
  • Loading branch information
vsch committed Apr 10, 2020
1 parent 4c2befc commit 079026c
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 0 deletions.
4 changes: 4 additions & 0 deletions VERSION-TODO.md
Original file line number Diff line number Diff line change
Expand Up @@ -228,6 +228,10 @@ Please give feedback on the upcoming changes if you have concerns about breaking
unescape the text. **This is needed to properly handle anchor escaping.**
* Fix: `PegdownOptionsAdapter` to set `WikiLinkExtension.ALLOW_ANCHORS` to `true` for pegdown
compatibility
* Fix: deprecate `CoreNodeFormatter.ATTRIBUTE_UNIQUIFICATION_ID_MAP` and move declaration to
`Formatter.ATTRIBUTE_UNIQUIFICATION_ID_MAP`
* Fix: deprecate `CoreNodeFormatter.UNIQUIFICATION_ID_MAP` and move declaration to
`Formatter.UNIQUIFICATION_ID_MAP`
* Fix: wiki links should not be wrapped during formatting.
* Add: WikiLink formatter extension and tests
* Add: WikiLink translating formatter functionality and tests
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,19 @@

@SuppressWarnings("WeakerAccess")
public class CoreNodeFormatter extends NodeRepositoryFormatter<ReferenceRepository, Reference, RefNode> {
/**
* 2020-04-10
* @deprecated use {@link Formatter#UNIQUIFICATION_MAP}
*/
@Deprecated
final public static DataKey<Map<String, String>> UNIQUIFICATION_MAP = Formatter.UNIQUIFICATION_MAP;
/**
* 2020-04-10
* @deprecated use {@link Formatter#ATTRIBUTE_UNIQUIFICATION_ID_MAP}
*/
@Deprecated
final public static DataKey<Map<String, String>> ATTRIBUTE_UNIQUIFICATION_ID_MAP = Formatter.ATTRIBUTE_UNIQUIFICATION_ID_MAP;

public static class Factory implements NodeFormatterFactory {
@NotNull
@Override
Expand Down

0 comments on commit 079026c

Please sign in to comment.