Skip to content

Releases: nylo-core/nylo

v6.0.0

02 Nov 09:40
Compare
Choose a tag to compare
  • New version of Nylo - read more about the changes here

v5.31.8

04 Sep 19:14
Compare
Choose a tag to compare
  • Update pubspec.yaml

v5.31.7

12 Aug 20:42
Compare
Choose a tag to compare
  • Update pubspec.yaml

v5.31.6

20 Jul 00:29
Compare
Choose a tag to compare
  • update api_service and form_style.dart

v5.31.5

18 Jul 12:03
Compare
Choose a tag to compare
  • New docs on nylo.dev for Forms - read more here
  • New create method added to NyFormData class. This will allow you to create the form from the instance.
  • Add FormStyle to NyForm. This will allow you to set a global style for the form. It currently only supports TextField and NyFormCheckbox widgets.
  • Ability to create custom validation rules in NyForm's and NyTextField's
  • Added refreshState to NyForm class. This will refresh the state of the form.
  • Added new typedefs FormStyleTextField and FormStyleCheckbox for handling custom styles in NyForm
  • Added clear method to NyForm class. This will clear the form.
  • Added clearField method to NyForm class. This will clear a specific field in the form.
  • Update setField and setData methods in NyForm class. This will now update the state of the form after setting the field.
  • Refactor NyTextField class
  • Refactor NyFormCheckbox class to support global styles
  • FormStyle var added to Nylo class
  • Small refactor to cli_dialog to pass static analysis
  • Update pubspec.yaml

v5.31.4

10 Jul 20:49
Compare
Choose a tag to compare
  • pubspec.yaml updates

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