github getkirby/kirby 4.3.0

latest releases: 3.10.1, 5.0.0-alpha.1
15 days ago

🎉 Features

  • System view: added button to copy relevant system information #6416
  • <k-button>theme supports values suffixed with -icon now, e.g. positive-icon for filled buttons with only the icon colored
<k-button icon="heart" theme="negative-icon" variant="filled">Love</k-button>

✨ Enhancements

  • Remove hard-coded restriction of supported servers #6415
  • Plugin registration with named arguments #6337 Allow passing plugin info, e.g. version, as argument that gets merged with the info from composer.json
Kirby::plugin(
    name: 'my/plugin',
    extends: [],
    info: [
        'homepage' => 'https://my-plugin.example.com'
    ],
    version: '1.0.0'
);

Untitled

  • (video: ) KirbyTag: support for disablepictureinpicture attribute #6413
  • Editor: new insertNode util #6383
  • CSS data-theme with color names #6407
  • New download prop for k-link (and respective k-button when passing a link) to set the download attribute #6417
  • Page section: Show Add button also in sections only showing listed/unlisted pages when all allowed blueprints create new child pages directly as listed/unlisted https://feedback.getkirby.com/181
  • Dropdown options can emit global Panel events on click now, which can be used e.g. when extending setting dropdowns in a plugin to react in JS with an action when option is clicked https://feedback.getkirby.com/638 #6411
  • Panel notifications support theme prop #6423
  • New window.panel.notification.info(message). #6423
  • Upload dialog: better preview icons and separate components for upload items and a single upload item #6424
  • QrCode class: methods accept new $border argument #6445 (thanks @rasteiner)
  • Added lab examples for k-login and k-login-code. #6365
  • Updated PR template #6464

🐛 Bug fixes

  • Editor: nodeInputRule only overwrites matched selection #6385
  • Writer: inline nodes are included when inline: true mode is active #6386
  • File create format option is not applied to non-images anymore #6359
  • Non existing media files no longer throw error 500: the thumbnail configuration could not be found #6453
  • Fix deprecation warning in router #5895
  • Panel search fixed when UUIDs are disabled (thanks to @toebu) #6395
  • Fixes Title and Link text translations for the different usages: #6402
    • Writer field email dialog hasTitle field
    • Textarea field email dialog has Link text field
  • File upload: fix sort number #6380
  • Fix tab badges #6427
  • CalendarInput: fix when no value #6422
  • DateInput: fix clearing #6392
  • Upload dialog: allows @. and _ in filenames to be consistent with other filename rules #6462
  • $file->changeName() now sanitizes new filenames with. included correctly #6462
  • Fix line break when label in block preview fields is too long (thanks @tobimori) #6452

☠️ Deprecated

  • Plugin registration: Passing info or root in plugin extends array. Instead pass these as standalone named arguments.
  • <k-login> is deprecated. Use <k-login-form> instead.
  • <k-login-code> is deprecated. Use <k-login-code-form> instead.

♻️ Refactored

  • Reusing link and button props in higher-up components #6417
  • Introduce new App::currentLanguage() method #6434
  • Refactor App::language() to introduce new current option which creates a more predicatable way to
    fetch languages in content, translation and future version methods. #6434
  • Clean up of components code for k-login and k-login-code. #6365
  • Moved all login-related Vue components into same location #6463
  • Aligned some of the component names #6463

🧹 Housekeeping

Don't miss a new kirby release

NewReleases is sending notifications on new releases.