6.10.2 (2021-02-15)
6.10.1 (2021-02-15)
6.10.0 (2021-02-15)
- jexl: fix division by 0 in avg transform (#1233) (0f7ef59)
- jexl: fix validation of numbers in transforms (#1234) (27f3324)
- navigation: set validated fields to dirty and check for that (2975356)
6.9.3 (2021-02-04)
- pin uikit (12523f4)
- deps: add resolution to fix @babel/parser to 7.12.11 (2333c88)
- form: add fields used in mapby transforms to dependencies (adedd7e)
- question/default: ignore question's widgetOverride (0e0f9cc)
6.9.2 (2021-01-28)
6.9.1 (2021-01-26)
- form-builder: fix fieldset on generated field for the default value (a5f9dcd)
6.9.0 (2021-01-22)
- jexl: allow usage of form meta in question jexl (2956db5)
6.8.0 (2021-01-22)
- cfb: clean up options code (5a4073d)
- cfb: fix recalculation issue in default values (f549637)
- cfb: improve options sorting code (d5a2591)
- cfb: implement reordering of question options (3928a7c)
- cfb: use uk-sortable component for options sorting (eba83f7)
6.7.0 (2021-01-14)
- cfb: add input for default values (48a6a7b)
- form: show calculated fields in form and compute their value live (2f47be2)
- form-builder: add calculated fields for the form builder (dab9ee8)
6.6.1 (2020-11-30)
- nav: fix navigation hidden state and computed key in field (2a149ca)
6.6.0 (2020-11-26)
- nav: implement navigation states for default answers (0e32e9e)
6.5.2 (2020-11-24)
- config: fix power select limit default config (1a1dec1)
6.5.1 (2020-11-18)
- deps: update ember-changeset and ember-changeset-validations (c66cc8e)
6.5.0 (2020-11-17)
- form: don't throw when typename is undefined in cf-field/input (34b4a36)
- test: fix test selector (2c15fa5)
- change maximum slug length to fit backend implementation (1da4e29)
- cf-field: make options limit configurable (#1097) (2a819c0)
- cfb: add paging to question list (#1064) (2c80035)
- cfb: add seperation between archived and active forms (#1054) (bda4c79)
- lib: add a debug transform which logs to console (#1098) (8ed447b)
- Revert "chore(deps): bump moment from 2.24.0 to 2.29.1 (#1059)" (#1100) (dc404e6), closes #1059 #1100
6.4.0 (2020-10-19)
- caluma-query: allow
queryOptions
to be set onfetch
(547d08d)
6.3.0 (2020-10-06)
- blueprints: add ember-composable-helpers to host app dependencies (9526fff)
- dependencies: update @glimmer/component and pin jexl (8e9471d)
- deps: update jexl to 2.3.0 (da041bc)
- caluma-query: allow passing of options to apollo query method (9b27d14)
- query: add a case query (d63228b)
6.2.1 (2020-09-02)
6.2.0 (2020-08-26)
- add queries for fetching work items (ef2daff)
6.1.2 (2020-07-23)
- fix ember-power-select (6a0ce3c)
6.1.1 (2020-06-04)
- deps: add resolutions to fix build (2fa230c)
- dummy: fix moment config for dummy app (e335fe2)
- i18n: only use primary locale in http headers (7f36264)
6.1.0 (2020-03-26)
6.0.0 (2020-03-25)
- deps: drop support for ember 3.12 (6fa06e1)
- utils: increase slugify max-length to 127 (3c647ea)
- validation: add minlength validation for text fields (b34fc47)
- deps: The support for the former ember LTS version 3.12 was dropped since we only support the latest LTS version which is now 3.16.
This change happened in 4eaecdb163a7cd6159d488c414dcf2b8afd98c27 where we forgot to mark it as a breaking change which is why this commit is empty.
5.1.0 (2020-03-03)
- a11y: various improvements for accessibility (3185fc8)
- utils: increase slugify max-length to 150 (5c2093e)
5.0.0 (2020-02-13)
- form: do not run validators on empty values (a3d996e)
- remove support for node v8.x (42f84d3)
- Node v8.x is no longer supported
4.1.0 (2020-01-06)
- form: include parent fields in find field method (1e5b8ea)
4.0.5 (2019-12-27)
- remove FormAnswer (548f1b1)
- document: fix wrong computed property key (544f0aa)
- form: add proper table validation (7c6787b)
- form: fix isNew property for empty answers (2491dbf)
- form: use parent documents jexl context for table row documents (aedf903)
4.0.4 (2019-12-11)
- form: fix JEXL answer transform for table values (9049a0e)
4.0.3 (2019-12-06)
- deps: update ember-uikit to v2.0.1 (0b19859)
4.0.2 (2019-12-02)
- field: don't pass
value
to save mutation if null (4e05609)
4.0.1 (2019-11-28)
- form: fix cf-field-value for choice and multiple choice questions (2afabb9)
- change disabled to readonly where applicable (15f487a)
4.0.0 (2019-11-21)
- form: transform empty string answers to null (d3a736c)
- form: allow empty values for answers (7e52e23)
- form: Only works with caluma v4.0.0 (projectcaluma/caluma#791)
3.0.1 (2019-11-06)
- form: fix search for powerselect inputs (34b57fb)
3.0.0 (2019-11-06)
- jexl: allow falsey values for intersects operator without breaking (4fbb73f)
- navigation: fix navigation to show base form questions (#565) (5f38df0), closes #460
- table: don't re-save existing rows after edit (e5cd5ef)
- table: remove row documents on delete (395e4e4)
- table: skip empty dates in table view (97f5758)
- remove support for ember 3.8 (093d25b)
- form: handle old values of dynamic questions (c9bbc36)
- license: switch license from MIT to LGPL-3.0-or-later (b1163eb)
- license: Since the LGPL license is more restrictive than MIT, this is marked as breaking
- form: This is a breaking change, since it will only work with v3.0.0 or later of the caluma service.
- This will remove the support for the second last LTS version of ember, since we support only the last LTS version which is 3.12 now.
2.5.0 (2019-09-21)
- input/table: add btnClose to modals (5d1b42d)
- translations: shorten weekdays for french translations (#533) (0edca21)
2.4.0 (2019-09-05)
- cf-content: correct policy property name (91e7b52)
- cfb-options: options cannot be deleted from db (3668c66)
- ie11: remove usage of queryManager which breaks in IE11 (c424c0c)
- form: allow forms to have a widget override (9b25310)
- options: hide archived options (5cd58d8)
- table: prompt before deleting rows (a9e7b0c)
2.3.1 (2019-08-23)
- apollo: remove deprecated usage of query manager (e1cab58)
2.3.0 (2019-08-21)
- translations: add (partial) french translation (961d203)
2.2.3 (2019-08-14)
2.2.2 (2019-08-12)
- field: don't delete non-existent answers (53945b1)
- multilang: remove country code for translations (1772591)
2.2.1 (2019-07-30)
- lib: fix teardown of lib objects (bd583a2)
2.2.0 (2019-07-24)
- deps: fix usage of apollo for the new version (6ec5842)
- multilang: add language header to caluma requests as well (48f976c)
2.1.3 (2019-07-24)
- deps: update dependency sass to v1.22.4 (74d2810)
- deps: update jexl (8040e05)
- form: fix premature access to validators which are not yet fetched (df6a6e6)
- form: fix removing of table rows (5ea7881)
- jexl: fix handling of whitespace characters (f783909)
- performance: improve loading performance and caching (7bcedab)
- performance: improve performance of state calculations (cb46c5b)
- tests: add failing test for whitespace jexl expressions (ba7d236)
2.1.2 (2019-07-11)
- deps: update dependency ember-auto-import to v1.5.2 (755af94)
- form: fix saving of table answers (ad88efb)
- lib: fix recomputing of the optional state (13f4fee)
2.1.1 (2019-07-09)
- form-builder: make sure apollo is initialized properly (8496daa)
- intl: update deprecated macro to new syntax (565f18a)
2.1.0 (2019-07-09)
- deps: update dependency ember-auto-import to v1.5.0 (67a1328)
- deps: update dependency ember-fetch to v6.7.0 (c2a0d5a)
- deps: update dependency ember-intl to v4.0.1 (2f3c772)
- form: fix removing of empty answers (bd6eb15)
-
add format validation to text and textarea (de6d46f)
This requires the host app to pass the new
validator
service to the form-builder engine:// app/app.js const App = Application.extend({ // ... engines: { emberCaluma: { dependencies: { services: [ // ... "validator" ] } } } });
2.0.3 (2019-07-05)
- deps: update dependency graphql to v14.4.2 (1d3c2ba)
- deps: update dependency sass to v1.22.3 (2f0b59e)
- dummy: change cf-form to cf-content (46db6aa)
- lib: fix library object initialization to prevent loops (86f14dc)
- uk-modal: add DDAU handler (c0f3130)
2.0.2 (2019-07-03)
- form: fix new state of fields and fieldset initialization (03a1b7c)
2.0.1 (2019-07-02)
- ie11: fix checkboxes in IE11 (6131128)
2.0.0 (2019-07-02)
- lib: support flat answers (b602056)
- lib: The whole lib layer changed since we moved to the new API structure. However, the cf-content component still works the same way as before.
1.2.4 (2019-07-02)
- deps: update dependency sass to v1.22.2 (3881d3c)
- deps: update ember infrastructure (7a63a38)
- form: fix wrong updating of the answer value (091831e)
1.2.3 (2019-07-01)
- deps: update dependency ember-fetch to v6.6.0 (cfc9e85)
- deps: update dependency ember-math-helpers to v2.11.3 (bd205da)
- deps: update dependency graphql to v14.4.0 (ed9fdb4)
- deps: update dependency graphql to v14.4.1 (c0bf301)
- deps: update dependency sass to v1.22.1 (9a86dc0)
- form: fix resetting of values on slow input (e07388a)
1.2.2 (2019-06-25)
- deps: update dependency ember-cli-string-helpers to v3 (fc4d0c3)
- deps: update dependency ember-math-helpers to v2.11.2 (13241bc)
- deps: update dependency graphql-tools to v4.0.5 (094f60c)
- deps: update dependency sass to v1.22.0 (4d94453)
- form: add missing validation function for form questions (c9a4a0f)
- form: fix answer handling of powerselect widget (cb37130)
- form: fix loading of subforms and improve error handling (b47cd4d)
- form: fix wrong answer when clicking checkboxes too fast (8b8bc30)
- table: allow tables to have documents as value (017515f)
1.2.1 (2019-06-19)
- table: fix answer handling of table questions (7923168)
1.2.0 (2019-06-18)
- deps: update dependency ember-cli-babel to v7.8.0 (c46c575)
- form: pass form and root form as context for jexl expressions (619ef0c)
1.1.0 (2019-06-17)
- babel: remove obsolete babel config (53846bf)
- deps: remove tough-cookie resolution (9dd9506)
- deps: update dependency apollo-link-context to v1.0.18 (5449909)
- deps: update dependency ember-auto-import to v1.4.1 (144e81c)
- deps: update dependency ember-intl to v4 (3536974)
- form builder: fix float inputs (6c111e5)
- intl: update the ember-intl config to the latest version (41522fa)
- form: prevent displaying of empty forms (5cbf7d3)
1.0.2 (2019-06-13)
- deps: remove dependency to liquid-fire (d0d7d60)
- deps: update dependency ember-auto-import to v1.4.0 (5a86384)
- deps: update dependency ember-changeset to v2.1.2 (b2c2e95)
- deps: update dependency ember-concurrency to v1 (e29c588)
- deps: update dependency ember-uikit to v0.8.2 (4990142)
- deps: update dependency sass to v1.21.0 (ea032d5)
- form: improve initial loading performance (fa4046b)
- linting: fix linting error happening since the prettier update (9d61840)
- table-date: correctly render date questions in table rows (b07aa82)
1.0.1 (2019-06-06)
- form: allow stacking of info modals (bab5166)
1.0.0 (2019-05-31)
- deps: update dependency ember-changeset to v2.1.1 (e0be925)
- deps: update dependency ember-cli-string-helpers to v2.1.0 (e2d77c5)
- deps: update dependency ember-concurrency to v0.10.1 (c8259be)
- deps: update dependency graphql to v14.3.1 (782a11e)
- deps: update ember-cli-mirage to v1.0.0 (0ff0e23)
- mirage: add option to disable mirage support (93531d1)
- navigation: add previous / next pagination (6aea609)
- navigation: allow customization of the navigation (fe61ca8)
- navigation: this changes the way a form is used in the host
application. Before, the
cf-navigation
component rendered the whole navigation and the form in it. Now there is a wrapper componentcf-content
which yields or renders the form and the navigation. This way the host app is able to customize where to render the navigation and the form. Also the host app does not need to pass thesection
andsubSection
query parameters since they are taken directly from the router.
Before:
After:
- deps: This change requires the users of ember-caluma to manually add faker and ember-auto-import to their devDependencies:
yarn add -D faker ember-auto-import
This is necessary because ember-cli-mirage stopped including faker in their build. Since we expose factories using faker to the host app, they need to install this.
0.3.0 (2019-05-27)
- field: recompute optional property on value or hidden changes (fd18d43)
0.2.0 (2019-05-22)
- cf-navigation: add compute watcher on hidden state (#225) (41ba470)
- cf-navigation: add minor safety checks (#217) (cf3ca9e)
- deps: remove obsolete dependency (be4dbad)
- deps: update @adfinis-sygroup/semantic-release-config (2225e00)
- deps: update dependency ember-uikit to ^0.8.0 (#219) (28a841b)
- deps: update dependency ember-uikit to v0.8.1 (#223) (b892a50)
- deps: update dependency graphql to v14.3.0 (#208) (6cf38cc)
- deps: update dependency sass to v1.20.1 (#196) (1d7a944)
- field: drop running requests on next (aa5f99c)
- field: fix invalid state of a field (8c3d6b4)
- form builder: fix handling of existing metadata (4d9071f)
- form builder: fix usage of nested properties in the question editor (97a59a5)
- ie 11: add "manual" polyfill for array.flat (#199) (fde3a0f)
- mirage: update mirage schema and fix generic scalar type (c1cdaa1)
- navigation: fix document states in navigation (480b67b)
- powerselect: render correct slected option for choice questions (#254) (837ca8c)
- table: dialog didn't reopen (#243) (7754585)
- table: disable form in table on disabled question (c79a380)
- table: fix table rendering for dynamic choice fields (#239) (5d40c13)
- translations: add missing translations (e786b52)
- consider empty but required fields (#220) (3538471)
- validation: add validation for static, fix multiple choice (#228) (7ab76a7)
- do not display warning if no override (3c2bf1d)
- remove jexl logic and hide toggle (#233) (9627dec)
- cf-form: all passing context information to cf-form, cf-navigation (7372e4d)
- cf-form: allow passing context information to cf-form, cf-navigation (#218) (2955dc6)
- add jexl textarea for isRequired (#232) (7b3e16a)
- add table column display configuration (#237) (88a1ae9), closes #236
- cf-navigation: add disabled attribute (#242) (926b9de)
- cf-navigation: add possibility to pass custom headers (#255) (16e4448)
- form: enable widget overrides for forms (581de15)
- jexl: support jexl referencing TableQuestions (#229) (858d95e)
- table: remove action buttons in disabled state (#238) (9037a3b)
- table: show spinner while saving (fe4fc33)
0.1.0 (2019-05-08)
- cf-navigation: auto-link empty form sections to first subsection (#185) (a50a442)
- deps: downgrade to jexl 1.x for IE 11 compat (#197) (cca7d03)
- deps: Move ember-cli-showdown to dependencies (#171) (2dca978)
- deps: update dependency ember-cli-sass to v10 (#32) (2877c64)
- deps: update dependency ember-composable-helpers to v2.3.1 (#156) (0a1498d)
- info: replace drop by modal (#193) (ea2a026)
- jexl: add custom intersects operator to jexl AST parser (#183) (30ddf10)
- jexl: don't consider the value of hidden fields in JEXL expr. (#198) (f934741)
- table: render download links for file questions in tables (#187) (25cfd80)
- translations: add missing german translations (#152) (dba21ec)
- validation: ignore hidden required fields (#175) (2d1f490)
- form: add support for static question (#169) (17afa26)
- jexl: add "interesects" binary operator (#176) (502c747)
- jexl: add cross-form jexl resolution (#154) (c137e29), closes /github.com/projectcaluma/caluma/pull/398#discussion_r279346810
- jexl: add support for multiline expressions (#177) (8fb2b6b)
- tooling: add semantic release (#200) (64b943c)
0.0.4 (2019-04-18)
- The new service
caluma-options
needs to be added to the engine config inapp.js
:engines: { emberCaluma: { dependencies: { services: [ "apollo", "notification", "router", "intl", "caluma-options" ]; } } }
- Form and question namespacing support (#115, #116)
caluma-options
service for dynamic configuration (#97)- Component overrides (#66, #96)
- cf-navigation for nested forms (#69, #103, #119, #131)
- Table question rendering (#59)
0.0.3 (2019-03-13)
-
Fix 'missing translations' errors by adding
intl
to the dependencies.Migration guide: Add the
intl
service to thedependencies
list inapp.js
:engines: { emberCaluma: { dependencies: { services: ["apollo", "notification", "router", "intl"]; } } }
- Single and multiple choice questions now offer a dropdown widget.
- New question type "Table" (just administration, no rendering yet)
- Archived questions now visible (and marked as archived) on assigned forms.
0.0.2 (2019-03-01)
- Archived and published toggles for forms and questions.