Releases: nystudio107/craft-recipe
Releases · nystudio107/craft-recipe
Version 1.4.0
Added
- Added
.createRecipeMetaJsonLd()
to the Recipes field, to allow the creation of SEOmatic MetaJsonLd objects that can be manipulated and rendered on the page by SEOmatic - Added Recipe Equipment (#32)
- Added
recipeCategory
andrecipeCuisine
fields (#50) - Added the field
servesUnit
and a method calledgetServes()
which is just concatenating the serves with its unit when it's not empty (#37) - Added a Recipe Video field that can be accessed via
.getVideoUrl()
(#50) - Added
author
andkeywords
fields (#50)
Changed
- Switched over to using VitePress for the documentation
Version 1.3.0
Added
- Added the ability to fetch nutritional information from ingredients using the Edamam Nutrition Analysis API.
- Added plugin settings for configuring API credentials.
- Added a console controller action that generates nutritional information for all entries in a section using the API.
- Added docs buildchain
Version 1.2.1
Added
- Added sodium content to nutrition facts template.
- Implemented
useFieldset
for Craft 3.6
Changed
- Non-imperial units are converted to nice fractions too
- Nice fraction now has a space before it
- Changed fraction precision to
1
Version 1.2.0
Added
- Added support for importing recipes (including ingredients, directions and ratings) using Feed Me.
Version 1.1.3
Fixed
- Add plural for grams and remove cups abreviation
- Correct prefix of 0 for measurements and use 'cups' instead of c
Version 1.1.2
Fixed
- Fixed Asset Bundle namespace case
Version 1.1.1
Changed
- An error is no longer logged if there isn't a frontend template for the Nutrition Facts
- Updated missing translations
Version 1.1.0
Added
- Added support for imperial pounds and metric kilograms
- Added support for passing in an image transform to
.getImageUrl()
Fixed
- Fixed errant display of the 1.66 quantity by rounding the mantissa so we can do a floating point comparison without weirdness, per: https://www.php.net/manual/en/language.types.float.php#113703
- Fix the abbreviations to be be the same whether singular or plural as per Measurement Abbreviations
Version 1.0.11
Changed
- Add support for 2/3 fraction
- Fixed an issue where controls to add ratings didn't work when you switched tabs until you resized the window
Version 1.0.10
Changed
- Fixed the Asset Sources settings to work with Craft 3.1