Skip to content

Commit

Permalink
Merge pull request #500 from hukkin/version-0.7.20
Browse files Browse the repository at this point in the history
Version 0.7.20
  • Loading branch information
hukkin authored Dec 19, 2024
2 parents 062ad6d + a4f971c commit d9aa005
Show file tree
Hide file tree
Showing 6 changed files with 16 additions and 7 deletions.
2 changes: 1 addition & 1 deletion .bumpversion.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
commit = True
tag = True
tag_name = {new_version}
current_version = 0.7.19
current_version = 0.7.20

[bumpversion:file:pyproject.toml]
search = version = "{current_version}" # DO NOT EDIT THIS LINE MANUALLY. LET bump2version UTILITY DO IT
Expand Down
2 changes: 1 addition & 1 deletion docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
author = 'Taneli Hukkinen'

# The full version, including alpha/beta/rc tags
release = '0.7.19' # DO NOT EDIT THIS LINE MANUALLY. LET bump2version UTILITY DO IT
release = '0.7.20' # DO NOT EDIT THIS LINE MANUALLY. LET bump2version UTILITY DO IT


# -- General configuration ---------------------------------------------------
Expand Down
13 changes: 11 additions & 2 deletions docs/users/changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,19 @@
This log documents all Python API or CLI breaking backwards incompatible changes.
Note that there is currently no guarantee for a stable Markdown formatting style across versions.

## **unreleased**
## 0.7.20

- Deprecated
- `mdformat.codepoints.ASCII_WHITESPACE`
- `mdformat.codepoints.ASCII_WHITESPACE`.
CommonMark no longer defines this since v0.30.
- Added
- `--no-validate` flag for disabling the AST safety check.
Thank you, [Kyle King](https://github.com/KyleKing), for the PR.
- Added the delete control character to `mdformat.codepoints.ASCII_CTRL` as per CommonMark v0.30
- Fixed
- The AST safety check not triggering when a code formatter plugin is in use,
two or more code blocks are in the same file,
and unsafe formatting happens in between the code blocks.

## 0.7.19

Expand Down
2 changes: 1 addition & 1 deletion docs/users/installation_and_usage.md
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ Add the following to your project's `.pre-commit-config.yaml` to enable this:

```yaml
- repo: https://github.com/hukkin/mdformat
rev: 0.7.19 # Use the ref you want to point at
rev: 0.7.20 # Use the ref you want to point at
hooks:
- id: mdformat
# Optionally add plugins
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ build-backend = "setuptools.build_meta"

[project]
name = "mdformat"
version = "0.7.19" # DO NOT EDIT THIS LINE MANUALLY. LET bump2version UTILITY DO IT
version = "0.7.20" # DO NOT EDIT THIS LINE MANUALLY. LET bump2version UTILITY DO IT
description = "CommonMark compliant Markdown formatter"
authors = [
{ name = "Taneli Hukkinen", email = "hukkin@users.noreply.github.com" },
Expand Down
2 changes: 1 addition & 1 deletion src/mdformat/__init__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
__all__ = ("file", "text")
__version__ = "0.7.19" # DO NOT EDIT THIS LINE MANUALLY. LET bump2version UTILITY DO IT
__version__ = "0.7.20" # DO NOT EDIT THIS LINE MANUALLY. LET bump2version UTILITY DO IT

from mdformat._api import file, text

0 comments on commit d9aa005

Please sign in to comment.