Skip to content

Releases: nylo-core/nylo

v5.31.3

08 Jul 03:00
Compare
Choose a tag to compare
  • Refactor FormValidator class.
    • To set a validation rule, you must now use FormValidator.rule("email") instead of FormValidator("email")
    • You can now join multiple validation rules. E.g. FormValidator().minLength(5).uppercase() will check if the value is at least 5 characters long and is uppercase.
  • Fix autofocus on Field's in NyForm
  • Small refactor to toast widget

v5.31.2

06 Jul 22:08
Compare
Choose a tag to compare
  • Add new Forms
    • NyFormCheckbox - This will create a checkbox form field
    • NyFormDateTimePicker - This will create a date time picker form field
  • Refactor NyFormData class
  • Update the Form stub
  • Add new dependency date_field
  • Update README
  • Fix slight issue with NyForm when handling validation rules
  • Update validate helper in NyState

v5.31.1

05 Jul 21:19
Compare
Choose a tag to compare
  • Fix deleteAll() method in Backpack to not remove the nylo key
  • Small tweak to the default toast_notification_widget.dart style

v5.31.0

02 Jul 03:13
Compare
Choose a tag to compare
  • New NyForm widget! Designed to help you create forms easier in your app. Learn more here https://nylo.dev/docs/5.20.0/forms
  • Fix password_v1 & password_v2 validation rule not working in all cases
  • Add makeForm to MetroService class to create a form
  • Update EmailRule, URLRule to check null values
  • Rename PhoneNumberUsaRule to PhoneNumberUsRule
  • Update textFieldMessage on some validation rules
  • Small refactor of NyTextField widget. The copyWith contains new parameters.
    • New passwordViewable parameter added to NyTextField widget
    • New validateOnFocusChange parameter added to NyTextField widget
  • Update NyState to check when post frame is complete for a better user experience
  • New NyFormPicker Widget added to the library - This will create a bottom modal with a picker. It can be used in NyForm's and as a standalone widget.
  • New NyForm.login method added to NyForm class - This will create a login form
  • Ability to add custom form casts to NyForm class via Nylo.
  • Ability to create Forms using Metro. E.g. metro make:form register
  • New stub for creating Forms
  • Small refactor to model stub
  • Refactor slate command to metro slate:publish
  • New metro slate:install command to install the slate package and publish all the files
  • Update docs
  • Update pubspec.yaml

v5.30.4

16 Jun 16:27
Compare
Choose a tag to compare
  • Add support for the child parameter in NyStatefulWidget to be a Function that returns a State.
  • Update pubspec.yaml

v5.30.3

15 Jun 00:08
Compare
Choose a tag to compare
  • update pubspec.yaml

v5.30.2

14 Jun 21:09
Compare
Choose a tag to compare
  • update pubspec.yaml

v5.30.1

13 Jun 07:26
Compare
Choose a tag to compare
  • Update pubspec.yaml

v5.30.0

11 Jun 17:43
Compare
Choose a tag to compare
  • Fix MetroService not properly suffixing the file names
  • Added StorageConfig class to the library. This will allow you to set the storage configuration for your app.
StorageConfig.init(
   androidOptions: AndroidOptions(
      resetOnError: true,
      encryptedSharedPreferences: false
   )
);
  • Set NyRichText style color to Colors.black by default
  • Update pubspec.yaml

v5.29.0

06 Jun 19:32
Compare
Choose a tag to compare
  • Added containsRoutes method to Nylo class. Now you can check if your router has specific routes. E.g. Nylo.containsRoutes(["/home", "/settings"])
  • Fix MetroService duplicating slate file names
  • Update home_page.dart to check if auth routes are defined
  • pubspec.yaml update