Any versions that are not listed here should be avoided. They may be broken images, contain serious known-broken behavior, accidentally introduce an incompatible change in a point release, or contain a known security issue.
For brevity, only the latest patch version will be listed for each minor release version. For example, the entry for 0.48.5 includes any changes that may have previously been released under 0.48.2.
LinkParser.PRESERVE_ATTACHMENT_NAME_WHITESPACE feature flag keeps leading and trailing whitespace in the attachment name of a [^filename] wiki link. By default the name is still trimmed, as in 2.12.0, so [^ report.png] looks up media for report.png. With the flag enabled, it looks up report.png, which matches an attachment whose stored filename has that whitespace. The trimmed name is still used when it resolves to media in the conversion context and the name as written does not.inlineCards setting, jsoup security fixABJL-28: New PlainTextConfig.inlineCards setting chooses how an inlineCard renders in plain text:
URL, the default: its URL, as in 2.11.0TYPED_ISSUE_KEY_OR_URL: the issue key of a card made from an issue key typed as text, such as ABC-123, and the URL of any other card, including a pasted link to an issue. Jira marks the URL of a card made from a typed key with #icft=KEY.The adf-cli text mode has a matching -text-inline-cards option.
ABJL-28: PlainTextConfig.detailedText() now uses InlineCardStyle.TYPED_ISSUE_KEY_OR_URL, so that an issue key typed as text reads as it was typed, such as See ABC-123, where 2.11.0 rendered See https://example.atlassian.net/browse/ABC-123#icft=ABC-123. Every other inline card still renders as its URL, and defaults() is unchanged.
VULN-2460242: Upgrade jsoup, which adf-builder-java-html uses, from 1.16.2 to 1.23.2 to fix CVE-2026-75140.
Feature.PARSE_REPAIR_DOC_VERSION repairs a doc node whose version is missing or is not a number by parsing it as "version": 1. A numeric version that is not supported, such as 2, is still rejected.Feature.PARSE_REPAIR_MENTION_ID repairs a mention node whose id is missing or is not a string by parsing it with "id": "unknown", which is the placeholder that Jira uses for a user it cannot resolve. The node keeps its other attributes, such as text, so its plain text and its position in the document are unchanged.Feature.PARSE_REPAIR_EMPTY_ATTRS_LIST treats an attrs value that is an empty JSON array ([]) as if the node or mark had no attributes.Feature.PARSE_REPAIR_MEDIA_ID repairs a file or link media node whose id is missing, empty, or not a string by using "unknown".Feature.PARSE_REPAIR_MEDIA_URL repairs an external media node whose url is missing or not a string by using "".Feature.PARSE_REPAIR_ROWSPAN treats a zero or negative rowspan on a table cell as absent, matching how a non-positive colspan is already handled.Feature.PARSE_REPAIR_INVALID_MARKS silently discards marks that cannot be parsed or are not allowed where they appear, such as a link mark on a paragraph, an unsupportedNodeAttribute mark, a textColor mark whose color is not a string, or formatting marks on text inside a codeBlock.Feature.PARSE_REPAIR_EMPTY_TEXT, all of these features are enabled by default whenever Feature.PARSE_ENABLE_REPAIRS is enabled, and any one of them can be disabled on its own. With repairs disabled, these inputs are still rejected as before.WikiTextWikiMarkupTransformer.wikiText(doc) returns a new experimental WikiText. This can be used to check whether the wiki markup is empty or blank, whether it contains a value, and what its first characters are.CardStyle.URL_OR_PLACEHOLDER, rules and emptyBlocks settingsABJL-23: New CardStyle.URL_OR_PLACEHOLDER renders a card's URL as CardStyle.URL does, and [blockCard] for a blockCard with no URL, where URL renders nothing. detailedText() now uses it, and renders a node the library cannot parse as its node type, such as [someNewNode], where 2.9.1 left it out, so that content a reader sees is never blank text.
ABJL-23: New PlainTextConfig.rules setting chooses how a rule renders in plain text:
OMIT, the default: nothing, as in 2.9.1DASHES: ----The adf-cli text mode has a matching -text-rules option.
ABJL-23: New PlainTextConfig.emptyBlocks setting chooses how a codeBlock, panel, expand or nestedExpand renders when it has no text. A block with text renders it whatever the setting.
OMIT_IF_BLANK, the default: nothing, as in 2.9.1PLACEHOLDER_IF_BLANK: its node type, such as [codeBlock], [panel] or [expand]The adf-cli text mode has a matching -text-empty-blocks option.
ABJL-23: PlainTextConfig.detailedText() now uses RuleStyle.DASHES and EmptyBlockStyle.PLACEHOLDER_IF_BLANK, so that a document holding only a rule or an empty block is not blank text.
mediaGroups settingABJL-21: New PlainTextConfig.mediaGroups setting chooses how a mediaGroup renders in plain text:
FOLLOW_MEDIA, the default: as in 2.9.0, a count under MediaStyle.PLACEHOLDER and the items under the other media stylesCOUNT: 📎 2 FilesITEMS: [media], [media]COUNT_AND_ITEMS: 📎 2 Files: [media], [media]The adf-cli text mode has a matching -text-media-groups option.
ABJL-21: With LinkStyle.TEXT_AND_URL, a mediaGroup count no longer has its files' link URLs after it. Listed items still show their own URLs.
ABJL-21: PlainTextConfig.detailedText() now renders a mediaGroup as COUNT_AND_ITEMS, such as 📎 2 Files: [file-id], [other-id], where 2.9.0 listed only the items.
PlainTextTransformer; Node.toPlainText() deprecatedPlainTextTransformer in the core library converts ADF to plain text as directed by a reusable PlainTextConfig, and replaces Node.toPlainText(), which is now deprecated. Its defaults give the same output as toPlainText() with no features enabled, and the deprecated Feature.PLAINTEXT_MENTION_USE_ID and Feature.ENABLE_BLOCK_EMBED_CARD_URLS_PLAINTEXT are replaced by the MentionStyle.ID_WHEN_NAMELESS and CardStyle.URL settings. toPlainText() and both features will be removed in the next major release.PlainTextConfig also chooses which blank lines are kept, whether expands show their title, whether nested lists are indented, and how unsupported nodes and sync blocks render, and has more styles for mentions, media, extensions, cards, and blockquotes. PlainTextConfig.detailedText() gives settings for the document's text with its details, such as expand titles, extension bodies under a label of their type and key like [inlineExtension:jira], and the alt text and ID of media.PlainTextTransformer.plainText(node) returns a PlainText, which answers whether the text is empty or blank, whether it contains a value, and what its first characters are, by rendering only as much of the node as each question needs. Its truncate never cuts a character such as an emoji or a letter with its accent in the middle.adf-cli text mode now uses PlainTextTransformer, with an option for each PlainTextConfig setting, such as -text-mentions, -text-media, and -text-blank-lines, and -text-detailed to start from the detailedText() settings. Without options, its output is unchanged.2.9.0 Upgrade Notesnode.toPlainText() with new PlainTextTransformer().toPlainText(node). Transformers are immutable, so one instance can be shared.PlainTextTransformer ignores the plain-text features, including when they are enabled through Context.GlobalDefaultFeatureProvider. Callers that enable either of them should set the matching configuration instead:1 2 3 4 5 6PlainTextConfig config = PlainTextConfig.builder() .mentions(MentionStyle.ID_WHEN_NAMELESS) // was Feature.PLAINTEXT_MENTION_USE_ID .cards(CardStyle.URL) // was Feature.ENABLE_BLOCK_EMBED_CARD_URLS_PLAINTEXT .build(); String text = new PlainTextTransformer(config).toPlainText(doc);
ListParser.PARSE_TABLES_IN_LIST_ITEMS and Feature.CONVERT_TABLE_CELL_VALIGN deprecated / now forced onListParser.PARSE_TABLES_IN_LIST_ITEMS wiki parser feature flag has completed its rollout. It is now deprecated, has no effect, and will be removed in a future major release. Table markup (|...|) inside a list item is always parsed as a table node. ADF does not permit a table directly inside a list item, so the table "bubbles up" out of the enclosing list item and the list is split around it.Feature.CONVERT_TABLE_CELL_VALIGN feature has completed its rollout. It is now deprecated, has no effect, and will be removed in a future major release. HTML to ADF conversion always emits the valign attribute on tableCell and tableHeader nodes when the source element specifies a vertical alignment, via either the valign attribute or (with the enhanced parser) the vertical-align CSS style.2.8.5 Upgrade Notesadf-builder-java-wiki to convert from Wiki to ADF should have rolled out ListParser.PARSE_TABLES_IN_LIST_ITEMS before upgrading to this version. As of 2.8.5, the feature flag has no effect and table parsing within list items is always enabled. Callers may safely stop supplying a value for it from their FeatureFlagProvider.adf-builder-java-html to convert from HTML to ADF will now receive valign attributes on tableCell and tableHeader nodes unconditionally. As of 2.8.5, Feature.CONVERT_TABLE_CELL_VALIGN has no effect and callers may safely remove any Context.withFeature(CONVERT_TABLE_CELL_VALIGN) wrappers.status.color hex support in full schemastatus.attrs.color now accepts a 6-digit # hexadecimal identifier in the full schema, promoted from stage-0 (ADF Change 110, EDITOR-8919). Status, Status.Color, and colorValue() already accepted this value. Only schema validation for the full schema changed.adf-cli html2adf options: -enhanced, -strip-whitespace, -attachmentshtml2adf CLI mode now exposes configuration options for the HTML parser:
-enhanced — activates the enhanced HTML parser (v2), which supports tables, images, CSS styles, cid: attachments, and more. Equivalent to calling HtmlParser.useEnhancedParser().-strip-whitespace — strips redundant empty paragraphs from the output (only effective with -enhanced). Equivalent to calling HtmlParser.stripRedundantWhitespace(true).-attachments <file> — path to a JSON file containing a list of attachments available via cid: URLs (only effective with -enhanced). Equivalent to calling HtmlParser.attachments(...). Each entry must supply contentId, contentType, fileName, and mediaId; collectionId (default "") and isDuplicate (default false) are optional.bodiedRule, rule attrs; status.color as hex string; Markdown round-trip fixesbodiedRule node — a horizontal rule with an optional label (paragraph or heading child, no marks). Supported in Confluence; not yet rolled out to Jira.rule: color (hex string), style (solid | dashed | dotted | sketch | fade), and weight (1–3).status.attrs.color accepts the six legacy names or a 6-digit # hexadecimal identifier (stage-0). Existing Status.Color factories are unchanged. Status.color() is deprecated; use colorValue() for the wire value. Wiki encodes named colors with the previous map and paints hex identifiers as {color:} text.MarkdownInlineEncoder: encode underline() as ++text++ (InsExtension delimiter syntax) instead of <u>text</u> (raw HTML that the parser could not round-trip). Underline is now a full round-trip: ADF → Markdown → ADF.MarkdownParser: register TaskListItemsExtension so GFM task list syntax (- [ ] item / - [x] item) is parsed into ADF taskList/taskItem nodes. Previously these came back as plain bulletList with literal checkbox text.TaskItem: new isDone() convenience method (equivalent to state() == State.DONE).MarkdownEncoder: ADF-to-Markdown encoderAdds MarkdownEncoder to the adf-builder-java-markdown module — the inverse of the existing
MarkdownParser. It converts an ADF Doc to a Markdown string with full support for all standard
block and inline nodes, graceful degradation for ADF-specific nodes that have no Markdown
equivalent (panels, expands, layout sections, extensions, cards), and proper escaping of
inline-structural Markdown characters in plain text.
The adf-cli tool has a new adf2markdown mode to exercise this encoder from the command line.
Key behaviours:
mediaSingle caption is rendered as image alt textextension (block) and inlineExtension emit their extensionKey as a plain-text placeholdermultiBodiedExtension flattens all frame body content in order\, `, *, _, [, ]) are escaped in plain text nodes|) are escaped in table cell contentvalign, breakout mark on panel/rule, wiki table in list parsing, DOCX security fixvalign on table cells/headersbreakout mark on rule and panel nodesListParser.PARSE_TABLES_IN_LIST_ITEMS to parse tables within list item. ADF still doesn't allow this, so they break up the containing list, but at least this permits the table to still parse rather than be treated as literal text...) segments in image paths.Feature.ALLOW_NESTED_LISTS_AS_FIRST_CHILD deprecated / now forced onListBuilder.ALLOW_NESTED_LIST_AS_FIRST_ITEM to remove the extra blank paragraph insertion during Wiki-to-ADF conversionscodeBlock attrs available in full schema2.5.x Upgrade Notesadf-builder-java-wiki to convert from Wiki to ADF should have rolled out ListBuilder.ALLOW_NESTED_LIST_AS_FIRST_ITEM before upgrading to this version. As of 2.5.0, the feature flag has no effect and the nested list behaviour is always enabled.HtmlParser, currently opt-in with .useEnhancedParser()2.4.x Upgrade NotesHtmlParser.useEnhancedParser() feature guard will likely only remain active for a short time. Consumers of adf-builder-java-html are advised to upgrade to this version and perform a safe rollout of this feature before a future version makes the flag a no-op.blockCard and embedCard in plaintext (feature-gated)Context.GlobalDefaultFeatureProviderFeature gate, but promoted to full schemaparagraph with fontSize markicon() and icon(Emoji) methodsFeature.ALLOW_NESTED_LISTS_AS_FIRST_CHILD, fontSizefontSize mark for paragraphsdataConsumer on media and mediaInline nodes2.1.x Upgrade Notes — IMPORTANT!!!Feature.ALLOW_NESTED_LISTS_AS_FIRST_CHILD **is a significant change to the library behaviour. **Consumers of this library are strongly advised to perform a safe rollout of this feature immediately to ensure interoperability with other systems and before upgrading to 2.5.x or later.[ text|url] invalid wiki generation2.0.x Upgrade Notes@Deprecated methods:
com.atlassian.adf.model.Schema.url() – Leaked internal detail; no replacementcom.atlassian.adf.model.Schema.inputStream() – Leaked internal detail; no replacementcom.atlassian.adf.model.node.LayoutSection.Partial.NeedsSecondColumn – A single column is now sufficient, so this incomplete builder state no longer existscom.atlassian.adf.model.node.type.Marked.mark(String) – Use marks(Class) or mark(MarkKey) insteadcom.atlassian.adf.util.Sanitizer.sanitize(Doc) – Removed to reduce any possible confusion about its behavior. Use sanitizeMutate(Doc) insteadcom.atlassian.adf.schema.SchemaValidator.getInstance() – Use full() or stage0() explicitlycom.atlassian.adf.schema.SchemaValidator.useExperimentalValidator() – No replacement, as it had no effect in 1.x anyway.com.atlassian.adf.wiki.encoder.nodes.TableEncoder.PROTECT_HARD_BREAKS – No replacement, as this feature is fully releasedlink type value for media and mediaInline will be retained indefinitely to support backward-compatibility of the schemacom.atlassian.adf.model.node.LayoutSection.Partial.NeedsFirstColumn.content(LayoutColumn) – Return type is now LayoutColumn as part of removing the NeedsSecondColumn state, which will break binary-compatibility but not source-compatibility.Object to Serializable, which is unlikely to affect consumers.syncBlock, bodiedSyncBlocksyncBlock and bodiedSyncBlock added to full schemaBodiedSyncBlock node typebodiedSyncBlock nodesContentNode.contentWithMarkValidation(Iterable) (1.10.10)SyncBlock node typesyncBlock nodeswidthType in wiki; columnRuleStyle; PARSE_REPAIR_EMPTY_TEXT; docxUnsupportedOperationException introduced in 1.8.2mediaSingle.widthTypelayoutSection.columnRuleStyle, which should have been included in 1.5.0, but was accidentally overlooked.localId attributes, blockTaskItemlocalId attributes to most nodes and new blockTaskItemmultiBodiedExtension’s marks section in the stage-0 schemaextension within blockquote, listItem, nestedExpand, and panelcodeBlock – revert including attrs even when emptyparagraph – revert including content even when empty@[id] instead of @unknownFeature.PLAINTEXT_MENTION_USE_IDmultiBodiedExtension, extensionFramedate, emoji, mention, and status can now accept annotationcopy()1.5.x Upgrade NotesGoing forward, the core library is going to start tracking the stage-0 schema instead of the full schema. In practice, this means that it may be possible to build documents with the library that will pass validation for the stage-0 schema but will be rejected by the full schema. Generally, Confluence supports the stage-0 schema while Jira only supports the full schema, so this should be kept in mind.
At the time of this release, the only stage-0 feature that impacts Jira is placing a blockquote inside a panel. While the library now supports this nesting, Jira will not accept that structure until it is available in the full schema.
1.0.x Upgrade NotesThere are no functional changes between 0.52.2 and 1.0.0. As per Semantic Versioning, the bump from 0.x.x to 1.0.0 indicates that the library has moved from the initial development phase to the public API phase, and it is a formal commitment to maintain API stability going forward.
PanelMacroParser.ALLOW_NEW_CONTENTtext mode for adf-clicaption and headingexpand and nestedExpandmention.text; ignore embedCard and blockCard completelyTableEncoder.PROTECT_HARD_BREAKS)replaceContent(content())annotation.id to "" when parsingexpand with nestedExpandblockquote with codeBlock, mediaGroup, mediaSingle0.45.x Upgrade NotesuseExperimentalValidator() no longer has any effect and will be removed in the future0.39.x Upgrade NotesResult object is not changed, the actual string contents of its message will look very different from before. This is likely to change again in the future and should not be considered an API.Colors has a few methods renamed in ways that are not backwards-compatible. In particular, isHex is now isHex3or6 to clarify that the hex8 format (with an alpha channel) is not tolerated by that method. With apologies to anyone affected, this change seemed worth the risk.SkeletonlocalId inconsistenciescodeBlock in nestedExpandwiki-cli tool to adf-cliautoannotation and fragmentmediaInline nodes with type of imageBlockquoteContent interfacefoo{*}bar* meaning foobar.Result.orThrow() returns this now.< as %3C during URL escapingmediaSingle by defaulting to CENTERmedia nodes{code:}blockCard with datasource typevalidatecontent instead of omitting it entirely#ccc/ is appended
to URLs that have an empty pathInternalMediaNode interface common to media and mediaInlinemedia nodes with type set to link are deprecatedmailto: prefix during text fallbackmediaInlinemediaSingle with widthTypetable with fragment mark and/or width attrtableCell and tableHeader write empty attrs map by defaulttext and accessLevel attrs in mention by defaultmediaSingle (transformDescendants, etc.)table with localId1.0 instead of the usual 1orderedList to order of 1 by defaultcodeBlock write empty attrs map by defaultmedia with border markArrayIndexOutOfBoundsException when converting wiki to mediaGroup* paragraphsmediaSingle to be [media]mediaGroupmarkClass() and more mark factories.collection("") on a media node.WikiMarkupTransformer from old packageWikiMarkupTransformer to better package (and deprecate old location)mediaSingle node to use integer value for widthextension should be allowed as NonNestableBlockContentmediaSingle should be allowed in tableCell and tableHeadermention node's accessLevel attr to be any string instead
of requiring it to match enum, because the real editor often uses
"" for it.media (methods weren't public)Rate this page: