8000 Releases · formr/formr · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Releases: formr/formr

1.5.3

16 Mar 22:41
Compare
Choose a tag to compare

1.5.2

12 Aug 16:47
Compare
Choose a tag to compare
  • Fixed an issue when adding custom CSS classes to select menus
  • Fixed an issue with Bootstrap inline checkboxes

Full Changelog: 1.5.1...1.5.2

1.5.1

23 Jun 18:46
Compare
Choose a tag to compare

What's Changed

  • Add built-in support for Uikit by @coteo in #174

New Contributors

Full Changelog: 1.5.0...1.5.1

1.5.0

24 Feb 22:41
Compare
Choose a tag to compare

Potentially Breaking Changes

  • Dropped support for PHP 7.x.
  • Submitting HTML in form fields is now disabled by default.
  • Wrappers have been rewritten. Everything should be okay, but check your layouts before using in production just in case!

What's Changed

  • PHP minimum version is now 8.1.
  • Formr no longer allows HTML in form fields as a default behavior.
  • Removed several older PHP string and mcrypt functions, and replaced them with modern PHP 8 functions.
  • Added a check to make sure a directory exists before uploading files.
  • Added better support for checking if custom classes are being used.
  • Removed the Reflection method when checking for custom wrapper classes.
  • Rewrote the wrapper instantiation.
  • Cleaned up the wrapper classes.
  • Cleaned up a bunch of junk and removed a few unused methods.

Added a wrapper for Tailwind CSS

  • Formr now has a Tailwind wrapper.
  • You must require the @tailwindcss/forms plugin in your tailwind.config.js file for the wrapper to work properly.
  • You can find the Tailwind classes inside the Tailwind wrapper trait located at lib/wrappers/tailwind.php.

Note

  • I did not add return types or type hints because the code was written under PHP 5, so adding them would basically kill your app because I did a lousy job of creating the methods and properties back in the day.

  • The Bootstrap 3 and 4 wrappers have not been updated as they are obsolete.

1.4.11

08 Feb 20:50
Compare
Choose a tag to compare
  • Resolves an issue with $_SESSION and checkbox/dropdown arrays
  • Updated a Bootstrap wrapper class name

1.4.10

16 Jul 16:45
Compare
Choose a tag to compare
  • Fixed an infinite loop issue when using custom wrappers

1.4.9

27 Apr 18:44
Compare
Choose a tag to compare
  • Fixed an issue where validation rules would run if the field was empty and not required
  • Fixed an issue with the required indicator (*) in the Bootstrap wrapper

1.4.8

15 Feb 15:26
Compare
Choose a tag to compare
  • Fixed an issue with Fastform not creating a multiple select list
  • Fixed an issue with a default select_multiple() item being selected when empty
  • Fixed an issue with $_SESSION

1.4.7

05 Feb 19:58
Compare
Choose a tag to compare
  • Updated for PHP 8.2
  • Removed CSRF token from $form->send_email()
  • Added Former version and PHP version to $form->info()

1.4.6

28 Oct 16:13
Compare
Choose a tag to compare
  • Added a value attribute to the honeypot method.
  • Bug fixes
0