Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
E
eralchemy
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Machine Data
forks
eralchemy
Commits
830cca7b
Unverified
Commit
830cca7b
authored
10 months ago
by
Florian Maurer
Browse files
Options
Downloads
Patches
Plain Diff
bump: 1.4.1 -> 1.5.0
parent
abe16968
No related branches found
No related tags found
No related merge requests found
Changes
5
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
NEWS.rst
+30
-0
30 additions, 0 deletions
NEWS.rst
docs/_static/forum.svg
+140
-140
140 additions, 140 deletions
docs/_static/forum.svg
example/forum.er
+33
-33
33 additions, 33 deletions
example/forum.er
example/forum.py
+2
-2
2 additions, 2 deletions
example/forum.py
pyproject.toml
+1
-1
1 addition, 1 deletion
pyproject.toml
with
206 additions
and
176 deletions
NEWS.rst
+
30
−
0
View file @
830cca7b
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.
Click to expand it.
docs/_static/forum.svg
+
140
−
140
View file @
830cca7b
This diff is collapsed.
Click to expand it.
example/forum.er
+
33
−
33
View file @
830cca7b
[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"
This diff is collapsed.
Click to expand it.
example/forum.py
+
2
−
2
View file @
830cca7b
...
@@ -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
"
)
This diff is collapsed.
Click to expand it.
pyproject.toml
+
1
−
1
View file @
830cca7b
...
@@ -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"
}
,
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment