changelogs.md


projectcaluma/ember-caluma

Repository  -  API  -  Source

2.3.1

August 23, 2019

Bug Fixes

  • apollo: remove deprecated usage of query manager (e1cab58)

2.3.0

August 21, 2019

Features

  • translations: add (partial) french translation (961d203)

2.2.3

August 14, 2019

Bug Fixes

  • cf-content: fix navigation teardown (1bfc4d0)
  • navigation: truncate long navigation items (c79c524)

2.2.2

August 12, 2019

Bug Fixes

  • field: don't delete non-existent answers (53945b1)
  • multilang: remove country code for translations (1772591)

2.2.1

July 30, 2019

Bug Fixes

  • lib: fix teardown of lib objects (bd583a2)

2.2.0

July 24, 2019

Bug Fixes

  • deps: fix usage of apollo for the new version (6ec5842)

Features

  • multilang: add language header to caluma requests as well (48f976c)

2.1.3

July 24, 2019

Bug Fixes

  • 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

July 11, 2019

Bug Fixes

  • 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

July 9, 2019

Bug Fixes

  • form-builder: make sure apollo is initialized properly (8496daa)
  • intl: update deprecated macro to new syntax (565f18a)

2.1.0

July 9, 2019

Bug Fixes

  • 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)

Features

  • 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

July 5, 2019

Bug Fixes

  • 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

July 3, 2019

Bug Fixes

  • form: fix new state of fields and fieldset initialization (03a1b7c)

2.0.1

July 2, 2019

Bug Fixes

  • ie11: fix checkboxes in IE11 (6131128)

2.0.0

July 2, 2019

Features

  • lib: support flat answers (b602056)

BREAKING CHANGES

  • 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

July 2, 2019

Bug Fixes

  • 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

July 1, 2019

Bug Fixes

  • 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

June 25, 2019

Bug Fixes

  • 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

June 19, 2019

Bug Fixes

  • table: fix answer handling of table questions (7923168)

1.2.0

June 18, 2019

Bug Fixes

  • deps: update dependency ember-cli-babel to v7.8.0 (c46c575)

Features

  • form: pass form and root form as context for jexl expressions (619ef0c)

1.1.0

June 17, 2019

Bug Fixes

  • 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)

Features

  • form: prevent displaying of empty forms (5cbf7d3)

1.0.2

June 13, 2019

Bug Fixes

  • 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

June 6, 2019

Bug Fixes

  • form: allow stacking of info modals (bab5166)

1.0.0

May 31, 2019

Bug Fixes

  • 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)

Features

  • mirage: add option to disable mirage support (93531d1)
  • navigation: add previous / next pagination (6aea609)
  • navigation: allow customization of the navigation (fe61ca8)

BREAKING CHANGES

  • 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 component cf-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 the section and subSection query parameters since they are taken directly from the router.

Before:

{{cf-navigation
  documentId=documentId
  context=context
  section=section
  subSection=subSection
}}

After:

{{cf-content documentId=documentId context=context}}
  • 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

May 27, 2019

Features

  • field: recompute optional property on value or hidden changes (fd18d43)

0.2.0

May 22, 2019

Bug Fixes

  • 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)

Features

  • 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

May 8, 2019

Bug Fixes

  • 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)

Features

0.0.4

April 18, 2019

Breaking changes

  • The new service caluma-options needs to be added to the engine config in app.js:
    engines: {
      emberCaluma: {
        dependencies: {
          services: [
            "apollo",
            "notification",
            "router",
            "intl",
            "caluma-options"
          ];
        }
      }
    }

Added

  • 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

March 13, 2019

Breaking changes

  • Fix 'missing translations' errors by adding intl to the dependencies.

    Migration guide: Add the intl service to the dependencies list in app.js:

    engines: {
      emberCaluma: {
        dependencies: {
          services: ["apollo", "notification", "router", "intl"];
        }
      }
    }

Added

  • Single and multiple choice questions now offer a dropdown widget.
  • New question type "Table" (just administration, no rendering yet)

Changed

  • Archived questions now visible (and marked as archived) on assigned forms.

0.0.2

March 1, 2019

Added

  • Archived and published toggles for forms and questions.

0.0.1

January 18, 2019