Skip to content

Releases: TTWShell/hobbit-core

1.4.3

24 Jul 03:23
7c820ed

Choose a tag to compare

  • Add CustomParser for automatically trim leading/trailing whitespace from argument values(from hobbit_core.webargs import use_args, use_kwargs).
  • Add HOBBIT_UPPER_SEQUENCE_NAME config for upper db's sequence name.
  • Fixs some err in template.

1.4.2

13 Jun 09:12
02da4e4

Choose a tag to compare

  • Add db.BaseModel for support Oracle id sequence.

1.4.1

23 May 05:59
513d38e

Choose a tag to compare

  • 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.0a4

22 May 11:35
d6b5489

Choose a tag to compare

1.4.0a4 Pre-release
Pre-release
  • Add create command to generate a csv file that defines some models to use in the gen command.
  • Refactor hobbit cmds.

1.4.0a3

20 May 01:54
8fdfa4b

Choose a tag to compare

1.4.0a3 Pre-release
Pre-release
  • Support gen models from a csv file.

1.4.0a2

14 May 09:34
bf62232

Choose a tag to compare

1.4.0a2 Pre-release
Pre-release
  • Fix typo in gen cmd doc.
  • Update some test cases.

1.4.0a1

08 May 10:02
673d5cc

Choose a tag to compare

1.4.0a1 Pre-release
Pre-release
  • Enhance gen cmd: now can auto create CRUD API and tests.

1.4.0a0

08 May 09:50
058a0d2

Choose a tag to compare

1.4.0a0 Pre-release
Pre-release
  • 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

26 Feb 05:58
2885669

Choose a tag to compare

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

1.3.0

14 Jan 02:20
18b45d4

Choose a tag to compare

  • 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.