Skip to content

Releases: OblikStudio/kirby-link-field

6.0.2

04 Aug 08:06
Compare
Choose a tag to compare

Full Changelog: 6.0.1...6.0.2

  • Fixed legacyLink change not present in compiled JavaScript #84

6.0.1

16 Jul 05:07
9e645a3
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: 6.0.0...6.0.1

6.0.0

04 Feb 08:03
Compare
Choose a tag to compare

What's Changed

Full Changelog: 5.2.2...6.0.0

5.2.2

11 Feb 07:40
Compare
Choose a tag to compare

5.2.1

05 Jan 16:00
Compare
Choose a tag to compare

Fixed:

  • isEmpty() incorrectly returns null for tel and email link types #73

Full Changelog: 5.2.0...5.2.1

5.2.0

15 Dec 06:08
Compare
Choose a tag to compare

Full Changelog: 5.1.0...5.2.0

5.1.0

14 Dec 08:23
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: 5.0.0...5.1.0

5.0.0

20 Nov 08:44
Compare
Choose a tag to compare
  • Added support for Kirby 3.8 and its UUIDs #65
  • Refactored toLinkObject() and added $link->isEmpty() #61
  • Added French translations (thanks to @SamuelRiversMoore)

BREAKING CHANGES

Kirby 3.8

The plugin now requires Kirby 3.8 and up due to the use of UUIDs, which are not available in previous versions.

Empty checks

The $field->toLinkObject() method now always returns an instance of the Link class and can never return null, regardless of whether the field is empty or has an invalid link. To check if a link is not empty, use the $link->isEmpty() method. For example:

$link = $page->myLink()->toLinkObject();

if ($link->isEmpty()) {
    echo 'Link is empty!';
}

4.0.1

28 Jun 18:20
Compare
Choose a tag to compare

Fix settings: false in blueprint not working #56

4.0.0

28 Jun 05:27
Compare
Choose a tag to compare
  • Add support for Kirby 3.7 #54
  • Fix global options #51, #18
  • Fix help text #37
  • Fix required: true #45
  • Add LICENSE #34