Recipe
Version 4.0.7
February 23, 2023
Fixed
- Fixed an issue where the Nutritional Information display didn't take into account the number of servings (#66)
Version 4.0.6
February 22, 2023
Fixed
- Fix API Requests (#65)
Version 4.0.5
February 21, 2023
Changed
- Refactored the docs buildchain to use a dynamic docker container setup
- Updated the docs to include instructions on how to do Multi-Component recipes
Fixed
- Allow Recipe fields to work properly if they are embedded in a Matrix block (#63)
Version 4.0.4
December 4, 2022
Changed
- Fix the display of the Recipe icon logo on the Welcome screen
Version 4.0.3
December 1, 2022
Changed
- Move to using
ServicesTrait
and add getter methods for services - Switch to VitePress
^1.0.0-alpha.29
for the documentation - Add
allow-plugins
to thecomposer.json
to enable CI to work - Wrap the fields in
<fieldset>
tags for semantic HTML & a11y - Remove the odd Craft
modifiedAttributes
styling when a field value is changed (#12403)
Version 4.0.2
May 10, 2022
Fixed
- Fix array access on new type Int (#59)
Version 4.0.1
May 9, 2022
Fixed
- Fixed an issue where model properties were not converted from an array to an
int
before saving ((#57)[https://github.com/nystudio107/craft-recipe/issues/57]) - Fixed an issue with assets not showing up by removing
'enabledForSite': null,
from thecriteria
Version 4.0.0
May 9, 2022
Added
- Initial Craft CMS 4 release
Fixed
- Fixed an issue where certain model properties were typed as
?array
when they should have been typed as?int
, causing a type error to be thrown ((#57)[https://github.com/nystudio107/craft-recipe/issues/57])
Version 4.0.0-beta.3
April 13, 2022
Fixed
- Fixed an issue where an exception would be thrown if the FeedMe beta plugin was installed (#56)
Version 4.0.0-beta.2
March 14, 2022
Fixed
- Fix issues with editable table fields, due to the change in default values for Craft 4
Version 4.0.0-beta.1
March 9, 2022
Added
- Initial Craft CMS 4 compatibility
Version 1.4.0
October 5, 2021
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
March 5, 2021
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
January 28, 2021
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
November 4, 2020
Added
- Added support for importing recipes (including ingredients, directions and ratings) using Feed Me.
Version 1.1.3
May 25, 2020
Fixed
- Add plural for grams and remove cups abbreviation
- Correct prefix of 0 for measurements and use 'cups' instead of c
Version 1.1.2
April 16, 2020
Fixed
- Fixed Asset Bundle namespace case
Version 1.1.1
April 6, 2020
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
April 3, 2020
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
July 10, 2019
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
March 8, 2019
Changed
- Fixed the Asset Sources settings to work with Craft 3.1
Version 1.0.9
March 8, 2019
Changed
- Add 1/3 and 1/6 fractions
- Prevent error on no directions or ingredients
Version 1.0.8
March 8, 2019
Changed
- Fixed an issue where tabs didn't work properly in the Field
Version 1.0.7
March 2, 2018
Changed
- Fixed deprecation errors from Craft CMS 3 RC13
Version 1.0.6
February 1, 2018
Added
- Renamed the composer package name to
craft-recipe
Version 1.0.5
December 6, 2017
Changed
- Updated to require craftcms/cms
^3.0.0-RC1
Version 1.0.4
March 24, 2017
Changed
hasSettings
->hasCpSettings
for Craft 3 beta 8 compatibility- Modified config service calls for Craft 3 beta 8
Version 1.0.3
March 12, 2017
Added
- Added
craft/cms
as a composer dependency - Added code inspection typehinting for the plugin
Version 1.0.2
March 3, 2017
Fixed
- Redirect to the Welcome message only when the
Recipe
plugin is installed
Version 1.0.1
February 15, 2017
Fixed
- Fixed an issue that would cause you to be unable to choose an asset
- Merged the Field rules with parent
Version 1.0.0
February 10, 2017
Added
- Initial release