rattail/CHANGELOG.md

343 lines
6.1 KiB
Markdown
Raw Normal View History

2024-06-10 14:40:11 -05:00
# Changelog
All notable changes to rattail will be documented in this file.
The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/)
and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html).
2024-08-20 15:04:06 -05:00
## v0.18.2 (2024-08-20)
### Fix
- minor tweaks to modernize etc.
- deprecate more methods for config object
- deprecate `config.rattail_engines` in favor of `appdb_engines`
- fix wrong name in deprecation warning
2024-08-15 21:15:40 -05:00
## v0.18.1 (2024-08-15)
### Fix
- move `get_class_hierarchy()` util function to wuttjamaican
- improve logic/fallback for `str(person)`
2024-08-15 16:21:14 -05:00
## v0.18.0 (2024-08-15)
### Feat
- refactor config/extension, session logic per wuttjamaican
### Fix
- let wuttjamaican configure app db engines
- use `ModelBase` from wuttjamaican, as our model base class
- cascade deletions for Customer -> CustomerShopper
2024-08-13 11:13:33 -05:00
## v0.17.11 (2024-08-13)
### Fix
- grow column size for `MemberEquityPayment.amount`
- stop logging config files read
2024-08-09 17:01:30 -05:00
## v0.17.10 (2024-08-09)
### Fix
- add `rattail.util.render_duration()` function
- stop setting falafel theme in installer
2024-08-08 11:28:49 -05:00
## v0.17.9 (2024-08-08)
### Fix
- remove ref to missing variable
2024-08-06 23:17:48 -05:00
## v0.17.8 (2024-08-06)
### Fix
- move logic upstream for `save_setting()`, `delete_setting()`
2024-08-05 22:56:02 -05:00
## v0.17.7 (2024-08-05)
### Fix
- `AppHandler.get_version()` should use upstream logic
2024-08-05 15:33:45 -05:00
## v0.17.6 (2024-08-05)
### Fix
- method for `AuthHandler.user_is_admin()` moved upstream
- invoke wuttjamaican logic for `rattail.util.prettify()`
2024-07-18 11:12:37 -05:00
## v0.17.5 (2024-07-18)
### Fix
- require latest wuttjamaican
2024-07-17 18:23:13 -05:00
## v0.17.4 (2024-07-17)
### Fix
- rename auth handler; avoid app in provider constructor
2024-07-16 21:35:28 -05:00
## v0.17.3 (2024-07-16)
### Fix
- fix bugs in `OrgHandler.get_subdepartment()`
- avoid deprecated calls to `administrator_role()`
2024-07-16 17:21:35 -05:00
## v0.17.2 (2024-07-16)
### Fix
- avoid deprecated `self.model` for people handler
2024-07-15 21:50:27 -05:00
## v0.17.1 (2024-07-15)
### Fix
- avoid deprecated `self.model` within the auth handler
2024-07-14 23:24:37 -05:00
## v0.17.0 (2024-07-14)
### Feat
- move most of auth handler logic to wuttjamaican
### Fix
- rename some constraints per wutta model
2024-07-12 00:14:52 -05:00
## v0.16.1 (2024-07-12)
### Fix
- remove duplicate method for `AppHandler.load_object()`
- remove duplicate method for `RattailConfig.production()`
2024-07-11 13:11:47 -05:00
## v0.16.0 (2024-07-11)
### Feat
- move some app model logic to wuttjamaican
2024-07-09 16:38:26 -05:00
## v0.15.0 (2024-07-09)
### Feat
- drop python 3.6 support, use pyproject.toml (again)
2024-07-05 09:49:40 -05:00
## v0.14.8 (2024-07-05)
### Fix
- fix model reference in reporting handler
2024-07-04 23:57:46 -05:00
## v0.14.7 (2024-07-04)
### Fix
- add `get_cmd()` method for import handlers
- specify default list for rattail mail templates
- add `get_role()` method for auth handler
2024-07-04 14:45:14 -05:00
## v0.14.6 (2024-07-04)
### Fix
- refactor code so most things work without sqlalchemy
- avoid command line errors if sqlalchemy not installed
- bump version for wuttjamaican
2024-07-04 08:18:38 -05:00
## v0.14.5 (2024-07-04)
### Fix
- change how we override default app handler, engine maker
2024-07-02 10:06:49 -05:00
## v0.14.4 (2024-07-02)
### Fix
- avoid `pkg_resources` for `files.resource_path()`
2024-07-02 01:43:40 -05:00
## v0.14.3 (2024-07-02)
### Fix
- include importing subcommands for discovery
2024-07-02 00:11:53 -05:00
## v0.14.2 (2024-07-02)
### Fix
- delay imports from `wuttjamaican.db`
2024-07-01 23:18:39 -05:00
## v0.14.1 (2024-07-01)
### Fix
- remove references, dependency for `six` package
- remove some unused imports
- remove duplicated / unused code for `rattail.db.config`
- deprecate `parse_bool()` and `parse_list()` in `rattail.config`
2024-07-01 13:57:50 -05:00
## v0.14.0 (2024-07-01)
### Feat
- remove legacy command system
### Fix
- make pyproject.toml instead of setup.cfg for generated project
2024-06-28 15:38:09 -05:00
## v0.13.5 (2024-06-28)
### Fix
- read logs from journald by default, for postfix-summary
- allow config override of "problems" for postfix-summary
2024-06-27 22:02:56 -05:00
## v0.13.4 (2024-06-27)
### Fix
- fix missing module import
2024-06-24 18:17:51 -05:00
## v0.13.3 (2024-06-24)
### Fix
- merge associated shopper records when merging 2 people
- truncate invoice item description for receiving, if needed
2024-06-14 17:58:56 -05:00
## v0.13.2 (2024-06-14)
### Fix
- revert back to setup.py + setup.cfg
2024-06-10 14:43:05 -05:00
## v0.13.1 (2024-06-10)
### Fix
- move canonical app version to pyproject.toml
2024-06-10 14:40:11 -05:00
## v0.13.0 (2024-06-10)
### Feat
- switch from setup.cfg to pyproject.toml / hatchling
## v0.12.9 (2024-06-10)
### Feat
- add config snippet for new projects, to define static libcache
- define the `app_package` setting for new projects
- add `get_pkg_version()` convenience function
## v0.12.8 (2024-06-06)
### Feat
- project generator should make typer commands, not old-style
- remove old/unused project scaffold template
- add snippet for fanstatic/libcache when generating web project
### Fix
- fix missing import for `rattail make-config` command
- define the `-n` command flag as alias for `--no-init`
## v0.12.7 (2024-06-02)
### Fix
- fix datasync command args, per typer
## v0.12.6 (2024-06-01)
### Feat
- add setting to allow decimal quantities for ordering/receiving
### Fix
- fix `rattail datasync remove-settings` command line, per typer
- fix `--progress-socket` arg handling for typer commands
## v0.12.5 (2024-05-31)
### Fix
- fix args for `rattail populate-batch` command, per typer
## v0.12.4 (2024-05-31)
### Fix
- fix params for generic "run purge" command logic, per typer
## v0.12.3 (2024-05-31)
### Fix
- fix args for `rattail purge-batches` command, per typer
## v0.12.2 (2024-05-30)
### Feat
- log the `pflogsumm` command before running it
### Fix
- fix some commands/arguments, per typer
## v0.12.1 (2024-05-29)
### Feat
- include organic flag when normalizing product
## v0.12.0 (2024-05-29)
This release begins the migration to use `typer` for all commands,
instead of the "traditional" (now WuttJamaican-based) commands.
### Feat
- add `get_runas_user()` method for AppHandler
- move rich and prompt_toolkit things to separate module
- move `finalize_session()` function to `db.util` module
- move "install" command logic to separate handler/module
- move "import command runner" logic to separate handler
- add basic support for `typer` command system
- migrate all commands to use typer
- add command logic functions for running reports, purging things
### Fix
- fix subcommand runas user when caller provides username
## Older Releases
Please see `docs/OLDCHANGES.rst` for older release notes.