From f455d190341b769b12b6f813bca128ef0bd940a8 Mon Sep 17 00:00:00 2001 From: Nick Evans Date: Tue, 19 Mar 2024 09:11:45 -0500 Subject: [PATCH] v1 upgrade notes --- docs/upgrading.md | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/docs/upgrading.md b/docs/upgrading.md index a526e44..47c984c 100644 --- a/docs/upgrading.md +++ b/docs/upgrading.md @@ -1,5 +1,12 @@ # Upgrading +## v1.0.0 +This version swaps to the Formiojs v5 release candidate and assumes Bootstrap v5 and FontAwesome 6 are in use. The package assumes Laravel Vite, which is the default, but older versions of the formio JS customizations were written with Mix in mind. + +To upgrade, ensure you are using `formiojs 5.0.0-rc.4`. You may be able to use a newer RC, but rc4 is what dynamic-forms has been tested with. + +The JS customizations have been updated. You should review the `dist/` folder against your own `resources/js/formio/` folder: [`dist/` in v1.0.0](https://github.com/NIT-Administrative-Systems/dynamic-forms/tree/v1.0.0/dist) and determine how to pull any customizations you made to the JS into the revised files. + ## v0.15.0 This version changes the `ResourceInterface::submissions()` method signature. There is a new parameter, `$context`: