Skip to content
This repository has been archived by the owner on Apr 30, 2018. It is now read-only.

Releases: formly-js/angular-formly

v6.24.4

28 Aug 20:50
Compare
Choose a tag to compare

<a name"6.24.4">

6.24.4 (2015-08-28)

Bug Fixes

v6.24.3

28 Aug 20:44
Compare
Choose a tag to compare

<a name"6.24.3">

6.24.3 (2015-08-28)

Bug Fixes

  • build: Add publish:latest 🐳 (e189d6b5)

v6.24.2

28 Aug 18:49
Compare
Choose a tag to compare

<a name"6.24.2">

6.24.2 (2015-08-28)

Bug Fixes

  • release: Don't commit as part of release process (07d199e5)

v6.24.1

28 Aug 18:30
Compare
Choose a tag to compare

<a name"6.24.1">

6.24.1 (2015-08-28)

Bug Fixes

  • build: Commit the build before publishing (1bdc256c)

v6.24.0

28 Aug 18:09
Compare
Choose a tag to compare

<a name"6.24.0">

6.24.0 (2015-08-28)

Features

1.0.0

25 Oct 01:29
Compare
Choose a tag to compare

1.0.0 Changeset

Backward compatible changes:

  • Fixed bug with initializing select template.
  • Added the ability to do validation on fields with formly-dynamic-name.
  • Added formly-custom-validation directive.
  • Added warning in formly-field when more than just a type, template, or templateUrl are provided (should only have one)

Internal Changes

  • Moved all demo-only related files to a demo folder and added a symbolic link to src and bower_components so when it's deployed the src and bower_components go with it. This will also allow us to make a symlink in the test directory when it's created.
  • Separated out the src folder into three sub folders: common, bootstrap, and vanilla. The build takes bootstrap and vanilla and builds them separately. They each build with common. There is also a separate file for setting up the default template mapping with their types and this is excluded for the no-templates build. The final output is: formly.js, formly.bootstrap.js, and formly.vanilla.js. Adding other styles will be very easy. It also should make it possible for us to have directive templates (funcationality for a field).
  • Updated the demo to use a built version of formly because templates were such a pain. The Gruntfile has been updated to rebuild bootstrap every time something changes when grunt watch is running.
  • Moved the formly-form template into a file again and added transclusion.

Breaking changes:

  • Moved all field templates to separate repositories.
  • Added no-template build that builds to formly.js and changed vanilla build to formly.vanilla.js.
  • Removed all options to customize the submit button and now transclude instead. Because there are multiple skins of formly it made little sense to have a template for formly that needed different styling based on the build target (bootstrap vs. vanilla). The formly-form directive now transcludes so a submit button can be added there.
  • Removed formlyOptionsProvider because all useful global customizability is now unecessary.
  • Renamed formlyTemplateProvider to formlyConfigProvider to make it more generic for any future customization needs. The api is the same as before.
  • Added setTemplate and getTemplate to the formlyConfigProvider allowing developers to set template strings rather than simply a url.
  • Removed default property. Interact with the formData to set the form data.
  • Removed value from scope on templates. To access the value, you must now use result[option.key || $index].

0.0.16

20 Aug 23:53
Compare
Choose a tag to compare

0.0.16 Changeset

  • The password field no longer uses whitespace trimming.
  • Added option to override whitespace trim setting for the password field.
  • Revised support for setting the default for select fields.
  • Added notes on contributing.
  • Fixed #55 Error: field.watch.listener is undefined.
  • Added support for description to all form fields.
  • Now providing the result to each field template authors have the power to associate other values of the result set with the template.
  • Adding requiredExpression to field options and assinging the field's required property based on its evaluation. Works very much like hideExpression.
  • Added option to use ng-if instead of ng-hide to hide fields.

Rerelease of 0.0.13

06 Aug 17:53
Compare
Choose a tag to compare

Botched a publish with npm, so 0.0.13 became 0.0.14, just needed to update the changelog.

0.0.13 Changeset

Features

Added support for both vanilla and bootstrap templates, I hope that this opens the Formly up for even more default template options for other libraries, ie Ionic or Foundation.

Moved Bootstrap bower dependency to devDependencies.

Breaking Changes

Anyone using the old library and needing bootstrap styles will need to switch to the new bootstrap js.

Override Default Options & Value Watchers

06 Aug 17:59
Compare
Choose a tag to compare

Features

Adding the formlyOptionsProvider which allows developers to set default form options.

Adding submitButtonTemplate to the configurable formlyOptions. If it has a value, then the button in the formly-form directive will be replaced with the compiled (on the scope) version of that value. Also adding twitter classes to the submit button so hopefully this template will be unecessary in some cases.

Adding the watch property which has both expression and listener properties. Formly will set a watcher on its own scope. If the watch.expression is a function, it will be wrapped and the first argument to that expression function will be the field, the rest will be the normal watch expression definition. The same is true for listener.

formlyTemplateProvider

06 Aug 18:05
Compare
Choose a tag to compare

Features

Adding the formlyTemplateProvider which allows developers to set templateUrls for types. Also allows them to make custom types.