New
- Added cocktails count to
tag
,glass
andcocktail_method
resources - Added
abv_min
,abv_max
,user_rating_min
,user_rating_max
andmain_ingredient_id
cocktail query filters - Added
main_ingredients
ingredient query filter - Added
shelf_ingredients
cocktail query filter- This will return all cocktails you can make with the given ingredients
- This allows you to create on-the-fly custom shelf cocktails
- Added POST
/collections/{id}/cocktails
endpoint- This endpoint allows you to add multiple cocktails to collection with single call
- Added
cocktails
request property toCollectionRequest
schema- This allows you to add cocktails when creating new collection
- Added
include
query option tococktails
endpoint- This is used to toggle extra available data when fetching cocktails
Changes
- ABV is now saved in the cocktails table with the cocktail #139
- Default results per page on
cocktails
resource increased to 25
Deprecated
- Property
user_id
onCocktail
schema will be removed in next release, useuser.id
property instead - Property
main_ingredient_name
onCocktail
schema will be removed in next release
Fixes
- Fixed boolean query filters not correctly filtering the results
- Fixed slugs with only numbers fetching by
id
column first instead ofslug
#140 - Added missing cache clearing after importing data from zip file
- Fixed missing eager load of
user
relation when fetching cocktails - Fixed old cocktail ingredients not having correct ingredient sorting
- Fixed image extension detection sometimes falling back to jpg for no good reason