Skip to content

Commit

Permalink
release 3.5.0 (previous release 3.4.0)
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] committed Jan 19, 2025
1 parent c643f6e commit 875ad25
Show file tree
Hide file tree
Showing 3 changed files with 33 additions and 3 deletions.
30 changes: 30 additions & 0 deletions changelog.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,33 @@
## v3.5.0 (2025-01-19)

### Feat

- **DatabaseConnector-CommonTable**: move functions in models.py to DatabaseConnector class and group duplicated code in CommonTable class
- **TaskManager-Task-TaskAction**: improve scheduled tasks by converting functions to classes
- **AuthCallback**: add AuthCallback class and convert authorize function to a method
- **Waiter**: simplify Waiter class by making DictConfig argument required at instantiation time
- move open_backend and force_logout from auth.py to gui.py
- rename list_users to list_privileged_users, add auth_type in auth.py and improve list user command in cli
- **models.py**: add warning logs when default admin or guest users are created (basic authentication only)
- **cli.py**: add utils group and generate-secrets command

### Fix

- **AuthContext.backend_submit_password**: turn off allow_override when checking if a user is a guest
- **models.py**: remove tables typing

### Refactor

- **auth.AuthContext-auth.AuthUser**: add classes to handle authentication context, authenticated user data and related operations
- **core.Waiter**: move core functions to a dedicated Waiter class
- **set_guest_user_password**: move set_guest_user_password from core to auth
- move functions submit_password and backend_submit_password from core to auth module
- add internal use indicator to _clean_up_table, _do_connect and _do_begin functions

### Perf

- **core.Waiter**: move _clean_up_table definition outside the main for loop in df_list_by_lunch_time

## v3.4.0 (2024-11-13)

### Feat
Expand Down
2 changes: 1 addition & 1 deletion dlunch/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
from .auth import AuthUser

# APP METADATA ----------------------------------------------------------------
__version__: str = "3.4.0"
__version__: str = "3.5.0"
"""Data-Lunch version."""

# LOGGER ----------------------------------------------------------------------
Expand Down
4 changes: 2 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"

[project]
name = "dlunch"
version = "3.4.0"
version = "3.5.0"
authors = [
{ name="Michele Alberti", email="michele.alberti90@gmail.com" },
]
Expand Down Expand Up @@ -56,7 +56,7 @@ exclude = '''

[tool.commitizen]
name = "cz_conventional_commits"
version = "3.4.0"
version = "3.5.0"
version_files = [
"dlunch/core.py",
"pyproject.toml:version",
Expand Down

0 comments on commit 875ad25

Please sign in to comment.