Skip to content

Latest commit

 

History

History
735 lines (469 loc) · 25.7 KB

CHANGELOG.md

File metadata and controls

735 lines (469 loc) · 25.7 KB

Changelog

All notable changes to laravel-splade will be documented in this file.

1.4.20 - 2024-11-20

What's Changed

  • Support for PHP 8.4 by @pascalbaljet in #648

Full Changelog: https://github.com/protonemedia/laravel-splade/compare/1.4.19...1.4.20

1.4.19 - 2024-03-20

What's Changed

  • Bump aglipanci/laravel-pint-action from 2.3.0 to 2.3.1 by @dependabot in #562
  • Bump nick-invision/retry from 2 to 3 by @dependabot in #558
  • Bump actions/upload-artifact from 3 to 4 by @dependabot in #559
  • Bump actions/cache from 3 to 4 by @dependabot in #560
  • Bump actions/checkout from 4.1.1 to 4.1.2 by @dependabot in #561
  • fix: missing translation in confirm.blade.php by @ibrunotome in #496
  • Add blob option for Form Builder by @jamesj2 in #461
  • Fix select duplicate queries by @KinArnaud in #466
  • Support for HtmlString in Toasts by @pascalbaljet in #563
  • Fix formbuilder events by @jamesj2 in #479
  • #450: updated HTML tag matching Regexp in CustomBladeCompiler.php by @majortom731 in #451

New Contributors

  • @ibrunotome made their first contribution in #496
  • @jamesj2 made their first contribution in #461
  • @majortom731 made their first contribution in #451

Full Changelog: https://github.com/protonemedia/laravel-splade/compare/1.4.18...1.4.19

1.4.18 - 2024-03-18

What's Changed

  • Support for installing on fresh L11 installations by @pascalbaljet in #557

Full Changelog: https://github.com/protonemedia/laravel-splade/compare/1.4.17...1.4.18

1.4.17 - 2024-03-18

What's Changed

  • Bump actions/checkout from 3.5.3 to 3.6.0 by @dependabot in #512
  • Bump stefanzweifel/git-auto-commit-action from 4 to 5 by @dependabot in #528
  • Bump actions/setup-node from 3 to 4 by @dependabot in #530
  • Bump actions/checkout from 3.6.0 to 4.1.1 by @dependabot in #531
  • Support for Laravel 11 and PHP 8.3 by @pascalbaljet in #553

Full Changelog: https://github.com/protonemedia/laravel-splade/compare/1.4.16...1.4.17

1.4.16 - 2023-08-03

  • SEO bugfix for overwriting defaults
  • Workaround for missing Remote URL
  • Fixed Dusk CI tests

1.4.15 - 2023-06-26

  • The Table component now preserves the scroll position when the sorting changes.
  • The Link component now respects system modifiers, for example, to open a new tab.
  • There's a new pagination-scroll attribute on the Table component to control the scroll behavior when using pagination. Valid values are top (default), head, and preserve.
  • You may now disable the Reset-button on the Table component with the reset-button attribute.
  • When using View Transitions, it will prevent a transition when the page just refreshes.

1.4.14 - 2023-06-14

  • Downgraded the HeadlessUI library because of a bug in the upstream package

