Skip to content

Commit f160ac1

Browse files
authored
Merge pull request #120 from TTWShell/release/2.1.0
release version 2.1.0
2 parents 05b77f8 + 1d9e5e9 commit f160ac1

File tree

3 files changed

+7
-2
lines changed

3 files changed

+7
-2
lines changed

docs/changelog.rst

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,11 @@
11
Change history
22
==============
33

4+
2.1.0 (2021-10-25)
5+
******************
6+
7+
* Add util `bulk_create_or_update_on_duplicate`, support MySQL and postgreSQL.
8+
49
2.0.4 (2021-07-13)
510
******************
611

hobbit_core/utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -230,7 +230,7 @@ def import_subs(locals_, modules_only: bool = False) -> List[str]:
230230

231231
def bulk_create_or_update_on_duplicate(
232232
db, model_cls, items, updated_at='updated_at', batch_size=500):
233-
""" Support mysql and postgreSQL.
233+
""" Support MySQL and postgreSQL.
234234
https://dev.mysql.com/doc/refman/8.0/en/insert-on-duplicate.html
235235
236236
Args:

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ def gen_data(data_root='static'):
3232

3333
setup(
3434
name='hobbit-core',
35-
version='2.0.4',
35+
version='2.1.0',
3636
python_requires='>=3.6, <4',
3737
description='Hobbit - A flask project generator.',
3838
long_description=long_description,

0 commit comments

Comments
 (0)