Skip to content

Commit

Permalink
security issue fixed, CVE-2022-0329
Browse files Browse the repository at this point in the history
- CVE-2022-0329, Delgan/loguru#563
- Changed dependency version up to loguru v0.6.0
  • Loading branch information
v1a0 committed Jan 31, 2022
1 parent 023e5a7 commit f30d43b
Show file tree
Hide file tree
Showing 5 changed files with 17 additions and 8 deletions.
9 changes: 5 additions & 4 deletions README.md
Expand Up @@ -3,7 +3,7 @@

<img src="./pics/sqllex-logo.svg" width="300px" alt="sqllex logo">

# SQLLEX ORM v0.2.0.4
# SQLLEX ORM v0.2.0.5

![python-3-9]
[![lgtm-quality-img]][lgtm-quality-src]
Expand All @@ -28,15 +28,16 @@ pip install sqllex

| Version | Status | Tests, and actions |
| :--------: | :----------------------------: | :---: |
| `0.2.0.4` | ✔️ supported <br> ✔️ stable | [![code-ql-img]][code-ql-src] <br> [![sqlite3x-test-img]][sqlite3x-test-src] <br> [![pypi-upload-img]][pypi-upload-img] |
| `0.1.10.5` | ⚠️ outdated <br> | ⚠️ Mostly passing |
| `==0.2.0.5` | ✔️ supported <br> ✔️ stable | [![code-ql-img]][code-ql-src] <br> [![sqlite3x-test-img]][sqlite3x-test-src] <br> [![pypi-upload-img]][pypi-upload-img] |
| `<=0.2.0.4` | ⚠️ outdated <br> ⚠️ Security issue <br> CVE-2022-0329| ⚠️ Mostly passing |
| `<=0.1.10.4` | ❌️ outdated ||

| Databases | Support |
| :--- | :-----: |
| SQLite | ✔️|
| PostgreSQL | ✔️|
| PostgreSQL | ✔️*|

<small>* - partially support</small>

## About
Use databases without thinking about SQL.
Expand Down
2 changes: 1 addition & 1 deletion requirements.txt
@@ -1,2 +1,2 @@
loguru==0.5.3
loguru==0.6.0
psycopg2==2.9.1
2 changes: 1 addition & 1 deletion setup.py
Expand Up @@ -44,7 +44,7 @@
'easy', 'fast', 'orm', 'ORM',
],
install_requires=[
'loguru==0.5.3',
'loguru==0.6.0',
'psycopg2==2.9.1',
],
classifiers=[
Expand Down
2 changes: 1 addition & 1 deletion sqllex/__init__.py
Expand Up @@ -17,7 +17,7 @@
# "\033[0m"
# "\n")

__version__ = '0.2.0.4'
__version__ = '0.2.0.5'

__all__ = [
# classes
Expand Down
10 changes: 9 additions & 1 deletion tests/temp.py
Expand Up @@ -15,5 +15,13 @@
}
}

db = SQLite3x(path=DB_NAME, template=DB_TEMPLATE)
db = SQLite3x(
path='database.db',
init_connection=False
)

db.connect(check_same_thread=False)

print(db.tables_names)

db.disconnect()

0 comments on commit f30d43b

Please sign in to comment.