All notable changes to this project will be documented in this file. See standard-version for commit guidelines.
- FIO-8667: fixed location of download PDF button
- FIO-8638: fixed saving components after changing form display
- FIO-8779: updated class name for page number
- Changed resetPassForm to use resetpass key instead of register key
- Upgrade ngx-bootstrap and other dependencies
- FIO-8779 updated class name for page number
- Angular 18 upgrade
- Update renderer to 5.x
- Bump follow-redirects from 1.15.4 to 1.15.6
- Bump es5-ext from 0.10.62 to 0.10.64
- Bump ip from 2.0.0 to 2.0.1
- Bump follow-redirects from 1.15.3 to 1.15.4
- FIO-8004: Fixed loader incorrectly showing in embed reports
- Bump webpack-dev-middleware from 5.3.3 to 5.3.4
- FIO-7507: Publish dev tag to npm
- FIO-7443: Fixes authorization error recieved after logout, not allowшng to log in again
- FIO-7369: fixed issue with draft state submission
- Fixing General access to Manager using formadmin formbuilder roles
- FIO-7611: DataSource not Triggering on change events due to fromSubmission Flag
- fixed issue with providing form type
- This version supports Angular 17 with the 5.x Renderer. To use Angular 16 with the 5.x renderer, you will need to install this version and then use the following in your application.
npm install @formio/js
- This version supports Angular 17 with the 4.x Renderer. You would use this version along with this command to install the renderer.
npm install formiojs
- This version uses the 5.x version of the @formio/js renderer. To use Angular 16 with the 5.x renderer, you will need to install this version and then use the following in your application.
npm install @formio/js
-
Version 6.0 will official deprecate the Custom Components using Angular Elements feature. https://github.com/formio/angular/wiki/Custom-Components-with-Angular-Elements. If you wish to still use this feature, you will need to manually migrate the component code provided @ https://github.com/formio/angular/tree/5.5.x/projects/angular-formio/src/custom-component into your own application.
-
The FormioAppConfig now uses InjectionTokens to properly instantiate the FormioAppConfig class with the proper setBaseUrl and setProjectUrl's. This technically is not a "breaking" change since nothing should ever really change from your applications. The only thing that is different, however, is that as soon as you inject the FormioAppConfig into your application, it will have already configured the "Formio" class to point to the correct base and project url configurations. To read about InjectionToken's please read https://angular.io/api/core/InjectionToken for information on how this works.
As with before 6.x, you can provide configurations using the following method.
app.module.ts
import { AppConfig } from './app.config';
@NgModule({
...
providers: [
{provide: FormioAppConfig, useValue: {
baseUrl: 'https://api.form.io',
projectUrl: 'https://myproject.form.io'
}},
...
]
})
export class AppModule { }
What changes is that this "useValue" becomes the InjectionToken to the FormioAppConfig class, which will now properly instantiate the class with the correct base and project urls.
- 6.x now introduces a new way to easily embed form's, form builders, and the reporting ui into your applications. This leverages the new lazy-loading rendering method described @ https://github.com/formio/formio.js. To use this method, you can do the following within your applications.
import { FormioEmbedModule } from '@formio/angular/embed';
@NgModule({
imports: [
...,
FormioEmbedModule
]
})
You can now easily embed a lasy-loaded form renderer into your application using the following.
<formio src="https://examples.form.io/example"></formio>
The difference between this and the previous method of embedding is that this will only add approximatly 20kb to your application build size since the renderer is lazy-loaded at runtime.
- Upgrade to Angular 16
- Upgrade to Bootstrap 5
- Fixed resource module to streamline loading and unloading resources.
- FIO-6493: added wrapper for the formio report
- FIO-6197: fixed issue with valid token after logging off
- FIO-7232 removed permissions button from FormGridBody
- Upgrade dependencies.
- fix common ComponentOptions interface for angular 15
- FIO-6117: fixed an issue where submitDone event is not emitted after submission is saved (need for boxsign action)
- Fixed change event undefined on template issue
- FIO-5042: Logout Oauth Feature
- Fixing issue where the validation is triggering on pristine forms.
- FIO-5423: Reseting the Display after on change
- Upgrade to Angular 14
- set renderMode to html when viewOnly flag is set to true
- FIO-5278: added component instance to Event object
- FIO-4655: update FJS to fix tippyjs tooltips in formmanager
- Exporting the custom-tag-service.ts service.
- Toggle to hide the loading spinner
- Official Release off of 5.3.0-rc.3
- Rebiuld.
- FIO-4925: Fixes not whole submission present for wizard
- FIO-5128: allow support for data table row based events for angular formio component
- FIO-5128 fixed rowClick event
- FIO-5147: added custom actions and select rows
- FIO-5172: Fixes validation errors shown on form load in apps
- FIO-5307: Fixes ckeditor recreated multiple times on form save
- Official Release
- No changes.
- FIO-3969: Initialize the noeval flag correctly.
- Official Release
- Upgrade [email protected]
- Upgrade @angular-devkit/[email protected] @angular/[email protected] @angular/[email protected] @angular/[email protected] @angular/[email protected] @angular/[email protected] @angular/[email protected] @angular/[email protected] @angular/[email protected] @angular/[email protected] @angular/[email protected] @angular/[email protected] [email protected] @types/[email protected] [email protected] [email protected] [email protected]
- FIO-3659: Previous Submission in New Submission
- Adding Angular 12 support.
- Upgrade dependencies.
- FMG-108: remove reloading of PDF form after editing
- Cherry-pick of VPAT-755 Added title to delete buttons in forms grid
- FMG-15: Routes for manager and permissions
- No changes. Released 5.1.1-rc.1 as official release.
- FIO-2841 Added event parameter to onSearch for event usage in FMG
- FIO-1178: add timeSince lines
- FIO-2686: Date Time is not attaching timezone metadata to the submission
- Upgrade [email protected]
- Upgrade [email protected]
- FIO-1482: fixed an issue where form submission object is not updated after submitting and new submission is created after each submission editing
- Fix search error during typing and fixing unexpected validation errors
- FIO-1178: add classes for customization
- Upgrade [email protected]
- Upgrade [email protected]
- Reverse compatibility issue with the Form Manager Delete component.
- FMG-131: fix removing a form from the list when it is the only one on the page.
- Published package.
- Upgrade [email protected]
- Upgrade [email protected]
- Changes for 0.2.0 accessibility functionality release of form manager
- Upgrade [email protected]
- FMG-61: When there are no forms on the ‘Forms’ page or no submissions on the ‘View Data’ page, 1-0/0 number of forms is displayed
- NPM package to @formio/angular
- Issues where errors would throw on the form edit page.
- Problem where the Share link can not be clicked.
- Upgrade [email protected]
- FMG-29: Add password reset for users
- FIO-923 | Form Loading inside FormManager app is causing 3 API requests to the server
- FMG-135 Regression 1.96.1-rc.2| PDF overlay not saving when I click save
- formiojs is now a peerDependency. You need to install it seperately.
- Upgrade Angular to support v10 and v11.
- Upgrade [email protected]
- Upgrade [email protected]
- Upgrade [email protected]
- Upgrade [email protected]
- Upgrade [email protected]
- Upgrade [email protected]
- Upgrade [email protected]
- Upgrade [email protected]
- Upgrade [email protected]
- Upgrade [email protected]
- Upgrade [email protected]
- Upgrade [email protected]
- Upgrade [email protected]
- Upgrade [email protected]
- Upgrade [email protected]
- Upgrade [email protected]
- Upgrade [email protected]
- Upgrade [email protected]
- Upgrade [email protected]
- Upgrade [email protected]
- Upgrade [email protected]
- Upgrade [email protected]
- Upgrade [email protected]
- Upgrade [email protected]
- Upgrade [email protected]
- Upgrade [email protected]
- Upgrade [email protected]
- Upgrade [email protected]
- Upgrade [email protected]
- Upgrade [email protected]
- Upgrade [email protected]
- Upgrade [email protected]
- Upgrade [email protected]
- Upgrade [email protected]
- Upgrade [email protected]
- Upgrade [email protected]
- FVP-008: Fixed an issue for ViewPro where the Server Validation message is not being removed when validation is honored.
- Downgrade [email protected] to resolve IE11 issues.
- FMG-54 Restoring grid query
- Upgrade [email protected]
- Upgrade [email protected]
- Upgrade [email protected]
- Upgrade [email protected]
- Upgrade [email protected]
- Fix (Grid): footer is not visible using FormComponents
- Upgrade [email protected]
- Upgrade [email protected]
- Upgrade [email protected]
- Upgrade [email protected]
- FJS-1014: Fixed an issue where Required fields are validating when form is initialized when using a form in FormManager
- Feat (Grid): added ability to specify footer positions: top, bottom, both
- Upgrade [email protected]
- Upgrade [email protected]
- Upgrade [email protected]
- Upgrade [email protected]
- Upgrade [email protected]
- Upgrade [email protected]
- Upgrade [email protected]
- FormioBaseComponent: add validateOnInit logic
- Upgrade [email protected]
- Upgrade [email protected]
- Upgrade [email protected]
- Upgrade [email protected]
- Upgrade [email protected]
- Upgrade [email protected]
- Upgrade [email protected]
- Upgrade [email protected]
- Upgrade @types/[email protected], [email protected], [email protected], [email protected], [email protected], [email protected]
???
- Upgrade [email protected]
- Upgrade [email protected]
FormioMetadata
interface
- Upgrade [email protected]
- Upgraded [email protected]
- Upgrade [email protected]
- Fix(manager): bug with default page number
- Fix(FormioAlert): add html content parser
- Upgrade [email protected]
FormioResourceIndexComponent
navigating outside ofngZone
on row click and on creating new submission
- Upgrade [email protected]
- Make stateless component of formio-loader instead of injectable service.
- Upgrade [email protected]
- Build error:
File not found with singular glob: <path_to_repo>/build/index.js
- Updated
[email protected]
- Upgrade [email protected]
options.alertsPosition
setting withtop
,bottom
,both
andnone
options that allows choosing where to render alerts.options.alertsPosition = AlertsPosition.none
is equal tooptions.disableAlerts = true
- Add strong typing for grids components
- Add possibility to set
columns
via property ComponentInstance
,GridHeader
,GridColumn
,FormioSubmission
interfacesSortType
,FormioSubmissionState
enums
- Bug with setting
data.key
instead of full path to the header
- Upgrade [email protected]
- Upgrade [email protected]
- Upgrade [email protected]
- Upgrade [email protected]
- Add possibility to pass columns
- Upgrade [email protected]
- Upgrade [email protected]
- Upgrade [email protected]
- Upgrade @angular/[email protected], @angular/[email protected], @angular/[email protected], @angular/[email protected], @angular/[email protected], @angular/[email protected], @angular/[email protected], @angular/[email protected], @angular/[email protected], @angular/[email protected], @types/[email protected], [email protected], [email protected], [email protected]
- Fixed
FormioResourceComponent
re-initializing on any URL change even if it's not submission id change
- Excess
.js
files
- Upgrade [email protected]
- Upgrade [email protected]
- Upgrade [email protected]
- Refactored request service.
- Upgrade [email protected]
- Separate elements definition from core
- Upgrade [email protected]
- Hide components property.
- Upgrade [email protected]
- Upgrade [email protected]
- Upgrade [email protected]
- Upgrade [email protected]
- Upgrade [email protected]
- Upgrade [email protected]
- Upgrade @angular/[email protected], @angular/[email protected], @angular/[email protected], @angular/[email protected], @angular/[email protected], @angular/[email protected], @angular/[email protected], @angular/[email protected], @angular/[email protected], @angular/[email protected], @types/[email protected], [email protected], [email protected]
- Upgrade [email protected]
- Made formioReady public so it can be used from the outside.
- Resource Service
loadForm
changes not being reflected on the view
- Reverted changes to override the noValidate flag on setting submissions. Was able to do this with fixes to core renderer.
- Upgrade [email protected]
- Problem where an error would get thrown if a non Form.io error is thrown.
- Issues with index view for resources not always updating content.
- Upgrade [email protected]
- Upgrade [email protected]
- Router to be public so it can be extended.
- Upgrade [email protected]
- Ability to click on errors to take you to them in the form.
FormioResourceComponent
not refreshing when navigating from one submission to another
- Upgrade [email protected]
<formio>
component'ssetForm
method not taking into account current submission
- Upgrade [email protected]
- Upgrade [email protected]
- Upgrade [email protected]
- Upgrade [email protected]
- Upgrade [email protected]
- Issues with colliding promises.
- Upgrade [email protected]
- The ability to import from 'angular-formio/core' to skip over the custom component classes that are only compatible with Angular 7 & 8.
- Upgrade formio.js to 4.8.0-rc.14
- Upgrade formio.js to 4.8.0-rc.13
- Support emit event from Custom Component
- Field options for custom components.
- Upgrade formio.js to 4.8.0-rc.12 to resolve builder issues.
- Upgrade formio.js to 4.8.0-rc.11 to resolve promise issues with Angular.
- Moved noeval code into the base class so Angular Material can use it.
- Upgrade formio.js to 4.8.0-rc.10
- Ability to use OAuth for authentication (Okta, SAML)
- Upgrade formio.js to 4.8.0-rc.9
- Issues where this module would not run in Angular 7 applications.
- Upgrade formio.js to 4.8.0-rc.5
- Hard depependency on @angular/elements v8.
- Upgrade formio.js to 4.8.0-rc.3
- Upgrade formiojs to 4.8.0-rc.2
- Upgrade formiojs to 4.8.0-rc.1
- Upgrade formiojs to 4.8.0-beta.9
- The ResourceCompoennt class to not have a private constructor argument which breaks extended classes.
- Upgrade formiojs to 4.8.0-beta.8
- UI not updating after getting user permissions in
FormioResourceComponent
- Upgrade formiojs to 4.8.0-beta.6
- Upgraded formiojs to 4.8.0-beta.5
- Upgrade formio.js to 4.8.0-beta.4
- Fixed the noeval paramter to turn off eval into the renderer.
- Upgraded [email protected], @angular/[email protected], @types/[email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected]
- Explicit field options for custom components
- Upgrade formio.js to 4.7.8
- Register form within Form Manager.
- Upgraded [email protected]
- No longer require angular/elements as peer dependencies.
- Upgraded formio.js to 4.7.4
- Upgraded formio.js to 4.7.3
- Fix gulpfile rollup configuration
- Fixed updated loader
- Upgraded [email protected]
- Upgraded [email protected], @angular/[email protected], @angular/[email protected], @angular/[email protected], @angular/[email protected], @angular/[email protected], @angular/[email protected], @angular/[email protected], @angular/[email protected], @angular/[email protected], @angular/[email protected], @types/[email protected], [email protected], [email protected], [email protected], [email protected], @types/[email protected], [email protected]
- Run formio outside of ngZone: #388
NgZone
service is required for main components.- The
FormioLoader
service is updated. AddedsetLoading
method.loading$
flag is available as Observable. - Upgraded dependencies and [email protected]
- Upgraded dependencies and [email protected]
- Added Custom Angular Fields: #374
@angular/elements
added as peer dependency.
- Upgrade [email protected], [email protected]
- Upgrade [email protected]
- Upgrade [email protected]
- A way to refresh the form externally with form builder.
- Upgraded [email protected]
- Upgraded [email protected]
- Crashes in the FormioBaseComponent when errors are thrown.
- Crashes in the submission grid components.
- Upgraded dependencies and [email protected]
- Added a submitError event when an error occurs.
- Upgraded dependencies and [email protected]
- Only those described @ https://github.com/formio/formio.js/blob/master/Changelog.md#breaking-changes
- Upgraded core renderer to 4.x.
- Upgraded support for Angular 8
- Upgraded dependencies including core renderer
- Build routine to use a better rollup gulp method.
- Major memory leak issues.
- Streamlined the form building process and form builder instanciation.
- Exports of Formio and FormioUtils so that the same instances can be used.
- Added all grid exports so they can be extended.
- Alerts to the resource components.
- Skip early attempts to set grid footer createText.
- Allow extended form manager edit components to extend the save form method.
- Fix Clear Search, Fix Pagination on Refresh
- The ability to delay the authentication initialization.
- Honor token namespacing when saving and loading the formio user object.
- Issue with the edit permissions in the form resource view pages.
- Issues with the pagination where it would hard-code the number of items per page.
- Upgraded all dependencies.
- Issue where delete and edit tabs would show up when they do not have permissions for those operations.
- The saveDraft feature to use the core version of the implementation.
- Added a way to stop the emit of onSubmit handler when onSubmit is called.
- Problem where the form manager would add duplicate tags.
- Issues where the form renderer would sometimes duplicate entries when re-rendered.
- Issues where the form could get reset when the display type changes.
- Only show the builder when it is ready.
- PDF downloads.
- Upgraded [email protected], [email protected], @angular/[email protected], @angular/[email protected], @angular/[email protected], @angular/[email protected], @angular/[email protected], @angular/[email protected], @angular/platform-browser@ 7.1.3, @angular/[email protected], @angular/[email protected], @types/[email protected], @types/[email protected], [email protected], [email protected], [email protected], [email protected]
- Ability to provide your own renderer and builder.
- The save draft feature.
- Refactored the form manager and fixed many bugs.
- Problems with the Form Manager overriding existing forms.
- Issue with nested resources not getting set properly.
- Remove cache on resource load to fix problem where ZoneAwarePromise's were setting cached values to incorrect values.
- Upgrade formiojs library.
- Problems where the context would not get restart when changing between resources.
- Upgraded the core formiojs library.
- Cosmetic changes to the builder for Bootstrap 4
- Default builder to use fontawesome for bootstrap 4.
- The route declarations to make it more AOT compatible (although still more work to do I think).
- A formioOptions parameter to the component to allow you to pass options to the Formio instance.
- A renderOptions parameter to the component to allow you to pass options to the createForm method and Webform instance.
- Issues with nested resources where it would provide a filter when you don't want it to.
- Upgraded dependencies.
- Problems with the data grid throwing change errors.
- Many issues related to resources, and nested resources.
This is a reverse-compatible release that has the following changes over 2.x branch.
- This release introduces the Form Manager system, see Wiki for documentation.
- Now defaults to Bootstrap 4 instead of Bootstrap 3 and provides Font Awesome by default.
- Changed the (click) event for formio-grid to (rowSelect).
- Another major change to the 3.x branch is the FormioGrid component. This can now handle both Forms and Submissions.
<formio-grid [src]="'https://examples.form.io/example''"></formio-grid>
<formio-grid [src]="'https://examples.form.io'" [gridType]="'form'"></formio-grid>'
- Custom Grid Headers, Body, and Footers: The latest 3.x also allows you to pass along custom Headers, Body, and Footers to the GridComponent, like so.
@Component({
template: `....`
})
export class CustomHeader extends SubmissionGridHeaderComponent {}
<formio-grid [src]="'https://examples.form.io/example'" [components]="{
header: CustomHeader,
body: SubmissionGridBodyComponent,
footer: SubmissionGridFooterComponent
}"></formio-grid>
This enables you to fully customize the Grid output.
2.0.0-alpha.1 (2018-03-22)
- Fixed how the styles are included so that the renderer will work with AOT compilation.
- Restructured the sub-modules for "auth", "resource", and "grid". There should not be any application changes that need to be made.
- Changed the required peerDependencies to allow Angular 4 or Angular 5
- Added a new UDM version of the built module.