1
Fork 0

Bump version to 0.3.2.

This commit is contained in:
Adam Hill 2020-11-10 10:19:50 -05:00
parent ba0246a2ec
commit dd47c6b22c
3 changed files with 25 additions and 16 deletions

View file

@ -1,15 +1,24 @@
# 0.3.2
Fix issue when upgrading to Wagtail 2.11.x.
# 0.3.0 # 0.3.0
Adds the ability for snippets to be either a link (current functionality) or a block element. Adds the ability for snippets to be either a link (current functionality) or a block element.
## Breaking changes ## Breaking changes
- `snippet` Wagtail feature renamed to `snippet-link` - `snippet` Wagtail feature renamed to `snippet-link`
- template search looks for `{model}_snippet_link.html` instead of `{model}_snippet.html` - template search looks for `{model}_snippet_link.html` instead of `{model}_snippet.html`
# 0.2.2 # 0.2.2
Update travis-ci configuration. Update travis-ci configuration.
# 0.2.0 # 0.2.0
Add edit and remove tooltip in the editor to the linked snippet. Add edit and remove tooltip in the editor to the linked snippet.
# 0.1.2 # 0.1.2
Initial release. Initial release.

View file

@ -1,6 +1,6 @@
[tool.poetry] [tool.poetry]
name = "wagtail-draftail-snippet" name = "wagtail-draftail-snippet"
version = "0.3.0" version = "0.3.2"
description = "Associate RichTextBlock text content to a snippet model." description = "Associate RichTextBlock text content to a snippet model."
authors = ["Parbhat Puri <me@parbhatpuri.com>", "Adam Hill <ahill@fool.com>"] authors = ["Parbhat Puri <me@parbhatpuri.com>", "Adam Hill <ahill@fool.com>"]
repository = "https://github.com/themotleyfool/wagtail-draftail-snippet" repository = "https://github.com/themotleyfool/wagtail-draftail-snippet"

View file

@ -11,31 +11,31 @@ except ImportError:
import os.path import os.path
readme = '' readme = ""
here = os.path.abspath(os.path.dirname(__file__)) 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): if os.path.exists(readme_path):
with open(readme_path, 'rb') as stream: with open(readme_path, "rb") as stream:
readme = stream.read().decode('utf8') readme = stream.read().decode("utf8")
setup( setup(
long_description=readme, long_description=readme,
name='wagtail-draftail-snippet', long_description_content_type="text/markdown",
version='0.3.0', name="wagtail-draftail-snippet",
description='Associate RichTextBlock text content to a snippet model.', version="0.3.2",
python_requires='==3.*,>=3.6.0', description="Associate RichTextBlock text content to a snippet model.",
python_requires="==3.*,>=3.6.0",
project_urls={ project_urls={
"repository": "repository": "https://github.com/themotleyfool/wagtail-draftail-snippet"
"https://github.com/themotleyfool/wagtail-draftail-snippet"
}, },
author='Adam Hill', author="Parbhat Puri",
author_email='ahill@fool.com', author_email="me@parbhatpuri.com",
packages=['wagtail_draftail_snippet'], packages=["wagtail_draftail_snippet"],
package_dir={"": "."}, package_dir={"": "."},
package_data={ package_data={
"wagtail_draftail_snippet": [ "wagtail_draftail_snippet": [
"static/wagtail_draftail_snippet/js/*.js", "static/wagtail_draftail_snippet/js/*.js",
"templates/wagtail_draftail_snippet/*.html" "templates/wagtail_draftail_snippet/*.html",
] ]
}, },
install_requires=[], install_requires=[],