1.4.13 - 2023-06-14

  • Experimental support for the View Transitions API
  • Fix translations for Table pagination (#389)
  • Option to suppress Vue’s compile errors in production (prevents blank pages)
  • Support for Events on Bridge components (thanks @bdsumon4u)
  • Fixed typo in Form Builder Select element (thanks @J87NL)
  • Add Forms and Tables directories to Tailwind config as a suggestion (thanks @J87NL)
  • Support for custom classes on the wrapper of the Submit element (thanks @J87NL)
  • Fix for passing Flatpickr options with the Form Builder (thanks @YungLin-CHU)
  • Allow other values than strings for checkboxes/radios in the Form Builder (thanks @J87NL)
  • Option to automatically add an asterisk to the label of required form elements (thanks @J87NL)

1.4.11 - 2023-05-18

Fixed wrong Jodit import in v1.4.10 🙃

1.4.10 - 2023-05-18

  • Support for Jodit editor (thanks @J87NL!)
  • Support for the blob attribute in the Form component

1.4.9.1 - 2023-05-18

Patch release for newer Laravel versions

1.4.9 - 2023-05-18

  • Splade now respects URL fragments in the Link component

1.4.8.1 - 2023-05-17

Minor update that bumps the JS dependencies, especially laravel-vite-plugin. As of Laravel 10.2 (skeleton, not the framework), the package.json type default to module, which caused issues with earlier versions of the Vite plugin.

1.4.8 - 2023-04-29

  • Improved handling of Table Bulk Actions

1.4.7 - 2023-03-30

  • Use Vite 4 + updated npm dependencies (by @evici)
  • Allow a Closure as sortable parameter for Table columns (by @Jampire)
  • Table columns can now be aligned (left, center, and right)
  • Allow HtmlString for label/help attributes
  • htmlLabel and htmlHelp Form builder methods to allow texts that won't be escaped
  • Fixes for Form Builder validation (by @J87NL)
  • Fix for resolving the JS package version using the latest npm (by @Jampire)
  • Prevent horizontal scrollbar while opening slideovers (#350)
  • Improved animation when reloading the same modal
  • The Render component now emits an event after rendering the content
  • The SpladeMiddleware now ignores responses with a Content-Disposition header (#368)
  • Table classes now have a static build() method to improve support for custom tables (#334)

1.4.6 - 2023-03-24

  • The keep-modal attribute from the Link component now also works on the Form component
  • Bridge components now work from URLs that use route bindings
  • The Lazy Component now retrieves the original URL from the backend instead of from the browser
  • Better handling of opening URLs in a Modal that only respond with a Toast
  • The Default Toast settings now also apply to Toasts sent from Broadcasted events
  • The Table component now resolves values from objects that use a magic getter
  • Partial refactor of the SpladeMiddleware

1.4.5 - 2023-03-21

  • Option to preserve scroll position when using Splade::refreshOnEvent()

1.4.4 - 2023-03-21

  • Event + Select bugfixes

1.4.3 - 2023-03-17

  • Fixed duplicate select event

1.4.2 - 2023-03-17

  • Added select-first-remote-option and reset-on-new-remote-url attributes to Select component
  • Support for transformed values in Table component
  • Improved handling of resource loading in Table component
  • Improved handling of AuthenticationException
  • Bugfix for Choices.js instance in Modal component

1.4.1 - 2023-03-15

  • Support for closing modals explicitly (don't close on escape keypress or click outside)
  • Support for Table column classes
  • Allow x-splade-button component to be a Link element (with type="link")
  • Allow Eloquent Relationship instances in Splade Table
  • Transformer fix for nested data
  • Only test Windows stubs on latest version

1.4.0 - 2023-03-10

  • Form Builder by @J87NL

1.3.1 - 2023-02-28

  • Table Component UI fixes

1.3.0 - 2023-02-28

  • (Beta/Experimental) Added a WithVue trait to bind Blade Component method/props to Vue templates.
  • Support for Transformers to safely pass data to the frontend (Bridge, Data, Defer, Form components)
  • Support for empty state in Table Component (by @lartisan)
  • Added zh_CN translation (by @myxiaoao)
  • Added additional debugging info in the Event component
  • Table Bugfix for using both Bulk Actions and the Row Link feature (by @zulfikar-ditya)

1.2.15 - 2023-02-16

  • Global Data store now keeps working with async data from the DynamicHtml, Lazy, and Rehydrate components
  • Textarea markup fix (#300 - thanks @evici!)
  • Fix for Data component when rendered server-side

1.2.14.1 - 2023-02-15

  • Patch release for Laravel 10

1.2.14 - 2023-02-13

  • SpladeTable now uses the Conditionable trait.
  • Splade Middleware now has a static afterOriginalResponse() method to interact with the original, pre-Splade response.

1.2.13 - 2023-02-12

  • Errors from the session will now be passed to the frontend
  • Bugfix for resolving the Blade compiler out of the container

1.2.12 - 2023-02-10

  • Support for Global Data Store
  • Support for custom headers in the Defer Component
  • Modals can now be opened by default on page load
  • Sharing data with a callback will now be resolved on response instead of immediately
  • Fix for Toasts containing multiple lines
  • Fix for custom label slot in Checkboxes and Radios components
  • Massive refactor of some internal Blade magic
  • Increased the default wait time in the Dusk test suite, which significantly improves the CI results

1.2.11.1 - 2023-02-07

  • Bugfix for missing config for new Blade directives

1.2.11 - 2023-02-04

  • Added @seoTitle, @seoDescription, and @seoKeywords Blade Directives
  • The Form and Link components now have a confirm-danger attribute in addition to the existing confirm attribute
  • Improved style handling for the Form Group component
  • Rehydrating multiple sections at once sometimes messed with the progress bar, this is now fixed

1.2.10 - 2023-02-03

  • Refactor of the changes in 1.2.8 + 1.2.9

1.2.9 - 2023-02-03

  • Fixed handling of non-default valdation bags

1.2.8.1 - 2023-02-03

  • Minor bugfix

1.2.8 - 2023-02-03

  • Improved support for custom headers in the Form Component
  • Improved Dusk table tests
  • Improved handling of validation errors on requests other than Accept: application/json
  • The Form and Link component now default to Accept: text/html, application/xhtml+xml for improved handling of redirects
  • The Splade Middleware now prevents an additional front-end request when the X-Splade-Prevent-Refresh header is used

1.2.7 - 2023-02-01

  • Added require-password-once attribute to Form and Link components
  • Fixed consistency of button styling (file input and form submit)

1.2.6 - 2023-02-01

  • The Data Component now restores the saved data before it mounts, allowing the remembered data to be passed to a child component.
  • Added background and debounce props to the Form Component to accompany the submit-on-change feature.
  • The Form Component now prevents submitting the request when the action is set to #.

1.2.5 - 2023-01-30

  • Support for password confirmation in Table Bulk Actions (#255)
  • The success event of the Defer component now emits the response data
  • Bugfix for selecting all filtered results (#266)
  • Improved Filepond testing with Dusk

1.2.4 - 2023-01-25

  • Support for dynamic URL in Defer component
  • Support for left-positioned Slideover

1.2.3 - 2023-01-24

  • Fix for wrong order of Lazy and Rehydrate components.

1.2.2 - 2023-01-23

  • Confirm modal now supports requiring the users' password
  • Support for image preview in the File component (without using Filepond)
  • Support for poll in the Rehydrate component

1.2.1 - 2023-01-20

  • Russian (ru) translation (thanks @twent)
  • Bugfixes

1.2.0 - 2023-01-20

  • Added Filipino (fil) translation (thanks @whoami15)
  • Event Bus added ($splade.on(), $splade.emit())
  • Rehydrate feature
  • Custom Script component

1.1.7 - 2023-01-19

  • Fix default restoreOnSuccess property value in Form component
  • Added Indonesia translation (thanks @zulfikar-ditya)
  • Added missing primaryKey method (fixes #240)

1.1.6 - 2023-01-15

  • Support for Laravel 10 (thanks @askdkc)
  • Added ja, ar, fa, fr, it, ne, ur, bn, de, and ms translation files (thanks @askdkc, @aeq-dev, @mszabeh, @KinArnaud, @ousid, @AndreaBellini23, @surajkhanal, @AamirSohailKmAs, @istiak-tridip, @Udaberrico, and @rusdyahmad)
  • Fix for (external) JSON responses without properly encoded JSON content
  • Improved Dusk tests

1.1.5 - 2023-01-09

  • Fix for searching through nested relationships using Spatie's Query Builder (#178)
  • Added es, pt_BR, pt_PT, and uk_AU translation files (thanks @WendellAdriel, @Hladenkyi, and @JorgeNortes)

1.1.4 - 2023-01-09

  • Workaround for default numeric values using remote options with Choices.js (#163)
  • Fix for replacing the URL of the current page (#140)

1.1.3 - 2023-01-08

  • Added a preserve-scroll attribute to Link and Form component
  • FormData passed to a GET request is now added as a query string (#188)
  • Fix for toasts firing multiple times on Octane (#151)
  • Added support for a custom exception handler
  • Added English and Dutch translations
  • Translations can now be published
  • Added Larastan static analysis

1.1.2 - 2022-12-22

  • Fixed a navigation bug (Chromium browsers only) that occurred when switching between SPA and non-SPA pages using the back/forward buttons

1.1.1 - 2022-12-22

  • The vertical position of the Modal component is now configurable
  • Support for setting a root path for remote Select options (#154)
  • Improved install command (#144)
  • Fixes for using the Table component in a Modal (#141)

1.1.0 - 2022-12-08

  • Support for handling existing files with the FilePond integration, including support for Spatie's Media Library.
  • Support for PHP 8.2.
  • Refactored the Vue Teleport component.

1.0.4 - 2022-11-28

  • Added setting to escape validation messages or not (#134)
  • Bugfix for resolving FilePond uploads (#126)

1.0.3 - 2022-11-27

  • Better JS console error message when the response is not a Splade response
  • Improved persistent layout handling

1.0.2 - 2022-11-25

  • Form Components now respect the autofocus attribute
  • Fix for Table rowLink feature when combined with custom cells containing other links

1.0.1 - 2022-11-23

  • Fix for validating uploads with a Rules\File::class instance

1.0.0 - 2022-11-23

Splade gives you a massive head start when building applications. Navigate the documentation or watch the videos to discover its power, but to give you a glance, here's a short overview of some of the best features:

  • Splade allows you to use the Laravel Blade template engine and build a single-page application using regular server-side routing without building an API. You still have the full power of Vue.js when you need it.
  • Splade aims to stick as close as possible to the default Laravel features and development flow.
  • Automatic installer and support for the Laravel Breeze starter kit.
  • Besides the SPA navigation features, it has more than 20 interactive components that are huge timesavers.
  • Most components are functional and unstyled, giving you complete control over the implementation.
  • Other components are styled with Tailwind CSS 3.0, but can be fully customized by publishing the Blade templates. You don't need to rebuild or recompile any JavaScript for this.
  • Built-in support for Modals and Slideover that can show any route or pre-loaded content.
  • Beautiful Form Components with support for Validation and (Eloquent) Model binding. Built-in integration with Autosize, Choices.js, FilePond, and Flatpickr, including async file uploads.
  • DataTables-like Table component that supports auto-fill, bulk actions, exports, searching, sorting, and more!
  • Support Lazy Loading (templates and data), Persistent Layout, Animations, and Teleports.
  • Laravel Echo integration to control browser behavior from the backend (redirecting, refreshing, and showing a toast).
  • Built-in SEO (title, description, keywords) with support for Open Graph and Twitter tags.
  • Support for custom Blade and Vue components.
  • Support for existing Blade and Vue libraries.
  • Support for SSR (server-side rendering).

0.7.8.2 - 2022-11-23

  • Fix for publishing Form stylesheets
  • Slideover styling fix

0.7.8.1 - 2022-11-22

  • Allow modal/slider classes on outer div

0.7.8 - 2022-11-22

  • Fix for custom cells of nested columns
  • Vue main element cleanup after mount

0.7.7 - 2022-11-19

  • Allow Link component to make non-GET requests (#122)
  • Prevent wrong pagination call (#110)
  • Move the ESM bundler from vite.config.js to app.js

0.7.6.1 - 2022-11-19

  • Added splade:show-versions Artisan command

0.7.6 - 2022-11-16

  • FilePond integration with support for: Drag-and-drop uploads, Image previews, Async uploads, File type validation, File size validation, and Image validation

0.7.5 - 2022-11-15

  • Table Component: resolve row links after the resource has been loaded

0.7.4 - 2022-11-15

  • Preserves the default perPage pagination value in the perPage selector.
  • Added build() helper method to dedicated tables.
  • Added MySQL, PostgreSQL and SQLite to the test matrix.
  • DB performance improvements in SpladeTable wildcard searches.

0.7.3 - 2022-11-15

  • Added helper methods to sort the Table Resource in descending order
  • Table component fix for Select Filter with numeric keys
  • Choices.js fix for selecting a default value

0.7.2 - 2022-11-14

  • Support for pre-loaded modals/slideovers

0.7.1 - 2022-11-03

  • Support remote options in Form Select component
  • Choices.js placeholder and styling improvements
  • Improved Dusk macros for selecting Choices.js options
  • The Dusk suite now checks whether the websockets server is running

0.6.13 - 2022-10-31

  • Fix for closing the Choices.js dropdown when rendered in a Headless UI Modal

0.6.12 - 2022-10-31

  • Support for nested relationships in Form Components

0.6.11 - 2022-10-26

  • Escape meta tag values

0.6.10 - 2022-10-26

  • Axios fix

0.6.9 - 2022-10-25

  • Improved SEO handling with support for Open Graph and Twitter meta tags, Canonical URL, and separate configuration file.

0.6.8 - 2022-10-23

  • Support for external domains in the Link component

0.6.7 - 2022-10-23

  • Splade Middleware refactor

0.6.6 - 2022-10-23

  • Support for external redirects (automatic and explicit via Splade::redirectAway())
  • With a Date-range Form Input component, only update the internal Vue model when both dates are selected

0.6.5 - 2022-10-20

0.6.4 - 2022-10-20

  • Choices.js fix for default array values
  • Improved Dusk macro for Choices.js

0.6.3 - 2022-10-18

  • Modal/slideover size tests + styling bugfix

0.6.2 - 2022-10-17

  • Form submit-on-change attribute
  • @preserveScroll directive
  • Form stay now also ignores responses that don't redirect back
  • Additional test for using form components with v-model instead of a name attribute

0.6.1 - 2022-10-14

  • Added test + fix for form method spoofing

0.6.0 - 2022-10-14

  • Built-in Query Builder for Table component
  • Optional custom cell component in addition to the existing directive (@cell)
  • Support for Table objects so you can reuse table configurations
  • Support for Bulk Actions (requires a table object)
  • Support for Exports (requires a table object)
  • make:table Command
  • Support for Modal/Slideover as Table RowLink
  • Bugfix for #74

0.5.12 - 2022-10-07

  • Added 'scrollToError' form prop

0.5.11 - 2022-10-06

  • When the keep-alive component is used, the Dialog component will now be hidden when the user navigates to another page

0.5.10 - 2022-10-06

  • You may disable the paginator when the resource only contains one page (SpladeTable::hidesPaginationWhenResourceContainsOnePage())
  • On validation errors, the Form component scrolls to the first element with an error. You may disable this with the scrollOnError prop.

0.5.9 - 2022-10-05

  • The debounce value of the Table component is now configurable.
  • You may now pass a value to the Defer component that it will watch and perform a request whenever the value changes (with an optional debounce).
  • The Defer component now has a manual attribute to prevent it from loading after mounting.
  • The Dropdown component now has a teleport attribute to indicate whether it should be attached to the body.

0.5.8 - 2022-10-04

  • The default confirm texts are now translated by default

0.5.7 - 2022-10-04

  • Dropdowns are now rendered using portals, for example, so that they are rendered outside of tables to prevent overflow issues
  • Support for inline dropdowns
  • Custom Table cell regex bugfix

0.5.6 - 2022-10-03

  • Support for rendering the Table component with auto-fill, but without the thead element
  • Improved Choices.js compatibility in the Select component
  • Improved support for registering multiple custom Vue components at once
  • File Input component UI fixes
  • Table component UI fixes

0.5.5 - 2022-09-27

  • Fix for wrong poll type in Defer component
  • Support for setting the 'per-page' options globally or disable it (Table component)
  • Support for defining the Toast message in the style/position method - Toast::danger('Whoops!')
  • SpladeMiddleware and ServiceProvider refactor
  • Added tons of docblocks and comments in the codebase

0.5.4 - 2022-09-25

Added docblocks + refactor

0.5.3 - 2022-09-23

  • Fix for lazy components without placeholder

0.5.2 - 2022-09-23

  • Better Toast TX
  • Improved styling of fixed elements

0.5.1 - 2022-09-23

  • Middleware refactor to make sure HTTP Tests still work.

0.5.0 - 2022-09-22

  • Lazy Loading
  • Teleport
  • Transitions
  • Persistent Layout

0.4.25 - 2022-09-15

  • Table responsive UI fixes

0.4.24 - 2022-09-15

  • The wrapper around the Table component can now be styled with classes
  • Ability to disable 'toggleable' Table columns by default
  • Ability to disable Choices.js/Flatpickr on specific elements while it's enabled globally
  • Fix for binding the form submit method to a v-on:change attribute

0.4.23 - 2022-09-14

  • The $__env variable is now available to custom cells when using the Table component

0.4.22 - 2022-09-12

  • New checkboxes and radios components
  • Some small refactors

0.4.21 - 2022-09-09

  • Render action attribute on Form component

0.4.20 - 2022-09-09

  • Workaround for selected options in SSR render

0.4.19 - 2022-09-09

  • Fixed Input component styling issue
  • The Form component now always has a method attribute
  • Improved Choices.js and Flatpickr bindings for SSR

0.4.18 - 2022-09-08

  • Styling fixes for a disabled Form Input component
  • Fix for nested data with FormData

0.4.17 - 2022-09-07

  • Always use FormData when sending forms

0.4.16 - 2022-09-07

Revert a7c2919 because it breaks unfilled checkboxes

0.4.15 - 2022-09-07

Bugfix

0.4.14 - 2022-09-07

  • Support for Eloquent relationships with the Form Checkbox component
  • Support for submitting a form without an event object
  • Fix for binding nested data

0.4.13 - 2022-09-05

  • Fix for NProgress import in dev build

0.4.12 - 2022-09-02

  • Fix for #33

0.4.11 - 2022-09-02

  • Progress bar
  • More versatile dropdown component
  • Default transition animation in the button dropdown
  • Dropdown component now closes on escape keypress
  • Transition component (internal only, might open up at some point)
  • Refactored the Splade installer to prepare for the Breeze starter-kit

0.4.10 - 2022-08-31

  • Prepare Splade installer for Breeze starter-kit
  • Fix for not showing the bound values when using Choices.js and Flatpickr

0.4.9 - 2022-08-25

  • Styling issues fixed

0.4.8 - 2022-08-25

  • Support for name and value attributes in the Submit component
  • Styling fixes
  • Ignore StreamedResponse in Splade middleware
  • Additional tests for nested data

0.4.7 - 2022-08-24

  • Simplified redirects

0.4.6 - 2022-08-24

  • Prepare form help texts

0.4.5 - 2022-08-24

  • Fix for undefined checkboxes
  • Fix for form elements without a name attribute
  • Cleaner submit component

0.4.3 - 2022-08-24

  • Better handling of undefined data in the Form Component
  • Exclude binary file responses from the Splade middleware

0.4.2 - 2022-08-22

  • Middleware fix for resolving validation errors
  • Disable the form fields when processing

0.4.1 - 2022-08-22

Cleanup

0.4.0 - 2022-08-22

  • Form Components to rapidly build forms. It supports model binding and validation, includes default styling, and is still fully customizable! It integrates with Autosize to automatically adjust textarea height, Choices.js to make selects searchable and taggable, and Flatpickr to provide a powerful datetime picker.
  • Default data passed to <x-form> now requires the unguarded attribute when binding an Eloquent Model or Fluent instance. This is not necessairy when using the new Form Components.

0.3.1 - 2022-08-12

Bump npm package

0.3.0 - 2022-08-12

  • Table component with support auto-fill, searching, filtering, sorting, toggling columns, and pagination.

0.2.2 - 2022-08-02

  • Fixed automatic installer on Windows (#18) and added Windows to GitHub Actions.
  • Removed Tailwind classes in Vue components (#26)

0.2.1 - 2022-07-29

  • Default close button for Modal and Slideover components (#14)
  • Fix for rendering classes on the Form component (#17)

0.2.0 - 2022-07-28

0.1.2 - 2022-07-25

  • Fix processing prop in Form component (#11)
  • Fix request prop in Defer component (#9)
  • Fix for remembered data when using default data (#10)
  • Fix for validation errors in Modal component (#7)

0.1.1 - 2022-07-22

Dep fix

0.1.0 - 2022-07-22

Initial relase