diff --git a/CHANGELOG.md b/CHANGELOG.md index 709518d..dd49dfb 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,15 +1,24 @@ +# 0.3.2 + +Fix issue when upgrading to Wagtail 2.11.x. + # 0.3.0 + Adds the ability for snippets to be either a link (current functionality) or a block element. ## Breaking changes + - `snippet` Wagtail feature renamed to `snippet-link` - template search looks for `{model}_snippet_link.html` instead of `{model}_snippet.html` # 0.2.2 + Update travis-ci configuration. # 0.2.0 + Add edit and remove tooltip in the editor to the linked snippet. # 0.1.2 -Initial release. \ No newline at end of file + +Initial release. diff --git a/pyproject.toml b/pyproject.toml index 394fc17..e9dec1a 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "wagtail-draftail-snippet" -version = "0.3.0" +version = "0.3.2" description = "Associate RichTextBlock text content to a snippet model." authors = ["Parbhat Puri ", "Adam Hill "] repository = "https://github.com/themotleyfool/wagtail-draftail-snippet" diff --git a/setup.py b/setup.py index 72f743c..70e731a 100644 --- a/setup.py +++ b/setup.py @@ -11,31 +11,31 @@ except ImportError: import os.path -readme = '' +readme = "" here = os.path.abspath(os.path.dirname(__file__)) -readme_path = os.path.join(here, 'README.rst') +readme_path = os.path.join(here, "README.md") if os.path.exists(readme_path): - with open(readme_path, 'rb') as stream: - readme = stream.read().decode('utf8') + with open(readme_path, "rb") as stream: + readme = stream.read().decode("utf8") setup( long_description=readme, - name='wagtail-draftail-snippet', - version='0.3.0', - description='Associate RichTextBlock text content to a snippet model.', - python_requires='==3.*,>=3.6.0', + long_description_content_type="text/markdown", + name="wagtail-draftail-snippet", + version="0.3.2", + description="Associate RichTextBlock text content to a snippet model.", + python_requires="==3.*,>=3.6.0", project_urls={ - "repository": - "https://github.com/themotleyfool/wagtail-draftail-snippet" + "repository": "https://github.com/themotleyfool/wagtail-draftail-snippet" }, - author='Adam Hill', - author_email='ahill@fool.com', - packages=['wagtail_draftail_snippet'], + author="Parbhat Puri", + author_email="me@parbhatpuri.com", + packages=["wagtail_draftail_snippet"], package_dir={"": "."}, package_data={ "wagtail_draftail_snippet": [ "static/wagtail_draftail_snippet/js/*.js", - "templates/wagtail_draftail_snippet/*.html" + "templates/wagtail_draftail_snippet/*.html", ] }, install_requires=[],