All notable changes to this project will be documented in this file. The format is based on Keep a Changelog and this project adheres to Semantic Versioning.
Full Changelog: https://github.com/obervinov/users-package/compare/v4.0.2...v4.1.0 by @obervinov in #54
- bump dependencies version
- bump workflows version to
2.1.1
- the functionality has been returned to establish its own connection to the database (in addition to the possibility of transferring an existing connection object) for more stable operation of the module with correct credentials via Vault DBEngine (for example, the bug obervinov/pyinstabot-downloader#118)
- The
vault
input argument of theUsers()
class now expects an object or a new dict format{'instance': <vault_object>, 'role': 'my-dbengine-role'}
. The previous vault dictionary format is no longer supported.
Full Changelog: https://github.com/obervinov/users-package/compare/v4.0.1...v4.0.2 by @obervinov in #53
- Feature request: Add a decorator for easier access verification
- bump workflows version to
2.0.2
Full Changelog: https://github.com/obervinov/users-package/compare/v4.0.0...v4.0.1 by @obervinov in #50
- actualized documentation in the
README.md
file
Full Changelog: https://github.com/obervinov/users-package/compare/v3.0.2...v4.0.0 by @obervinov in #49
- bump python version to
3.12
- some arguments of the
Users
class and theStorage
class have been replaced. Detailed information can be found in the DEPRECATED.md file
- bump all dependencies to the latest versions
- bump workflows version to
2.0.0
- Feature request: Add support for a method that returns a dictionary of all users in the table
- Feature request: Storage should not retrieve the database connection data from the vault itself
- Bug: The application tries to use credentials to access the database that have already expired
- Configuration
per_day
in RateLimit not working as expected
Full Changelog: https://github.com/obervinov/users-package/compare/v3.0.1...v3.0.2 by @obervinov in #46
- fixed hardcoded vault dbengine
mount_point
if vault argument is a dict
Full Changelog: https://github.com/obervinov/users-package/compare/v3.0.0...v3.0.1 by @obervinov in #45
- replace wrong dependencies
psycopg2
->psycopg2-binary
inpyproject.toml
Full Changelog: https://github.com/obervinov/users-package/compare/v2.0.5...v3.0.0 by @obervinov in #43
- Feature request: Add an additional backend -
Postgres
to store historical user data - Bump vault-package version to
3.0.0
(this version contains major changes) - Detailed information about the deprecated methods, constants, arguments, properties, and return values can be found in the DEPRECATED.md file
- Changed logger level to
INFO
for messages when the userRateLimit
is exceeded - Removed unused option to manually set
vault_client
attributes
- Bump workflows version to
1.2.8
- Bump vault-package version to
3.0.0
- Bump transitive dependencies
- Feature request: Add an additional backend -
Postgres
to store historical user data
Full Changelog: https://github.com/obervinov/users-package/compare/v2.0.4...v2.0.5 by @obervinov in #41
- Update
*.md
templates
- Add
github-actions
in dependency bot - Bump workflow version to
v1.2.2
- Add new workflow jobs:
pr
andmilestone
Full Changelog: https://github.com/obervinov/users-package/compare/v2.0.3...v2.0.4 by @obervinov in #39
- add custom exceptions
- Incorrect record of authentication events and user authorization in Vault data
- Error when call
rl_controller.determine_rate_limit()
- Fixes various RateLimit class bugs related to request accounting and operation of request counters
- A little tests refactoring
Full Changelog: https://github.com/obervinov/users-package/compare/v2.0.2...v2.0.3 by @obervinov in #36
- Fix support python 3.9 in the package and workflows
Full Changelog: https://github.com/obervinov/users-package/compare/v2.0.1...v2.0.2 by @obervinov in #35
Full Changelog: https://github.com/obervinov/users-package/compare/v2.0.0...v2.0.1 by @obervinov in #31
- Fix bug with import constants
- Incorrect calculation of rate_limit if it is already applied and you need to calculate the timer for additional messages
- Migration from pip to poetry
- Dependency graph does not work correctly, sort it out and fix it network/dependencies
Full Changelog: https://github.com/obervinov/users-package/compare/v1.0.5...v2.0.0 by @obervinov in #24
- Update template workflow to v1.0.5
- Users:v2 expand access rights and user attributes
- Improvements to the Vault dependency
Full Changelog: https://github.com/obervinov/users-package/compare/v1.0.4...v1.0.5 by @obervinov in #20
- Fix badge with tests in README.md
- Fix the error that caused the workflow create_release to run twice - at pr/main
Full Changelog: https://github.com/obervinov/users-package/compare/v1.0.3...v1.0.4 by @obervinov in #15
Full Changelog: https://github.com/obervinov/users-package/compare/v1.0.2...v1.0.3 by @obervinov in #9
- Delete a block in tests if "name" == "main"
- Check how the module behaves if the user_id is not recorded in the vault
- Add dependencies between tasks in the GitHub Actions
- Add support for the new version of the vault-package:v2.0.0
- Replace the mock with a vault container for pytests
- GitHub Actions workflow updates: 2023.05.22
Full Changelog: https://github.com/obervinov/users-package/compare/v1.0.1...v1.0.2 by @obervinov in #2
- renamed the directory with the code to the name of the module -
users
- fixed errors in the doc string and the general code format
- log string formation rewritten from
f-string
to%s lezzy
format
- updated and expanded the documentation in the file README.md
- changed the structure of saving login events and the structure of storing access rights for user ids
- removed
bot_name
argument inUsersAuth.__init__
- renamed method
check_permission()
->check_permissions()
- renamed argument
chat_id
->user_id
in methodcheck_permissions()
- changed the return result
success
/failed
->allow
/deny
- the functionality of recording events in Vault has been moved to a separate method -
record_event()
- updated GitHub Actions version to
v1.0.2
- updated logger-package version to
v1.0.1
- added tests
Full Changelog: https://github.com/obervinov/users-package/compare/v1.0.0...v1.0.1 by @obervinov in #1
- updated the code in accordance with the recommendations of flake8 and pylint
- adjusted pyproject.toml and setup.py for package delivery
- updated and expanded the documentation in the file README.md
- global code recycling: removed old artifacts and more comments added to the code
- added github actions: flake8, pylint and create release
- added SECURITY
- added ISSUE_TEMPLATE
- added PULL_REQUEST_TEMPLATE
- added CODEOWNERS
- added dependabot.yml
Full Changelog: https://github.com/obervinov/users-package/commits/v1.0.0
- Module release