Releases: 4Catalyzer/flask-resty
Releases · 4Catalyzer/flask-resty
v1.3.0
v1.2.0
v1.1.0
v1.0.1
v1.0.0
- Breaking: Revamp upsert support (#314)
- Add
GenericModelView.upsert
and removecreate_missing
inGenericModelView.update
- Unlike
GenericModelView.update
withcreate_missing
,GenericModelView.upsert
will callModelView.create_item
if there is no existing item, rather than callingModelView.update_item
on a stub item GenericModelView.upsert
returns 201 if it creates a new item
- Unlike
- Rename
create_missing
option tocreate_transient_stub
and renameModelView.create_missing_item
toModelView.create_stub_item
, to make it more clear what this functionality is supposed to do
- Add
- Breaking: Return 200 with item instead of 204 in
GenericModelView.update
(#314)- Remove the
return_content
option that previously enabled this behavior
- Remove the
- Bugfix: Make
objects
keyword-only inModelView.flush
(#325)