Skip to content

Commit

Permalink
Version 0.4
Browse files Browse the repository at this point in the history
  • Loading branch information
saevarom committed Feb 22, 2024
1 parent 9ba1b51 commit 1b5f531
Show file tree
Hide file tree
Showing 4 changed files with 50 additions and 3 deletions.
37 changes: 37 additions & 0 deletions .github/workflows/django.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,18 +13,54 @@ jobs:
strategy:
matrix:
include:
- python: '3.10'
wagtail: 'wagtail<6.1'
django: 'django<5.1'
- python: '3.11'
wagtail: 'wagtail<6.1'
django: 'django<5.1'
- python: '3.10'
wagtail: 'wagtail<5.2'
django: 'django<5.1'
- python: '3.11'
wagtail: 'wagtail<5.2'
django: 'django<5.1'
- python: '3.10'
wagtail: 'wagtail<5.1'
django: 'django<5.1'
- python: '3.11'
wagtail: 'wagtail<5.1'
django: 'django<5.1'
- python: '3.10'
wagtail: 'wagtail<4.3'
django: 'django<5.1'
- python: '3.11'
wagtail: 'wagtail<4.3'
django: 'django<5.1'
- python: '3.10'
wagtail: 'wagtail<6.1'
django: 'django<5.0'
- python: '3.11'
wagtail: 'wagtail<6.1'
django: 'django<5.0'
- python: '3.10'
wagtail: 'wagtail<5.2'
django: 'django<5.0'
- python: '3.11'
wagtail: 'wagtail<5.2'
django: 'django<5.0'
- python: '3.10'
wagtail: 'wagtail<5.1'
django: 'django<5.0'
- python: '3.11'
wagtail: 'wagtail<5.1'
django: 'django<5.0'
- python: '3.10'
wagtail: 'wagtail<4.3'
django: 'django<5.0'
- python: '3.11'
wagtail: 'wagtail<4.3'
django: 'django<5.0'

runs-on: 'ubuntu-latest'

Expand Down Expand Up @@ -64,6 +100,7 @@ jobs:
pip install -e .
cd wagtailcharts_demo && pip install -r requirements.txt
pip install "psycopg2>=2.6"
pip install "${{ matrix.django }}"
pip install "${{ matrix.wagtail }}"
- name: Run migrations
run: cd wagtailcharts_demo && python manage.py migrate
9 changes: 9 additions & 0 deletions RELEASE_NOTES.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,12 @@
## Version 0.4
* Added support for Wagtail 6.0
* Tested against django 5.0
* Breaking changes to stacked charts, they were always reversing the dataset and legend.
It is now optional to reverse the legend for the chart with a setting.

## Version 0.3.3
* Fixed a regression from release 0.3.2 when using multiple charts on same page.

## Version 0.3.2
* Added support for external HTML legend
* Fixed bug in doughnut chart
Expand Down
3 changes: 2 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@

setup(
name='wagtailcharts',
version='0.3.3',
version='0.4.0',
packages=['wagtailcharts'],
include_package_data=True,
license='MIT',
Expand All @@ -41,6 +41,7 @@
'Framework :: Wagtail :: 3',
'Framework :: Wagtail :: 4',
'Framework :: Wagtail :: 5',
'Framework :: Wagtail :: 6',
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'Operating System :: OS Independent',
Expand Down
4 changes: 2 additions & 2 deletions wagtailcharts_demo/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
Django>=4.0,<4.3
wagtail<5.2
Django>=4.0,<5.1
wagtail<6.1
dj-database-url==0.4.1
psycopg2-binary>=2.7,<3.0
debugpy==1.5.1

0 comments on commit 1b5f531

Please sign in to comment.