All Notable changes to schema-org
will be documented in this file.
- Added:
BaseType::addProperties
method to add multiple properties in one go - Fixed:
@param
hints now also have array versions of the accepted data types, likestring|string[]
- Added:
__call
catches unknown methods and callssetProperty
under the hood, using the method name as the property name and the first argument as property value - Added (by updating generated types):
CreativeWork::accessMode
,CreativeWork::accessModeSufficient
,CreativeWork::accessibilitySummary
,Event::audience
,FoodEstablishment::hasMenu
- Removed (by updating generated types, note that this isn't breaking because
__call
will catch your method calls):Menu::menuAddOn
- Fixed: New lines are considered and no longer break docs
- Fixed: HTML line breaks are removed from the docs
- Added: Objects that implements
DateTimeInterface
are now formatted to an ISO 8601 compliant string - Fixed: Some properties were missing due to some whitespace parsing issues
- Added:
if
function to conditionally modify the schema
- Fixed: Arrays of properties are now correctly serialized when converted to ld+json
- Initial release