Hobbit-core

Latest version: v4.0.0

Safety actively analyzes 681881 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 4 of 6

1.4.1

******************

* Add template for 4-layers (view、schema、service、model).
* Add options api for query all consts defined in `app/models/consts`.
* Add `create` command to generate a csv file that defines some models to use in the `gen` command.
* Removed example code.
* Split hobbit cmd and hobbit_core lib, now install cmd should be `pip install "hobbit-core[hobbit,hobbit_core]"`.
* Remove flask_hobbit when import (`hobbit_core.flask_hobbit.db import transaction` --> `from hobbit_core.db import transaction`).
* Enhance gen cmd: now can auto create CRUD API and tests.
* Fix typo.
* Update some test cases.

1.4.0

************************

1.3.1

******************

* The strict parameter is removed in marshmallow >= 3.0.0.

1.3.0

******************

* Add import_subs util for auto import models、schemas、views in module/__init__.py file.
* Add index for created_at、updated_at cloumn and default order_by id.
* Add validate for PageParams.
* Add hobbit gen cmd for auto render views.py, models.py, schemas.py etc when start a feature dev.
* Add ErrHandler.handler_assertion_error.
* Add db.transaction decorator, worked either autocommit True or False.
* pagination return dict instead of class, order_by can set None for
* traceback.print_exc() --> logging.error.
* Foreign key fields support ondelete, onupdate.
* Hobbit startproject cmd support celery option.

1.2.5

******************

* Add ModelSchema(Auto generate load and dump func for EnumField).
* Add logging config file.
* Add EnumExt implementation.
* Fix use_kwargs with fileds.missing=None and enhanced.

1.2.4

******************

* Fix SuccessResult status arg not used.

Page 4 of 6

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.