Skip to content

Commit d9aa005

Browse files
authored
Merge pull request #500 from hukkin/version-0.7.20
Version 0.7.20
2 parents 062ad6d + a4f971c commit d9aa005

File tree

6 files changed

+16
-7
lines changed

6 files changed

+16
-7
lines changed

.bumpversion.cfg

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
commit = True
33
tag = True
44
tag_name = {new_version}
5-
current_version = 0.7.19
5+
current_version = 0.7.20
66

77
[bumpversion:file:pyproject.toml]
88
search = version = "{current_version}" # DO NOT EDIT THIS LINE MANUALLY. LET bump2version UTILITY DO IT

docs/conf.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
author = 'Taneli Hukkinen'
2424

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

2828

2929
# -- General configuration ---------------------------------------------------

docs/users/changelog.md

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,19 @@
33
This log documents all Python API or CLI breaking backwards incompatible changes.
44
Note that there is currently no guarantee for a stable Markdown formatting style across versions.
55

6-
## **unreleased**
6+
## 0.7.20
77

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

1120
## 0.7.19
1221

docs/users/installation_and_usage.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ Add the following to your project's `.pre-commit-config.yaml` to enable this:
6868

6969
```yaml
7070
- repo: https://github.com/hukkin/mdformat
71-
rev: 0.7.19 # Use the ref you want to point at
71+
rev: 0.7.20 # Use the ref you want to point at
7272
hooks:
7373
- id: mdformat
7474
# Optionally add plugins

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ build-backend = "setuptools.build_meta"
55

66
[project]
77
name = "mdformat"
8-
version = "0.7.19" # DO NOT EDIT THIS LINE MANUALLY. LET bump2version UTILITY DO IT
8+
version = "0.7.20" # DO NOT EDIT THIS LINE MANUALLY. LET bump2version UTILITY DO IT
99
description = "CommonMark compliant Markdown formatter"
1010
authors = [
1111
{ name = "Taneli Hukkinen", email = "[email protected]" },

src/mdformat/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
__all__ = ("file", "text")
2-
__version__ = "0.7.19" # DO NOT EDIT THIS LINE MANUALLY. LET bump2version UTILITY DO IT
2+
__version__ = "0.7.20" # DO NOT EDIT THIS LINE MANUALLY. LET bump2version UTILITY DO IT
33

44
from mdformat._api import file, text

0 commit comments

Comments
 (0)