Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Version 0.7.20 #500

Merged
merged 2 commits into from
Dec 19, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading