Skip to content

Commit

Permalink
2.5.0 preparation
Browse files Browse the repository at this point in the history
  • Loading branch information
marksweb committed Aug 31, 2022
1 parent 69e601c commit bab74d6
Show file tree
Hide file tree
Showing 4 changed files with 24 additions and 5 deletions.
9 changes: 9 additions & 0 deletions HISTORY.rst
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,11 @@ This project adheres to `Semantic Versioning <https://semver.org/>`_.
---------------------


`2.5.0`_ (2022-08-30)
---------------------
* `#481`_: Added query output as charts using new setting ``EXPLORER_CHARTS_ENABLED`` and 2 additional dependencies (Fix `#480`_)
* `#478`_: Improve template block inheritance to allow easier customisation. (Fix `#477`_)

`2.4.2`_ (2022-08-30)
---------------------
* `#484`_: Added ``DEFAULT_AUTO_FIELD`` (Fix `#483`_)
Expand Down Expand Up @@ -397,6 +402,8 @@ Initial Release
.. _#470: https://github.com/groveco/django-sql-explorer/pull/470
.. _#471: https://github.com/groveco/django-sql-explorer/pull/471
.. _#475: https://github.com/groveco/django-sql-explorer/pull/475
.. _#478: https://github.com/groveco/django-sql-explorer/pull/478
.. _#481: https://github.com/groveco/django-sql-explorer/pull/481
.. _#484: https://github.com/groveco/django-sql-explorer/pull/484

.. _#269: https://github.com/groveco/django-sql-explorer/issues/269
Expand All @@ -410,6 +417,8 @@ Initial Release
.. _#433: https://github.com/groveco/django-sql-explorer/issues/433
.. _#440: https://github.com/groveco/django-sql-explorer/issues/440
.. _#443: https://github.com/groveco/django-sql-explorer/issues/443
.. _#477: https://github.com/groveco/django-sql-explorer/issues/477
.. _#480: https://github.com/groveco/django-sql-explorer/issues/480
.. _#483: https://github.com/groveco/django-sql-explorer/issues/483

.. _furo: https://github.com/pradyunsg/furo
10 changes: 8 additions & 2 deletions docs/features.rst
Original file line number Diff line number Diff line change
Expand Up @@ -129,8 +129,14 @@ To enable this feature, set ``EXPLORER_CHARTS_ENABLED`` setting to ``True`` and

.. code-block:: console
pip install matplotlib
pip install seaborn
pip install django-sql-explorer[graphs]
Or if you already have the package installed, add the additional dependencies

.. code-block:: console
pip install "matplotlib<4"
pip install "seaborn<0.12"
This will add the "Pie chart" and the "Line chart" tabs alongside the "Preview" and the "Pivot" tabs in the query results view.

Expand Down
6 changes: 3 additions & 3 deletions explorer/__init__.py
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
__version_info__ = {
'major': 2,
'minor': 4,
'micro': 2,
'releaselevel': 'final',
'minor': 5,
'micro': 0,
'releaselevel': 'beta',
'serial': 0
}

Expand Down
4 changes: 4 additions & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,10 @@ def read(fname):
'sqlparse>=0.4.0',
],
extras_require={
"graphs": [
'matplotlib<4',
'seaborn<0.12'
],
"xls": [
'xlsxwriter>=1.2.1'
]
Expand Down

0 comments on commit bab74d6

Please sign in to comment.