Releases: TTWShell/hobbit-core
Releases · TTWShell/hobbit-core
1.4.3
1.4.2
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
createcommand to generate a csv file that defines some models to use in thegencommand. - 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.0a4
1.4.0a3
1.4.0a2
1.4.0a1
1.4.0a0
- Add template for 4-layers (view、schema、service、model).
- Add options api for query all consts defined in
app/models/consts. - 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).
1.3.1
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.