Skip to content

Releases: nystudio107/craft-recipe

Version 1.4.1

02 Dec 01:24
Compare
Choose a tag to compare

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 the composer.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

10 May 16:51
Compare
Choose a tag to compare

Fixed

  • Fix array access on new type Int (#59)

Version 4.0.1

09 May 19:37
Compare
Choose a tag to compare

Fixed

  • Fixed an issue where model properties were not converted from an array to an int before saving ((#57)[https://github.com//issues/57])
  • Fixed an issue with assets not showing up by removing 'enabledForSite': null, from the criteria

Version 4.0.0

09 May 18:20
Compare
Choose a tag to compare

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//issues/57])

Version 4.0.0-beta.3

13 Apr 18:23
Compare
Choose a tag to compare

Fixed

  • Fixed an issue where an exception would be thrown if the FeedMe beta plugin was installed (#56)

Version 4.0.0-beta.2

14 Mar 14:02
Compare
Choose a tag to compare

Fixed

  • Fix issues with editable table fields, due to the change in default values for Craft 4

Version 4.0.0-beta.1

09 Mar 21:08
Compare
Choose a tag to compare

Added

  • Initial Craft CMS 4 compatibility

Version 1.4.0

05 Oct 18:17
Compare
Choose a tag to compare

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 and recipeCuisine fields (#50)
  • Added the field servesUnit and a method called getServes() 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 and keywords fields (#50)

Changed

  • Switched over to using VitePress for the documentation

Version 1.3.0

05 Mar 20:37
Compare
Choose a tag to compare

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

28 Jan 20:58
Compare
Choose a tag to compare

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