From 7e4151400589bdac3d1778002be88c63ec8e8e94 Mon Sep 17 00:00:00 2001 From: Benedikt Willi Date: Mon, 2 Mar 2026 17:44:08 +0100 Subject: [PATCH] Bump version to 0.4.0 and update changelog; clean up tests --- README.md | 2 +- mdx_oembed/version.py | 2 +- pyproject.toml | 3 ++- tests.py | 2 -- 4 files changed, 4 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 8d0cc32..2d7a9ee 100644 --- a/README.md +++ b/README.md @@ -71,7 +71,7 @@ A Public Domain work. Do as you wish. ## Changelog -### 0.3.0 +### 0.4.0 - **Breaking:** requires Python >= 3.9 and Markdown >= 3.2 - Migrated from deprecated `Pattern` to `InlineProcessor` (Markdown 3.2+ compatible) diff --git a/mdx_oembed/version.py b/mdx_oembed/version.py index 493f741..6a9beea 100644 --- a/mdx_oembed/version.py +++ b/mdx_oembed/version.py @@ -1 +1 @@ -__version__ = "0.3.0" +__version__ = "0.4.0" diff --git a/pyproject.toml b/pyproject.toml index 34695a5..a124d02 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,12 +1,13 @@ [project] name = "python-markdown-oembed" -version = "0.3.0" +version = "0.4.0" description = "Markdown extension to allow media embedding using the oEmbed standard." readme = {file = "README.md", content-type = "text/markdown"} license = "Unlicense" requires-python = ">=3.9" authors = [ { name = "Tanner Netterville", email = "tannern@gmail.com" }, + { name = "Benedikt Willi", email = "ben.willi@gmail.com" }, ] keywords = ["markdown", "oembed"] classifiers = [ diff --git a/tests.py b/tests.py index f706078..33f5f15 100644 --- a/tests.py +++ b/tests.py @@ -3,11 +3,9 @@ import unittest from unittest.mock import MagicMock, patch import markdown - from mdx_oembed import endpoints from mdx_oembed.inlinepatterns import OEMBED_LINK_RE, _is_image_url, _sanitize_html - # --------------------------------------------------------------------------- # Regex tests # ---------------------------------------------------------------------------