This file should be formatted as per https://keepachangelog.com/en/1.0.0/
Version numbers should follow https://semver.org/spec/v2.0.0.html
- Hovering over a node now shows a tooltip with its name, group, and tags.
- Dropped support for Django < 3.2.
- Dropped support for Python < 3.10.
- Data format returned from
schema_graph.schema.get_schema
has been overhauled. - Template context now only includes the new schema data format.
- The JS front-end has been rewritten to handle the new format.
- Main "App" Vue component refactored into smaller component files.
- The JS code now tries to refer to "nodes" and "edges", not "models" and "apps".
- More options have been added to the sidebar to offer finer control. This has resulted in the sidebar getting wider.
- The list of groups in the sidebar is now collapsed by default.
- More items in the sidebar show tooltips on hover (using the title HTML attribute).
- Graph nodes representing Proxy models now appear with a white background.
- Use
>=
to define minimum version numbers, not~X.Y.Z
. This fixes an issue where installing alongside other versions ofattrs
caused an error:django-schema-graph 2.2.0 depends on attrs<22.0.0 and >=21.4.0
- Added Python 3.11 support.
- Added Django 4.1 support.
- Remove upper boundary on supported Python version.
- Python 3.10 tests now only run against Django 3.2+, because Django <3.2 does not support Python 3.10.
- Specify a minimum
attrs
version of21.4.0
.
- Fix broken CI by removing
tox-poetry-dev-dependencies
.
- Introduced
SCHEMA_GRAPH_VISIBLE
setting as a way to control access to theSchema
view. We will continue to default to usingDEBUG
.
- We no longer use a decorator on the
Schema
view to overridedispatch
, and now override it directly. - It is now possible to control access to the
Schema
view by subclassing and overriding theaccess_permitted
function.
- Dropped Python 2 support.
- Dropped Python 3.5 support.
- Dropped Django 1.8 support. 1.11 is now the minimum supported version.
- Added Python 3.9 support.
- Added Python 3.10 support.
- Added Django 3.1 support.
- Added Django 3.2 support.
- Added Django 4.0 support.
- Moved from
setup.py
topoetry
for building released packages.
- Many-to-many connections aren't added when using explicit through models. The foreign-key connections from the through table are enough. #46
- Collapsed model groups (apps) are now visible on the graph.
- Expand-all / Collapse-all buttons in sidebar.
- Show-all / Hide-all buttons in sidebar.
- Abstract base models are now visible.
- Proxy models now clearly show what they proxy.
- Inheritance is visible as a new kind of connection.
- Ability to dynamically change the apps and models being displayed via a new sidebar.
- Colours. So many pretty colours.
- Hopefully nothing other than version number. This tests automatic releases to PyPI with GitHub actions.
- Basic schema graph. Interactive, but no dynamic data yet. Tested with Django 1.8, and 1.11-3.0 on Python 2.7 and 3.5+ (where those combinations make sense).