Skip to content

Commit

Permalink
Prepare to release 2.6.0
Browse files Browse the repository at this point in the history
  • Loading branch information
colinodell committed Dec 7, 2024
1 parent 2f1e520 commit d150f91
Show file tree
Hide file tree
Showing 76 changed files with 58 additions and 78 deletions.
5 changes: 4 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ Updates should follow the [Keep a CHANGELOG](https://keepachangelog.com/) princi

## [Unreleased][unreleased]

## [2.6.0] - 2024-12-07

This is a **security release** to address potential denial of service attacks when parsing specially crafted,
malicious input from untrusted sources (like user input).

Expand Down Expand Up @@ -675,7 +677,8 @@ No changes were introduced since the previous release.
- Alternative 1: Use `CommonMarkConverter` or `GithubFlavoredMarkdownConverter` if you don't need to customize the environment
- Alternative 2: Instantiate a new `Environment` and add the necessary extensions yourself

[unreleased]: https://github.com/thephpleague/commonmark/compare/2.5.3...main
[unreleased]: https://github.com/thephpleague/commonmark/compare/2.6.0...main
[2.6.0]: https://github.com/thephpleague/commonmark/compare/2.5.3...2.6.0
[2.5.3]: https://github.com/thephpleague/commonmark/compare/2.5.2...2.5.3
[2.5.2]: https://github.com/thephpleague/commonmark/compare/2.5.1...2.5.2
[2.5.1]: https://github.com/thephpleague/commonmark/compare/2.5.0...2.5.1
Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@
},
"extra": {
"branch-alias": {
"dev-main": "2.6-dev"
"dev-main": "2.7-dev"
}
},
"config": {
Expand Down
1 change: 0 additions & 1 deletion docs/2.4/basic-usage.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
layout: default
title: Basic Usage
description: Basic usage of the CommonMark parser
redirect_from: /basic-usage/
---

# Basic Usage
Expand Down
1 change: 0 additions & 1 deletion docs/2.4/changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
layout: default
title: Changelog
description: Important changes made in recent releases
redirect_from: /changelog/
---

# Changelog
Expand Down
1 change: 0 additions & 1 deletion docs/2.4/configuration.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
---
layout: default
title: Configuration
redirect_from: /configuration/
---

# Configuration
Expand Down
1 change: 0 additions & 1 deletion docs/2.4/customization/abstract-syntax-tree.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
layout: default
title: Abstract Syntax Tree
description: Using the Abstract Syntax Tree (AST) to manipulate the parsed content
redirect_from: /customization/abstract-syntax-tree/
---

# Abstract Syntax Tree
Expand Down
1 change: 0 additions & 1 deletion docs/2.4/customization/block-parsing.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
layout: default
title: Block Parsing
description: How to parse block-level elements
redirect_from: /customization/block-parsing/
---

# Block Parsing
Expand Down
1 change: 0 additions & 1 deletion docs/2.4/customization/configuration.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
layout: default
title: Configuration
description: Defining configuration schemas and accessing user-provided configuration options within your custom extensions
redirect_from: /customization/configuration/
---

# Configuration Schemas and Values
Expand Down
1 change: 0 additions & 1 deletion docs/2.4/customization/cursor.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
layout: default
title: Cursor
description: Using the Cursor object to parse Markdown content
redirect_from: /customization/cursor/
---

# Cursor
Expand Down
1 change: 0 additions & 1 deletion docs/2.4/customization/delimiter-processing.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
layout: default
title: Delimiter Processing
description: Processing CommonMark delimiter runs with a custom processor
redirect_from: /customization/delimiter-processing/
---

# Delimiter Processing
Expand Down
1 change: 0 additions & 1 deletion docs/2.4/customization/environment.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
layout: default
title: The Environment
description: Configuring the CommonMark environment with custom options and added functionality
redirect_from: /customization/environment/
---

# The Environment
Expand Down
1 change: 0 additions & 1 deletion docs/2.4/customization/extensions.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
layout: default
title: Extensions
description: Creating custom extensions to add new syntax and other custom functionality
redirect_from: /customization/extensions/
---

# Extensions
Expand Down
1 change: 0 additions & 1 deletion docs/2.4/customization/inline-parsing.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
layout: default
title: Inline Parsing
description: Parsing inline elements with a custom parser
redirect_from: /customization/inline-parsing/
---

# Inline Parsing
Expand Down
1 change: 0 additions & 1 deletion docs/2.4/customization/slug-normalizer.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
layout: default
title: Slug Normalizer
description: Using the Slug Normalizer to produce unique, URL-safe text strings
redirect_from: /customization/slug-normalizer/
---

# Slug Normalizer
Expand Down
1 change: 0 additions & 1 deletion docs/2.4/extensions/attributes.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
layout: default
title: Attributes Extension
description: The AttributesExtension allows HTML attributes to be added from within the document.
redirect_from: /extensions/attributes/
---

# Attributes
Expand Down
1 change: 0 additions & 1 deletion docs/2.4/extensions/autolinks.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
layout: default
title: Autolink Extension
description: The Autolink extension automatically converts URLs in plain text to clickable links
redirect_from: /extensions/autolinks/
---

# Autolink Extension
Expand Down
1 change: 0 additions & 1 deletion docs/2.4/extensions/commonmark.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
layout: default
title: CommonMark Core Extension
description: The CommonMarkCoreExtension class includes all core Markdown syntax
redirect_from: /extensions/commonmark/
---

# CommonMark Core Extension
Expand Down
1 change: 0 additions & 1 deletion docs/2.4/extensions/default-attributes.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
layout: default
title: Default Attributes Extension
description: The DefaultAttributesExtension allows you to apply default HTML classes and other attributes using configuration options.
redirect_from: /extensions/default-attributes/
---

# Default Attributes
Expand Down
1 change: 0 additions & 1 deletion docs/2.4/extensions/description-lists.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
layout: default
title: Description List Extension
description: The Description List extension adds support for Markdown Extra-style <dl> lists
redirect_from: /extensions/description-lists/
---

# Description List Extension
Expand Down
1 change: 0 additions & 1 deletion docs/2.4/extensions/disallowed-raw-html.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
layout: default
title: Disallowed Raw HTML Extension
description: The DisallowedRawHtmlExtension automatically escapes certain HTML tags when rendering raw HTML
redirect_from: /extensions/disallowed-raw-html/
---

# Disallowed Raw HTML Extension
Expand Down
1 change: 0 additions & 1 deletion docs/2.4/extensions/embed.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
layout: default
title: Embed Extension
description: The EmbedExtension supports embedding rich content from other websites.
redirect_from: /extensions/embed/
---

# Embed Extension
Expand Down
1 change: 0 additions & 1 deletion docs/2.4/extensions/external-links.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
layout: default
title: External Links Extension
description: The ExternalLinksExtension detects external links and adjusts their HTML markup
redirect_from: /extensions/external-links/
---

# External Links Extension
Expand Down
1 change: 0 additions & 1 deletion docs/2.4/extensions/footnotes.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
layout: default
title: Footnote Extension
description: The FootnoteExtension adds the ability to create footnotes in Markdown documents.
redirect_from: /extensions/footnotes/
---

# Footnotes
Expand Down
1 change: 0 additions & 1 deletion docs/2.4/extensions/front-matter.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
layout: default
title: Front Matter Extension
description: The Front Matter extension automatically parses YAML front matter from your Markdown.
redirect_from: /extensions/front-matter/
---

# Front Matter Extension
Expand Down
1 change: 0 additions & 1 deletion docs/2.4/extensions/github-flavored-markdown.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
layout: default
title: GitHub-Flavored Markdown
description: The GithubFlavoredMarkdownExtension class includes all the GFM addons
redirect_from: /extensions/github-flavored-markdown/
---

# GitHub-Flavored Markdown
Expand Down
1 change: 0 additions & 1 deletion docs/2.4/extensions/heading-permalinks.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
layout: default
title: Heading Permalink Extension
description: The HeadingPermalinkExtension makes all header elements linkable
redirect_from: /extensions/heading-permalinks/
---

# Heading Permalink Extension
Expand Down
1 change: 0 additions & 1 deletion docs/2.4/extensions/inlines-only.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
layout: default
title: Inlines Only Extension
description: The InlinesOnlyExtension only enables parsing of inline elements
redirect_from: /extensions/inlines-only/
---

# Inlines Only Extension
Expand Down
1 change: 0 additions & 1 deletion docs/2.4/extensions/mentions.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
layout: default
title: Mention Parser
description: The MentionParser makes it easy to parse shortened references like @colinodell and #123 to custom URLs
redirect_from: /extensions/mentions/
---

# Mention Extension
Expand Down
1 change: 0 additions & 1 deletion docs/2.4/extensions/smart-punctuation.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
layout: default
title: Smart Punctuation Extension
description: The SmartPunctExtension intelligently converts ASCII quotes, dashes, and ellipses to their Unicode equivalents
redirect_from: /extensions/smart-punctuation/
---

# Smart Punctuation Extension
Expand Down
1 change: 0 additions & 1 deletion docs/2.4/extensions/strikethrough.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
layout: default
title: Strikethrough Extension
description: The StrikethroughExtension intelligently converts ASCII quotes, dashes, and ellipses to their Unicode equivalents
redirect_from: /extensions/strikethrough/
---

# Strikethrough Extension
Expand Down
1 change: 0 additions & 1 deletion docs/2.4/extensions/table-of-contents.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
layout: default
title: Table of Contents Extension
description: The Table of Contents extension automatically inserts links to the headings in your document.
redirect_from: /extensions/table-of-contents/
---

# Table of Contents Extension
Expand Down
1 change: 0 additions & 1 deletion docs/2.4/extensions/tables.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
layout: default
title: Table Extension
description: The TableExtension adds the ability to create tables in CommonMark documents
redirect_from: /extensions/tables/
---

# Table Extension
Expand Down
1 change: 0 additions & 1 deletion docs/2.4/extensions/task-lists.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
layout: default
title: Task List Extension
description: The TaskListExtension adds support for GFM-style task lists
redirect_from: /extensions/task-lists/
---

# Task List Extension
Expand Down
1 change: 0 additions & 1 deletion docs/2.4/installation.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
layout: default
title: Installation
description: Instructions on how to install the league/commonmark library
redirect_from: /installation/
---

# Installation
Expand Down
1 change: 0 additions & 1 deletion docs/2.4/security.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
layout: default
title: Security
description: How to configure league/commonmark against possible security issues when handling untrusted user input
redirect_from: /security/
---

# Security
Expand Down
1 change: 0 additions & 1 deletion docs/2.4/support.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
layout: default
title: Support
description: Get help with the league/commonmark library
redirect_from: /support/
---

# Support
Expand Down
1 change: 0 additions & 1 deletion docs/2.4/upgrading.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
layout: default
title: Upgrading from 2.3 to 2.4
description: Guide to upgrading to newer versions of this library
redirect_from: /upgrading/
---

# Upgrading from 2.3 to 2.4
Expand Down
1 change: 0 additions & 1 deletion docs/2.4/xml.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
layout: default
title: XML Rendering
description: Rendering Markdown documents in XML
redirect_from: /xml/
---

# XML Rendering
Expand Down
1 change: 0 additions & 1 deletion docs/2.5/basic-usage.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
layout: default
title: Basic Usage
description: Basic usage of the CommonMark parser
redirect_from: /basic-usage/
---

# Basic Usage
Expand Down
1 change: 0 additions & 1 deletion docs/2.5/changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
layout: default
title: Changelog
description: Important changes made in recent releases
redirect_from: /changelog/
---

# Changelog
Expand Down
1 change: 0 additions & 1 deletion docs/2.5/configuration.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
---
layout: default
title: Configuration
redirect_from: /configuration/
---

# Configuration
Expand Down
1 change: 0 additions & 1 deletion docs/2.5/customization/abstract-syntax-tree.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
layout: default
title: Abstract Syntax Tree
description: Using the Abstract Syntax Tree (AST) to manipulate the parsed content
redirect_from: /customization/abstract-syntax-tree/
---

# Abstract Syntax Tree
Expand Down
1 change: 0 additions & 1 deletion docs/2.5/customization/block-parsing.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
layout: default
title: Block Parsing
description: How to parse block-level elements
redirect_from: /customization/block-parsing/
---

# Block Parsing
Expand Down
1 change: 0 additions & 1 deletion docs/2.5/customization/configuration.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
layout: default
title: Configuration
description: Defining configuration schemas and accessing user-provided configuration options within your custom extensions
redirect_from: /customization/configuration/
---

# Configuration Schemas and Values
Expand Down
1 change: 0 additions & 1 deletion docs/2.5/customization/cursor.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
layout: default
title: Cursor
description: Using the Cursor object to parse Markdown content
redirect_from: /customization/cursor/
---

# Cursor
Expand Down
1 change: 0 additions & 1 deletion docs/2.5/customization/delimiter-processing.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
layout: default
title: Delimiter Processing
description: Processing CommonMark delimiter runs with a custom processor
redirect_from: /customization/delimiter-processing/
---

# Delimiter Processing
Expand Down
1 change: 0 additions & 1 deletion docs/2.5/customization/environment.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
layout: default
title: The Environment
description: Configuring the CommonMark environment with custom options and added functionality
redirect_from: /customization/environment/
---

# The Environment
Expand Down
1 change: 0 additions & 1 deletion docs/2.5/customization/extensions.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
layout: default
title: Extensions
description: Creating custom extensions to add new syntax and other custom functionality
redirect_from: /customization/extensions/
---

# Extensions
Expand Down
Loading

0 comments on commit d150f91

Please sign in to comment.