- Automate release generation via GitHub action
- Updated docs to use node 20 & a new sitemap plugin
- Fixes compatibility with FeedMe's base FieldInterface (#69)
- Fixed an issue where the Nutritional Information display didn't take into account the number of servings (#66)
- Fix API Requests (#65)
- Refactored the docs buildchain to use a dynamic docker container setup
- Updated the docs to include instructions on how to do Multi-Component recipes
- Allow Recipe fields to work properly if they are embedded in a Matrix block (#63)
- Fix the display of the Recipe icon logo on the Welcome screen
- 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)
- Fix array access on new type Int (#59)
- Fixed an issue where model properties were not converted from an array to an
int
before saving ((#57)[#57]) - Fixed an issue with assets not showing up by removing
'enabledForSite': null,
from thecriteria
- Initial Craft CMS 4 release
- 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)[#57])
- Fixed an issue where an exception would be thrown if the FeedMe beta plugin was installed (#56)
- Fix issues with editable table fields, due to the change in default values for Craft 4
- Initial Craft CMS 4 compatibility
- 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)
- Switched over to using VitePress for the documentation
- 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
- Added sodium content to nutrition facts template.
- Implemented
useFieldset
for Craft 3.6
- Non-imperial units are converted to nice fractions too
- Nice fraction now has a space before it
- Changed fraction precision to
1
- Added support for importing recipes (including ingredients, directions and ratings) using Feed Me.
- Add plural for grams and remove cups abbreviation
- Correct prefix of 0 for measurements and use 'cups' instead of c
- Fixed Asset Bundle namespace case
- An error is no longer logged if there isn't a frontend template for the Nutrition Facts
- Updated missing translations
- Added support for imperial pounds and metric kilograms
- Added support for passing in an image transform to
.getImageUrl()
- 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
- 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
- Fixed the Asset Sources settings to work with Craft 3.1
- Add 1/3 and 1/6 fractions
- Prevent error on no directions or ingredients
- Fixed an issue where tabs didn't work properly in the Field
- Fixed deprecation errors from Craft CMS 3 RC13
- Renamed the composer package name to
craft-recipe
- Updated to require craftcms/cms
^3.0.0-RC1
hasSettings
->hasCpSettings
for Craft 3 beta 8 compatibility- Modified config service calls for Craft 3 beta 8
- Added
craft/cms
as a composer dependency - Added code inspection typehinting for the plugin
- Redirect to the Welcome message only when the
Recipe
plugin is installed
- Fixed an issue that would cause you to be unable to choose an asset
- Merged the Field rules with parent
- Initial release