Releases: verbb/hyper
Releases · verbb/hyper
1.3.1
1.3.0
Added
- Add a more descriptive warning when Hyper is initialized before Craft is.
- Link types now can specify any required plugins via
getRequiredPlugins()
.
Changed
- Improve handling of link types that are invalid (removed or unavailable).
- Hyper will now throw a fatal error if an element query is made before Craft is initialized (as per Craft best practices).
2.0.5
Added
- Add extra error logging for Matrix and Super Table fields for Typed Link field migration.
- Add “safe” attributes for various link properties to allow
setAttributes
correctly. - Add
linkUri
to the GraphQLLinkInterface
class.
Fixed
- Fix use of
initialSerializedValue
changes that were meant to address draft change behaviour. - Fix some properties of a link block being serialized when they don’t need to be.
1.2.2
Added
- Add extra error logging for Matrix and Super Table fields for Typed Link field migration.
- Add “safe” attributes for various link properties to allow
setAttributes
correctly. - Add
linkUri
to the GraphQLLinkInterface
class.
2.0.4
Fixed
- Fix compatibility with Vizy.
1.2.1
Fixed
- Fix a compatibility issue with Craft 4.11.x.
2.0.3
Added
- Add
Link::linkUri
.
Changed
- Change element-based links properly checking if their linked-to element is “empty”. For example, linking to a disabled element will now make
isEmpty
return true.
Fixed
- Fix an error for multi-site installs where element links were being incorrectly propagated.
- Fix element links not having their
linkSiteId
value reset when removing a linked element.
1.2.0
Added
- Add
Link::linkUri
. - Add “Create backup” checkbox for migrations.
- Add
create-backup
console command option for migrations. - Add missing descriptions for console commands.
Changed
- Change element-based links properly checking if their linked-to element is “empty”. For example, linking to a disabled element will now make
isEmpty
return true. - Improve GraphQL Schema generation performance. (thanks @markhuot).
- Handle migration of anchor-only URLs for Typed Link fields.
Fixed
- Fix Typed Link migration for Site link types.
- Fix parsing emoji's in link URLs. (thanks @sfsmfc).
2.0.2
Added
- Add
Link::lowerDisplayName
.
Changed
- Change
Link::lowerDisplayName
toLink::lowerClassDisplayName
. - Change
Link::displayNameSlug
toLink::classDisplayNameSlug
.
Fixed
- Fix an error where min/max links are validated for non-multi link fields.
- Fix an error for not handling invalid link content correctly.
- Fix some JS not initializing for some fields when switching link types.
- Fix an error for Feed Me.
1.1.32
Added
- Add
Link::lowerDisplayName
.
Changed
- Change
Link::lowerDisplayName
toLink::lowerClassDisplayName
. - Change
Link::displayNameSlug
toLink::classDisplayNameSlug
.
Fixed
- Fix an error where min/max links are validated for non-multi link fields.
- Fix an error for not handling invalid link content correctly.
- Fix some JS not initializing for some fields when switching link types.