Skip to content
Snippets Groups Projects
Unverified Commit 921ad3ee authored by Florian Maurer's avatar Florian Maurer Committed by GitHub
Browse files

release 1.5.0 (#139)

parents 9ffb16e9 e4f333a6
Branches
No related tags found
No related merge requests found
eralchemy 1.5.0 (2024-09-17)
=============================
This is release 1.5.0 back on eralchemy.
Instead of `pip install eralchemy2` one should use `pip install eralchemy[graphviz]`.
Other than that, no breaking changes are to be expected.
Features
--------
- Unite codebase of eralchemy2 and eralchemy back to eralchemy
- Includes features from eralchemy2
- Allow having either graphviz or pygraphviz installed by @maurerle in https://github.com/eralchemy/eralchemy/pull/126
- Draw column relations by @JosePVB in https://github.com/eralchemy/eralchemy/pull/72
- CI now uses nox
- proper regex to include/exclude tables/columns
- allow setting title of diagram
- mermaid rendering support
Bugfixes
--------
- Improve tests by using fixtures by @maurerle in https://github.com/eralchemy/eralchemy/pull/120
- build: create a release workflow by @12rambau in https://github.com/eralchemy/eralchemy/pull/128
- Remove references to newsmeme by @kasium in https://github.com/eralchemy/eralchemy/pull/129
- give more readable error output when non sqlalchemy input is given by @maurerle in https://github.com/eralchemy/eralchemy/pull/118
eralchemy2 1.4.1 (2024-05-20) eralchemy2 1.4.1 (2024-05-20)
============================= =============================
......
This diff is collapsed.
...@@ -12,7 +12,7 @@ from datetime import datetime ...@@ -12,7 +12,7 @@ from datetime import datetime
project = "eralchemy" project = "eralchemy"
author = "Alexis Benoist" author = "Alexis Benoist"
copyright = f"2015-{datetime.now().year}, {author}" copyright = f"2015-{datetime.now().year}, {author}"
release = "0.0.0" release = "1.5.0"
# -- General configuration ----------------------------------------------------- # -- General configuration -----------------------------------------------------
extensions = [ extensions = [
......
[tags] [post_tags]
*post_id {label:"INTEGER"}
*tag_id {label:"INTEGER"}
[users]
*id {label:"INTEGER"} *id {label:"INTEGER"}
slug {label:"VARCHAR(80)"} activation_key {label:"VARCHAR(80)"}
name {label:"VARCHAR(80)"} date_joined {label:"DATETIME"}
email {label:"VARCHAR(150)"}
email_alerts {label:"BOOLEAN"}
followers {label:"TEXT"}
following {label:"TEXT"}
karma {label:"INTEGER"}
openid {label:"VARCHAR(80)"}
password {label:"VARCHAR(80)"}
receive_email {label:"BOOLEAN"}
role {label:"INTEGER"}
username {label:"VARCHAR(60)"}
[posts] [posts]
*id {label:"INTEGER"} *id {label:"INTEGER"}
access {label:"INTEGER"}
author_id {label:"INTEGER"} author_id {label:"INTEGER"}
title {label:"VARCHAR(200)"} date_created {label:"DATETIME"}
description {label:"TEXT"} description {label:"TEXT"}
link {label:"VARCHAR(250)"} link {label:"VARCHAR(250)"}
date_created {label:"DATETIME"}
score {label:"INTEGER"}
num_comments {label:"INTEGER"} num_comments {label:"INTEGER"}
votes {label:"TEXT"} score {label:"INTEGER"}
access {label:"INTEGER"}
tags {label:"TEXT"} tags {label:"TEXT"}
[users] title {label:"VARCHAR(200)"}
*id {label:"INTEGER"} votes {label:"TEXT"}
username {label:"VARCHAR(60)"}
email {label:"VARCHAR(150)"}
karma {label:"INTEGER"}
date_joined {label:"DATETIME"}
activation_key {label:"VARCHAR(80)"}
role {label:"INTEGER"}
receive_email {label:"BOOLEAN"}
email_alerts {label:"BOOLEAN"}
followers {label:"TEXT"}
following {label:"TEXT"}
password {label:"VARCHAR(80)"}
openid {label:"VARCHAR(80)"}
[comments] [comments]
*id {label:"INTEGER"} *id {label:"INTEGER"}
author_id {label:"INTEGER"} author_id {label:"INTEGER"}
post_id {label:"INTEGER"}
parent_id {label:"INTEGER"}
comment {label:"TEXT"} comment {label:"TEXT"}
date_created {label:"DATETIME"} date_created {label:"DATETIME"}
parent_id {label:"INTEGER"}
post_id {label:"INTEGER"}
score {label:"INTEGER"} score {label:"INTEGER"}
votes {label:"TEXT"} votes {label:"TEXT"}
[post_tags] [tags]
*post_id {label:"INTEGER"} *id {label:"INTEGER"}
*tag_id {label:"INTEGER"} name {label:"VARCHAR(80)"}
users ?--* posts slug {label:"VARCHAR(80)"}
posts ?--* comments tags."id" 1--* post_tags."tag_id"
users ?--* comments posts."id" 1--* post_tags."post_id"
comments ?--* comments users."id" 1--* posts."author_id"
tags ?--* post_tags comments."id" ?--* comments."parent_id"
posts ?--* post_tags posts."id" 1--* comments."post_id"
users."id" 1--* comments."author_id"
...@@ -128,5 +128,5 @@ class Tag(Base): ...@@ -128,5 +128,5 @@ class Tag(Base):
if __name__ == "__main__": if __name__ == "__main__":
from eralchemy import render_er from eralchemy import render_er
render_er(Base, "../forum.svg") render_er(Base, "forum.svg")
render_er(Base, "../forum.er") render_er(Base, "forum.er")
...@@ -5,7 +5,7 @@ build-backend = "setuptools.build_meta" ...@@ -5,7 +5,7 @@ build-backend = "setuptools.build_meta"
[project] [project]
name = "eralchemy" name = "eralchemy"
version = "1.4.1" version = "1.5.0"
description = "Simple entity relation (ER) diagrams generation" description = "Simple entity relation (ER) diagrams generation"
authors = [ authors = [
{ name = "Alexis Benoist", email = "Alexis-benoist@users.noreply.github.com"}, { name = "Alexis Benoist", email = "Alexis-benoist@users.noreply.github.com"},
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment