Skip to content

4.0.0-beta.1

Pre-release
Pre-release
Compare
Choose a tag to compare
@bastianallgeier bastianallgeier released this 07 Sep 15:11
bc43ab0

🎉 Features

  • Each Panel area can now define additional requests for simple data endpoints or actions #5531
  • New assets extension that allows plugins to specify assets from custom paths and with a wider range of extensions than previously supported #5557

✨ Enhancements

  • Async $helper.upload() JS #5487
  • Correct autofocus handling for blocks, layout, structure and picker fields #5524
  • $panel.upload() will now only start up to 20 uploads concurrently and adding additional uploads consecutively whenever a previous one finishes #5491
  • New design for the range field #5539
  • All minified panel assets now add .min to the filename. This will avoid auto-minification in Cloudflare and possibly other environments #5536
  • Page move dialog now disables all pages that are invalid new parents for the page #5531
  • The multiselect and tag dropdowns now offer more space to not cut off longer options #5533
  • New html prop for k-bubble, k-bubbles and k-bubbles-field-preview. #5493
  • Increase the font size for help text in sections and fields #5549
  • New translate icon #5565
  • Str::template() support single and double curly braces as start/end delimiters by default #5556
  • sortBy in structure fields works now #5567
  • More type hints #5559
  • Input CSS refactoring #5553
    • Simplified and cleaned up input CSS
    • Better configuration options for inputs through CSS variables
    • Increased font size to 16px on mobile #5395
  • Refactored k-text styles to cover more marks and general text styles for the writer and text blocks #5569

🐛 Bug fixes

  • Structure field: translate column label correctly #5485
  • Load container query polyfill only when needed #5505
  • Expose dialog and drawer mixins to plugins #5498
  • Fixed deleting user avatars #5496
  • Custom icons with 24x24 viewbox are supported now #5492
  • Link dialog: show expand toggle for pages with just drafts as children #5504
  • Fixed block field preview in fields and columns #5417
  • The header no longer disappears when a modal is being opened #5447
  • Following a link in drawer now closes the drawer again #5497
  • Fixes missing preview icons for users, pages and files in structure tables #5525
  • Sets the focus correctly when the structure field drawer is opened #5524
  • Firefox: long dialog’s top isn’t cut off anymore #5523
  • Select dropdowns now always have a white background and black text on Windows, which make them readable again everywhere #5522
  • When choosing to show only some nodes in the toolbar, the node selector is now correctly displayed again #5521
  • Fixed pages and files section error when search filtering a paginated section #5519
  • Writer toolbar in block drawer no longer jumps down on focus. #5501
  • The autofocus is now correctly set when the drawer in the object field opens. #5527
  • The multi select field does no longer show the create button, unless the accept option is setup to accept additional entries. #5533
  • Fixed nesting order of marks in the writer #5481
  • The page tree only shows listable pages #5546
  • Styling fix for the toolbar in the text block #5502
  • Page preview field: fixed escaping #4041
  • Removed unnecessary tabindex on main element #5548
  • Label for the menu toggle and the menu element #5548
  • Add type=button to the header button #5548
  • Turn up contrast for the edit icon in the header #5548
  • Use a div instead of a meaningless fieldset without legend in k-fieldset #5548
  • k-collection and k-items: options slot gets properly exposed also for table layout #5561
  • Fixed link field when UUIDs are switched off #5489
  • Fixed overflow in breadcrumbs
  • Fixed broken window.panel.$vue reference for kirbyup
  • Fixed contrast for the info text in stats
  • Fixed progress bar style in Firefox
  • Fixed option issue in uploader
  • Fixed dropzone style

♻️ Refactored

  • Reduce JS forEach usage #5494
  • Various fixes for PHP types #5495
  • Improve main view bottom padding #5542

☠️ Deprecated

  • Custom icons using a 16x16 viewbox have been deprecated. In an
    upcoming version, Kirby will only support custom icons with a 24x24
    viewbox by default. If you want to continue using icons with a different viewport, please wrap them in an <svg> element with the corresponding viewBox attribute.

🚨 Breaking changes

  • Files in a plugin's assets directory are now always assumed to be public, independent of their file extension. If your plugin needs to store other files in the assets directory, please use the new assets extension to explicitly define the public assets. #5557

🧹 Housekeeping

  • Whoops is now generally disabled during PHPUnit test runs to reduce memory usage during tests #5554