UNPKG

ember-frost-bunsen

Version:
1,513 lines (835 loc) 72.8 kB
# 22.6.0 (2018-09-11) * **Feature**, add loading indicator for frost-select when doing async filter # 22.5.0 (2018-08-23) * **Feature**, add loading indicator for frost-select when doing async filter # 22.4.6 (2018-08-23) * Fixed condition re-ordering issue with Ember each in Ember 2.12 behaving weirdly with each when the comparison for keys involve type mismatches. # 22.4.5 (2018-08-22) * Fix `package-lock` # 22.4.4 (2018-08-20) * Fix an issue that `bunsen-core@2.1.1` introduced which forced validation with the latest model from the store. # 22.4.3 (2018-08-17) * **Fix** add for autocomplete guard when `value` is undefined # 22.4.2 (2018-08-09) * **Fix** When hitting clear (on the clearable section) the filter of `autocomplete` is also cleared # 22.4.1 (2018-08-07) * Fixed conditions inside arrays with `required` fields # 22.4.0 (2018-08-02) * Add timezone options to `datetime` and `when` renderers # 22.3.1 (2018-08-01) * Used keys for `each` to prevent re-rendering when the cell or model hasn't changed * Don't load temporary bunsen form on init, but rather wait until schema has been processed so Ember doesn't try and render the form twice * Fixed tests associated with select and required as required changes no longer causes re-render # 22.3.0 (2018-07-25) * Allow developer to configure a datetime renderer to display a blank value # 22.2.2 (2018-07-20) * **Fixed** Travis API key. # 22.2.1 (2018-07-19) * **Fix** autocomplete not being able to backspace to blank filter when have already selected # 22.2.0 (2018-07-18) * **Fix** frost-autocomplete `queryForCurrentValue` not populating the filter * **Feature** `frost-autocomplete` shows `isLoading` icon when doing an async search # 22.1.1 (2018-07-10) * Fixed Issue #537 Select renderer does not show validation errors # 22.1.0 (2018-06-21) * Added `disableSchemaValidation` as an option to `frost-bunsen`, `frost-bunsen-detail`, `frost-bunsen-form` which disables schema validation being run on any schema changes # 22.0.0 (2018-06-13) * **Updated** `ember-frost-tabs` to version `^10.0.0` # 21.0.0 (2018-05-14) * Update `ember-frost-popover` dependency to `^11.0.0` * Update `ember-frost-demo-components` devDependency to `^7.0.0` # 20.1.1 (2018-05-04) * **Changed** added logic to not search on empty filters for select/autocomplete (autocomplete will do this by default) # 20.1.0 (2018-05-02) * **Added** autocomplete renderer to bunsen (interchangeable with select) # 20.0.0 (2018-04-16) * Upgraded `ember-frost-demo-components` to `^6.0.0` * Upgraded `ember-frost-core` to `^8.0.0` * Upgraded `ember-frost-date-picker` to ^11.0.0` * Upgraded `ember-frost-fields": `^8.0.0` to `^9.0.0` * Upgraded `ember-frost-popover": `^9.0.0` to `^10.0.0` * Upgraded `ember-frost-table": `^4.0.0` to `^5.0.0` * Upgraded `ember-frost-tabs": `^8.0.0` to `^9.0.0` * Installed `ember-cli-svgstore` * Updated `frost-icon` functionality to work with new version of `ember-frost-core` # 19.0.2 (2018-03-26) * Update _package-lock.json_ to reflect desired dependencies - it was out-of-date # 19.0.1 (2018-03-22) * **Updated** `npm install -g bower` in `travis.yml` # 19.0.0 (2018-03-21) * **Updated** pull request template * **Added** issue template * **Updated** to `pr-bumper` version `3` * **Updated** to node 8 * **Added** slack integration * **Updated** `ember-frost-test` to `^4.0.1` * **Updated** `ember-test-utils` to `^8.1.1` * **Updated** `ember-cli-frost-blueprints` to `^5.0.2` * **Updated** `ember-frost-demo-components` to `^5.0.0` * **Updated** `ember-bunsen-core` to `^4.0.1` * **Updated** `ember-prop-types` to `^7.0.1` * **Updated** `ember-frost-core` to `^7.0.0` * **Updated** `ember-frost-date-picker` to `^10.0.0` * **Updated** `ember-frost-fields` to `^8.0.0` * **Updated** `ember-frost-popover` to `^9.0.0` * **Updated** `ember-frost-table` to `^4.0.0` * **Updated** `ember-frost-tabs` to `^8.0.0` * **Updated** `ember-lodash-shim` to `^3.0.1` * **Updated** `ember-sortable` to `1.10.0` * **Updated** `ember-spread` to `^5.0.0` * **Removed** ignoring of `package-lock.json` file * **Added** `package-lock.json` file * **Updated** Travis CI scripts to allow non-exact node version # 18.0.0 (2018-02-14) * **Updated** `ember-bunsen-core` to `^4.0.0` * **Updated** entry in `package.json` to remove typo of extra space inside version number for `ember-truth-helpers` * **Updated** `ember-frost-core` to `^6.0.0` * **Updated** tests to use the path new path to the test helpers provided by the updated `ember-frost-core` # 17.1.0 (2018-02-02) * Section heading text now respects the `label` property. When set it will return the value of the property with the first character capitalized, whereas before it would use the exact value provided. * "Add" button in the array container now respects the `label` property. When set it will return a singularized version of the text without affecting the case, whereas before it would lowercase the text. # 17.0.0 (2018-01-23) * **Added** ignoring of `package-lock` until we are ready to move to node 8 * **Added** ignoring of `typings/*` since this file is added by Visual Studio and does not need to be committed * **Added** ignore the linting of the `CHANGELOG.md` and `NOTES.md` files * **Added** the `NOTES.md` file describing why dependent packages are installed in this add-on * **Updated** the blueprints file to not installed packages that are now included via dependencies * **Removed** the `codemirror` bower dependency since it is now included via `ivy-codemirror` * **Removed** the `node-uuid` bower dependency since it not used * **Removed** the `sinonjs` bower dependency since it is now included via a npm package * **Removed** the `clockpicker-seconds` bower dependency since it is now included in the `ember-frost-date-picker` add-on * **Updated** the `Faker` bower package to be a devDependency * **Updated** the `pretender` bower package to be a devDependency * **Updated** the `prism` bower package to be a devDependency * **Updated** the `showdown` bower package to be a devDependency * **Removed** useLintTree ember-cli-mocha configuration from `ember-cli-build.js` * **Added** `bower` @ `^1.8.2` since it is no longer included with Ember CLI * **Updated** `ember-browserify` to `^1.2.0` * **Updated** `ember-frost-test` to `^4.0.0` * **Updated** `chai-jquery` to `^2.0.0` * **Updated** `ember-cli-chai` to `0.4.3` * **Updated** `ember-cli-mocha` to `0.14.4` * **Updated** `ember-sinon` to `^0.7.0` * **Updated** `sinon-chai` to `^2.14.0` * **Updated** `ember-cli-frost-blueprints` to `^5.0.1` * **Updated** `ember-cli-showdown` to `^2.11.0` * **Updated** `ember-frost-demo-components` to `^4.0.0` * **Updated** `ivy-codemirror` to `^2.1.0` * **Updated** `ember-cli-sass` to `7.1.1` and moved to a dependency instead of a devDependency * **Updated** `ember-computed-decorators` to `0.3.0` and moved to a dependency instead of a devDependency * **Updated** `ember-concurrency` to `0.7.19` and moved to a dependency instead of a devDependency * **Removed** unused `ember-elsewhere` package * **Updated** `ember-frost-fields` to `^7.0.0` and moved to a dependency instead of a devDependency * **Updated** `ember-frost-table` to `^2.0.0` and moved to a dependency instead of a devDependency * **Updated** `ember-get-config` to `0.2.2` and moved to a dependency instead of a devDependency * **Updated** `ember-hook` to `1.4.2` and moved to a dependency instead of a devDependency * **Removed** `ember-moment` package in favor or `ember-cli-moment-shim` * **Added** `ember-cli-moment-shim` @ `3.3.3` as a dependency * **Removed** unused `ember-simple-uuid` package * **Updated** `ember-truth-helpers` to `^1.3.0` and moved to a dependency instead of a devDependency * **Removed** `ember-try` package that was needed for a CI build issue * **Removed** `eslint` package that is now provided by `ember-test-utils` * **Removed** `eslint-config-frost-standard` package that is now provided by `ember-test-utils` * **Removed** `sass-lint` package that is now provided by `ember-test-utils` * **Updated** `ember-ajax` to `^2.5.6` * **Updated** `ember-cli-babel` to `^5.1.7` which is what the Ember CLI 2.12.3 blueprint installs * **Updated** `ember-frost-core` to `^5.1.1` * **Updated** `ember-frost-date-picker` to `^9.0.0` * **Updated** `ember-frost-popover` to `^8.0.0` * **Updated** `ember-frost-tabs` to `^7.0.0` * **Updated** `ember-lodash-shim` to `^2.0.7` * **Updated** `ember-prop-types` to `^6.0.1` * **Updated** `ember-sortable` to `^1.10.0` * **Updated** `ember-spread` to `^4.0.1` * **Updated** move code coverage config file to tests/dummy/config/ and add `json-summary` reporter * **Removed** `typings/` that is used by Visual Studio and should not be committed # 16.0.9 (2018-01-12) * **Fixed** a bug where multi-select selections were cleared if the selected items were filtered out of the drop down when using queryForCurrentValue * **Upgraded** `ember-test-utils` NPM devDependency to `^8.1.0` * **Removed** `package-lock.json` until we officially support Node 8 # 16.0.8 (2017-12-20) * Fixed an issue when parsing json with `null` that was caused by incorrectly type checking for `null`. # 16.0.7 (2017-12-19) * make date, datetime, when, and section show required label based on showRequiredLabel prop # 16.0.6 (2017-12-12) * Change semver value of `ember-cli-htmlbars` to match other repos # 16.0.5 (2017-12-08) * Fixed queryForCurrentValue with array values # 16.0.4 (2017-12-06) * Removed hardcoding of `revealable` for `password` input and use `renderer.options` as a pass through # 16.0.3 (2017-11-29) * **Added** `symbol-observable` at version `1.0.4` to avoid changes being received due to the float: https://github.com/mike-north/ember-symbol-observable/blob/6c6bd65a161b20a9f0f308395ad0553086ca6968/package.json#L50 # 16.0.2 (2017-11-22) * **Fixed** local data filtering involving regex meta characters # 16.0.1 (2017-11-14) * **Updated** version of `ember-frost-date-picker` * **Updated** `ember-frost-date-picker` to now be a dependency instead of a devDependency * **Removed** `ember-cli-moment-shim` since now provided as a dependency of `ember-frost-date-picker` * **Removed** `ember-pikaday-shim` since now provided as a dependency of `ember-frost-date-picker` * **Removed** `pikaday` since now provided as a dependency of `ember-frost-date-picker` # 16.0.0 (2017-11-09) * Use latest major for `ember-frost-core` # 15.0.10 (2017-11-08) * **Fixed** a bug during conditional re-renders that wiped out selection state for the when re-enderer # 15.0.9 (2017-11-03) * Wrap eventListener `visibilitychange` in run loop * Fixes issue of changing tabs while testing, resulting in `autorun loop disabled` error # 15.0.8 (2017-10-04) * **Fixed** rendering support for child views of heterogenous arrays which wasn't properly precomputing the bunsen ID before. # 15.0.7 (2017-10-04) * **Fixed** a major bug in arrays with conditionals which was caused by my array refactor # 15.0.6 (2017-09-30) * **Fixes** race condition causing the `isSchemaLoaded` in the `form` renderer not to fire during init * **Fixes** validation state that was caused by stale validation data. Calling `triggerValidation` on the input form's validation handler and when component validators are removed was necessary to sync up the proper validation state. # 15.0.5 (2017-09-23) * **Updated** demo editor to show red border when json is invalid. Helps when determining why the form doesn't render properly. * **Fixed** a bug where inputs lose focus when conditions are evaluated. Focusing logic was meant to handle this but I didn't catch that it wasn't doing the job. Tests were added to ensure this works now. * **Fixed** nested form case when using the form renderer (form renderer rendering a view that has a form renderer which returns another view) # 15.0.4 (2017-09-21) * the logic of toggling section content has been **changed** to hide content with style rather than removing node from rendering in template # 15.0.3 (2017-09-19) * **Removed** extraneous logging # 15.0.2 (2017-09-19) This fixes a lot of issues with arrays not working, especially around tuples. Since this feature was broken when the last major bump occurred, and the fix involved some internal changes that ultimately required a major bump of bunsen-core, I believe this fix can be a patch. The changes shouldn't affect the usage according to the "official documentation" but it does break some assumptions that were, in my opinion, naive as tuple support was barely working even before. Tuples (fixed-length) arrays are supported by setting the model `items` to an array. When `additionalItems` is set, the tuple becomes dynamic with an initial length of `items.length`. Overriding the view for tuples can be done with `arrayOptions.tupleCells`. Overriding the view for the `additionalItems` can be done with `arrayOptions.itemCell`. # 15.0.1 (2017-09-15) * **Fixes** the hooks for the new form renderer which needs to have consistent hook conventions as the rest of bunsen. # 15.0.0 (2017-09-14) - Date widget no longer defaults to current date. Specifying `defaultToCurrentDate: true` in the renderer options will re-enable this behavior. - Use ember-frost-date-picker@7.3.0 - Add two different date renderers to demo # 14.34.2 (2017-09-14) * **Fixed** styling for the input form so that it takes 100% of the parent form's width. This would help with alignment issues. # 14.34.1 (2017-09-13) * **Added** extra protection around setting of the model/views so that unsetting it after init wouldn't throw an exception. # 14.34.0 (2017-09-12) * **Added** object/form renderer for rendering forms dynamically. Custom views can now reference an object type field directly without needing to expand the view definition further. * **Added** plugins property (utilized by the form renderer) which is responsible for generating bunsen meta data. * **Added** much needed test against the regressions found that degraded the performance. * **Updated** refocus logic to focus on init (if applicable) instead of on every change. * **Updated** the redux workflow to be more compatible with the run-loop. It should prevent issues with multiple synchronous updates causing redundant `onChange` actions being triggered which improves performance. * **Fixed** performance issue with `when` renderer causing multiple `onChange` events on `init`. * **Fixed** performance issue with value propagation due to a bug in the view precomputation and dependency diffing. * **Removed** useless internal hooks. This does not alter the hook names of public interfaces but removes the duplicates used through the intermediate DOM nodes used to render a form. There are still duplicate hooks applied to the form inputs but no change has been made to those to avoid a major release. # 14.33.1 (2017-08-02) * **Update** to `ember-cli@2.12.3` # 14.33.0 (2017-07-25) * **Upgraded** bunsen-core and stopped pinning to a specific version * **Updated** the form to take `mergeDefaults` which allows defaults to be merged with the initial value. # 14.32.16 (2017-07-14) * **Fixed** issue with clearing values on mined property changes. Since it's sync, it'll try to clear options after it's been refreshed to new values. # 14.32.15 (2017-07-08) * **Updating** to latest bunsen-core@1.0.0 # 14.32.14 (2017-07-04) * **Fixes** a regression in labeling that would always display labels if the model was an array. It's been modified to not display the label if the cell has a renderer for the it. # 14.32.13 (2017-07-03) * **Fixes** the behavior when the query dependencies for the select renderer changes # 14.32.12 (2017-06-27) **Fixed** issue where inputs are unfocused when items are added to an array. This was causing inputs to lose focus when `autoAdd` feature for arrays is enabled and a user started to type into an empty input. # 14.32.11 (2017-06-23) * **Updated** version of `ember-frost-date-picker` # 14.32.10 (2017-06-22) **Fixed** removal of `_internal` properties for `onChange` handler. **Updated** bunsen-core to fix validation for deep internal properties # 14.32.9 (2017-06-21) * **Fixed** an issue where view schema would have validation errors if it referenced a field that did not have its condition met. # 14.32.8 (2017-06-21) * **Fixes** a bug in the select renderer not displaying a label when the model enum has 0 # 14.32.7 (2017-06-21) * **Updated** to use [bunsen-core@0.30.13](https://github.com/ciena-blueplanet/bunsen-core/pull/112) * **Fixed** the evc example # 14.32.6 (2017-06-20) **Fixed** issue where tabs would jump to back to the first tab when an array is added to. # 14.32.5 (2017-06-19) * **Fixed** a bug with the queryForCurrentValue select option which assumed the id was at the top level of the form's value. * **Fixed** `components/form.js` to allow extension of `classNames` rather than hard-setting it to only one class name. # 14.32.4 (2017-06-19) **Fixed** custom renderers in arrays as part of the `itemCell` configuration. # 14.32.3 (2017-06-17) **Fixed** how BunsenModelPath handles appending string paths using dot notation. This was causing internal models to be added to the wrong spot in the bunsen model if the cell defining the internal model used dot notation. # 14.32.2 (2017-06-14) **Changed** model expansions and internal models to take effect in nested objects. **Added** support for internal models within arrays. # 14.32.1 (2017-06-09) - added a fix to arrays per @agonza40 and updated tests to ensure the values are actually shown # 14.32.0 (2017-06-06) * **Added** validateOnVisibilityChange property to allow disabling of form validation after losing/regaining focus of the page * **Fixed** select documentation formatting # 14.31.5 (2017-06-06) * **Fixed** support for list data overrides in the select renderer # 14.31.4 (2017-06-04) **Fixed** relative path resolution # 14.31.3 (2017-06-03) - **Fixed** issue where when you select an item in the `multi-select` dropdown then filter it only filters locally. # 14.31.2 (2017-06-02) * **Fixes** issue with `select-input` failing validation when spread options are provided. # 14.31.1 (2017-05-31) **Fixed** references to internal models in deeply nested cells. # 14.31.0 (2017-05-31) **Added** support for relative paths for the recordsPath select renderer option **Fixed** bunsenId, bunsenModel, and config assignment to cells from the inline array item component. # 14.30.5 (2017-05-25) * **Fixed** specifying `options` in the bunsen view for a `multi-select` renderer. The `options` were not making it all the way to the `frost-multi-select` component. * **Fixed** API filtering for multi-select. Previously, it was only using local filtering. # 14.30.4 (2017-05-24) **Fixed** how view cells are merged. # 14.30.3 (2017-05-23) * **Stop** importing `getOwner` from `ember-getowner-polyfill`, since it's a proper polyfill now. (Fixes [#415](https://github.com/ciena-frost/ember-frost-bunsen/issues/415)) # 14.30.2 (2017-05-23) **Fixed** cell definition re-use. In certain situations cell definitions were being used directly instead of being copied which caused issues when trying to assign an ID to the result cell. Now cell definitions are copied instead of being used directly. # 14.30.1 (2017-05-16) **Update** core version to revert view generation. # 14.30.0 (2017-05-12) * **Added** support for array conditions in both models and views. * **Added** view model extension support. This means you can do something like the following: *Model* ```json { "properties": { "lang": { "type": "string" } }, "type": "object" } ``` *View* ```json { "cells": [ { "children": [ { "id": "langGroup", "model": { "enum": [ "Server", "Web" ], "type": "string" }, "internal": true }, { "conditions": [ { "if": [ { "_internal.langGroup": {"equals": "Web"} } ] } ], "model": "lang", "renderer": { "data": [ {"label": "CSS", "value": "css"}, {"label": "HTML", "value": "html"}, {"label": "JavaScript", "value": "js"} ], "name": "select" } }, { "conditions": [ { "if": [ { "_internal.langGroup": {"equals": "Server"} } ] } ], "model": "lang", "renderer": { "data": [ {"label": "Express", "value": "express"}, {"label": "Python", "value": "py"}, {"label": "Ruby", "value": "rb"} ], "name": "select" } } ] } ], "type": "form", "version": "2.0" } ``` # 14.29.2 (2017-05-11) * **Added** some very basic introduction and model documentation. * **Fixed** a bug when working with a view in v1 schema. # 14.29.1 (2017-05-10) * **Cleaned** up code to run validation in same run loop as setting properties for optimize components a bit more. * **Fixed** section component to properly apply class for expand/collapse icon. * **Fixed** tests to clear out variables defined in `describe` blocks to prevent memory leaks. # 14.29.0 (2017-05-10) * **Added** support for new `_internal` model property which can contain any properties you don't want to propagate back to the consumer via the `onChange` callback. These can be used to drive conditional views without polluting the form value with state. * **Fixed** `geolocation` renderer to make less set calls to tighten the Ember run loop around changes. * **Replaced** some `didReceiveAttrs()` hooks with computed properties since Ember has deprecated the use of the `attrs` argument in the `didReceiveAttrs()` life cycle hook. # 14.28.3 (2017-05-05) * **Cleaned** up code by breaking into smaller functions and adding some comments/JSDoc. # 14.28.2 (2017-05-04) * **Updated** ember-bunsen-core dependency to fix an issue with Files being stripped from values # 14.28.1 (2017-05-04) * **Updated** ember-bunsen-core dependency to 0.24.3, which fixes a bug that would strip Files from values. # 14.28.0 (2017-05-04) * **Added** missing `return wait()` call to more tests to make sure they are async safe. * **Replaced** some deep cloning with shallow cloning to reduce new object creation. # 14.27.2 (2017-05-03) * **Added** a missing destroyed checked. * **Fixed** tests to use the `wait` helper to help prevent tests failures due to timing issues. # 14.27.1 (2017-05-01) * **Fixed** a bug where generateFacetView was creating facets where each group had two labels. # 14.27.0 (2017-04-28) * **Changed** a bunch of internal code so the `frost-bunsen-cell` component gets the `bunsenModel` for it's `bunsenId` not the parent model. This is preliminary work work a future PR to support conditionals in arrays. # 14.26.1 (2017-04-27) * **Fixed** styling regression. # 14.26.0 (2017-04-24) * **Added** check in the blueprint to avoid installing packages already installed # 14.25.1 (2017-04-21) * **Fixed** bug where array label wasn't showing up when `arrayOptions` is not defined. # 14.25.0 (2017-04-20) * **Added** support for select renderer to be driven by an array of integers/numbers/strings when using `endpoint` or simply `recordsPath` to mine the form value. # 14.24.0 (2017-04-20) * **Added** support for mining select lists from the form value instead of an API endpoint. # 14.23.2 (2017-04-07) * **Fixed** boolean renderer to put label to right of checkbox. # 14.23.1 (2017-04-03) **Fixed** issue where hidden renderer was unintentionally unsetting values. # 14.23.0 (2017-03-31) * Now supports 'width' option for select renderer # 14.22.1 (2017-03-29) * **Updated** travis build and gh pages publish scripts # 14.22.0 (2017-03-29) * **Updated** date-time renderer test helpers to be more flexible so they can be used in other tests where date-time-picker is employed * **Updated** date-time renderer tests to use the more flexible test helpers * **Added** New `when` renderer that allows the selection of a date based on a keyword or a date time string. * **Updated** demo app to showcase the new `when` renderer * **Added** documentation for the new `when` renderer * **Added** tests for the new `when` render # 14.21.1 (2017-03-23) * **Fixed** addon to include `ember-symbol-observable` as a dependency instead of a devDependency. # 14.21.0 (2017-03-22) * **Changed** where we run gh-pages publish in hopes of fixing it. * **Replaced** blueprints with npm dependencies. * **Upgraded** `ember-bunsen-core` to version `0.23.1`. # 14.20.1 (2017-03-22) * **Fixed** build to publish dummy app to `gh-pages` branch. # 14.20.0 (2017-03-16) Please add a description of your change here, it will be automatically prepended to the `CHANGELOG.md` file. # 14.19.1 (2017-03-14) **Added** a CONTRIBUTING.md file **Updated** ember version to 2.11.2 to address failing tests from [BUGFIX](https://github.com/emberjs/ember-mocha/issues/141) # 14.19.0 * **Fixed** size of icon in geolocation renderer. * **Replaced** some bower dependencies with node dependencies. * **Updated** `ember-lodash-shim` to version `2.0.0` which shaves over 150 KB off of the production build. # 14.18.0 * **Added** support for passthrough options (spread options). This allows new properties of downstream to be leveraged as soon as they are available, with the downside of them not being validated at the bunsen level. # 14.17.0 * **Improved** visual styling of array items. *Compact Form* <img width="1224" alt="screen shot 2017-02-23 at 2 41 35 pm" src="https://cloud.githubusercontent.com/assets/422902/23285250/d5c93e42-f9e4-11e6-8c32-62bcbeb0141d.png"> *Compact Form with Labels Hidden* <img width="1202" alt="screen shot 2017-02-23 at 1 54 01 pm" src="https://cloud.githubusercontent.com/assets/422902/23285292/173f3fb6-f9e5-11e6-8d4b-3b609435d46d.png"> *Compact Detail* <img width="1078" alt="screen shot 2017-02-23 at 2 29 19 pm" src="https://cloud.githubusercontent.com/assets/422902/23285251/d7deba0e-f9e4-11e6-8312-3baacdbb61c6.png"> # 14.16.3 Modifying queryForCurrentValue to work with string IDs. # 14.16.1 * **Fixed** bug where changing value to variable referenced in select `endpoint` wasn't causing a new API fetch to be made, to update the list. # 14.16.0 **Added** support for view conditionals. # 14.15.1 * **Fixed** a bug that occurred when async select filtering was updated rapidly # 14.15.0 * **Fixed** CI configuration to *hopefully* bump version at the right time now * **Added** support for template strings in `endpoint` version of `select` renderer. You can now specify something like this in your bunsen view: ```js { endpoint: '/api/v1/heroes', recordsPath: 'data', labelAttribute: '${name} (${secret})' valueAttribute: 'id' } ``` * **Fixed** a bug where `record.get('title')` was being used instead of `get(record, 'title')` which broke in the ajax use case where the `record` was a POJO and did not have `.get()` defined. * **Added** and **Updated** integration tests to date time renderer. * **Removed** some of the old tests that were not needed that were copied over from date renderer. * **Fixed** a bug that prevented the renderer from properly holding data. # 14.14.2 * **Fixed** a bug causing the `onValidate()` action to fire twice in certain situations. It will now fire once for each time Bunsen calls `validate()`, regardless of whether the value is updated or there are errors. # 14.14.1 * **Fixed** issue where remove button wasn't clickable for an array item due to other DOM sitting on top of the button. # 14.14.0 * **Added** `ember-lodash-shim` configuration to optimize build to only include necessary `lodash` methods. * **Updated** CI to test in Chrome as well as Firefox. # 14.13.0 * **Replaced** a bunch of lodash calls with equivalent calls using ES6 and Ember methods. # 14.12.0 **Added** a new feature for the renderers called DateTime. Allows a user to input a date and time input. Also created tests and added ability to view sample on the dummy server. # 14.11.0 **Added** queryForCurrentValue option to select renderer # 14.10.0 * **Fixed** issues with alignment of description icon in consuming apps by changing where it appears in the DOM. # 14.9.0 * **Added** support for template strings in `select` renderers `endpoint` property. # 14.8.3 **Fixed** a checkbox-array bug where keeping the value upon refresh was not kept in the selected property, causing the checkboxes to all be cleared upon checking any of the checkboxes after a refresh. # 14.8.2 * Fixes an issue where `isRequired` called on a cell that referenced a conditioned model threw an exception. # 14.8.1 **Fixed** `ember-frost-date-picker` version in blueprint. # 14.8.0 **Added** new `date` renderer for handling date input. # 14.7.1 * **Fixed** bug in select when references are present. # 14.7.0 * **Added** ability to drive select inputs via an API without using Ember Data. Instead you can do something like the following (this example lets you search a city and get a list of matching states from MapQuest's geolocation API): **Model** ```json { "properties": { "location": { "type": "string" }, "results": { "type": "string" } }, "type": "object" } ``` *View* ```json { "properties": { "location": { "type": "string" }, "results": { "endpoint": "http://www.mapquestapi.com/geocoding/v1/address", "labelAttribute": "adminArea3", "recordsPath": "results.0.locations", "query": { "key": "<mapquest-api-goes-here>", "location": "${./location}" }, "type": "string", "valueAttribute": "linkId" } }, "type": "object" } ``` # 14.6.0 * Refactored select renderer code to be a little easier to comprehend. # 14.5.1 * **Fixed** arrays to stop showing add button when `maxItems` is reached. * **Upgraded** build to use Ember 2.11. # 14.5.0 * **Fixed** issues in codebase that were preventing it from being used with Ember 2.10. One known issue currently is that when using with Ember 2.10 the `autofocus` property for forms won't function. If using an older version of Ember the `autofocus` property will continue to work as it always has. # 14.4.1 * **Added** more tests for the following renderers to ensure we don't have any regressions in the future around their functionality: * `button-group` * `multi-select` * `select` # 14.4.0 * Cleaned up some code in preparation to get this addon working with Ember 2.10. * **Updated** dependencies to latest versions (shims were renamed which is why is a minor and not a major). If a consumer uses the old shims instead it'll still function the same. # 14.3.4 * **Fixed** issues with CSS for object browser filter facets. # 14.3.3 **Changed** default checkbox size in checkbox-array renderer to small to default to UX standard **Added** integration tests for checkbox-array renderer size # 14.3.2 * **Removed** spacing to left of facet labels when expand/collapse handle is not present. # 14.3.1 * **Fixed** styling of links from`link` renderer when using `url` option. # 14.3.0 * **Added** new `image` renderer for rendering images in views. # 14.2.2 * **Fixed** `generateFacetCell()` utility method to only include the collapsible handle for inputs that consume a lot of horizontal space. Currently the collapsible handle will be present for the following renderers: * `checkbox-array` * `geolocation` * `json` * `textarea` # 14.2.1 * **Fixed** all `ember-prop-type` warnings to ensure API's are all being used properly. * **Fixed** code to comply with latest ESLint rules from `eslint-config-frost-standard`. # 14.2.0 * **Fixed** an issue where checkbox selection was carrying across checkbox-array groups * **Fixed** checkbox-array styling, checkboxes are now in a column * **Added** spacing between checkboxes for object-browser facets styles * **Added** renderer.labels for overriding labels * **Added** Style for frost-object-browser-facets for checkbox array spacing * **Updated** `bunsen-core` to latest version. * **Updated** `ember-bunsen-core` to latest version. # 14.1.3 * **Added** new `onTabChange` property so consumers can be notified of changing tabs. * **Fixed** build to work with bug fix in `ember-prop-types`. # 14.1.2 * **Fixed** blueprints to not install `ember-browserify` and use the latest/correct versions of other dependencies. # 14.1.1 * **Fixed** list item CSS. # 14.1.0 BPSO-33985 be able to see the provisioning log when the Error Log link is clicked in the list view open a specific tab in tab-nav # 14.0.1 **Removed** problematic form element from detail view. # 14.0.0 * **Cleaned** up a bunch of tests by replacing boilerplate with test helpers. > Note: These test helpers will get wired into a consumers test suite but are still considered private API. If you choose to start using them know they may change in breaking ways before the next major on this project happens. * **Removed** `hide` and `show` icons which are no longer used. If you were using these icons in your app via something like below you'll no longer have access to them: ```handlebars {{frost-icon icon='show' pack='frost-bunsen'}} ``` * **Replaced** `ember-redux` with `ember-redux-shim` and `ember-redux-thunk`. > NOTE: When upgrading you can remove `ember-browserify` and `ember-redux` from your `package.json` if you are not using them in your app and no other addons you consume require them. # 13.4.6 * **Fixed** `frost-bunsen-detail` and `frost-bunsen-form` components to work when passed in `validators` and `renderers` properties are `undefined`. * **Refactored** tests to use common utility methods for setting up tests to reduce boilerplate. # 13.4.5 * **Updated** `password` renderer to use button instead of icon for reveal action in detail views. # 13.4.4 * **Fixed** detail views to stop applying `autoAdd` and `sortable` array options. # 13.4.3 * **Updated** components to explicitly include `HookMixin` from `ember-hook` so integration tests no longer need to initialize `ember-hook`. # 13.4.2 * **Updated** dependencies. * **Updated** tests to use latest test helpers and remove deprecation warnings. # 13.4.1 * **Fixed** bug where `geolocation` renderer wasn't working with consumer properties that didn't match internal properties. * **Fixed** bug where `geolocation` renderer wasn't checking if it was destroyed or being destroyed before setting properties. # 13.4.0 * **Added** new component `frost-bunsen` which is designed to be a single entry point for rendering both forms and detail views, as well as any future view types. * **Added** [spread](https://github.com/ciena-blueplanet/ember-spread) operator to existing `frost-bunsen-detail` and `frost-bunsen-form` components. * **Fixed** `geolocation` renderer to work when consumer latitude and/or longitude properties expect the format to be a number instead of a string. * **Fixed** description bubble property validations to not require `description` property as it was causing undesired `ember-prop-type` warnings in the console. * **Fixed** issue where enter key would sometimes submit form by setting `onsubmit='return false'` on the form element itself. * **Fixed** issue where `frost-bunsen-form` and `frost-bunsen-detail` would try to update state after the component had been destroyed when getting an update from the redux store. # 13.3.1 Fixed a bug introduced by a recursive check for required object and array properties. # 13.3.0 * **Added** new `geolocation` renderer for improved UX around address fields. # 13.2.3 **Updated** bunsen-core to allow for empty required objects and arrays. # 13.2.2 * **Fixes** ugly table formatting of the `abstract-input` api docs. # 13.2.1 * **Updates** the demo to include documentation on `abstract-input` and simple example for creating a custom renderer with validation. # 13.2.0 * **Added** support for descriptions on input cells via `description` property. # 13.1.0 * Bringing in input validator support from 12.x # 13.0.0 * **Upgraded** all dependencies to the latest. # 12.4.0 * **Added** new `json` renderer. * **Upgraded** dependencies which includes a fix for the `ipv6-interface` format. # 12.3.0 * **Added** new model formats: `ipv6-interface`, `ipv6-multicast`, and `ipv6-prefix`. # 12.2.8 * **Added** missing tests for password renderer to reach full coverage of renderer. * **Fixed** bug where sections were sometimes showing required label when they shouldn't. # 12.2.7 * Updates `bunsen-core` # 12.2.6 * **Updated** bunsen-core # 12.2.5 * **Fixed** a bug in multi-select renderer that occurred when the value was set to an array the same length as the existing value # 12.2.4 * **Fixed** link to handle incoming changes and rerender properly. # 12.2.3 * **Fixed** a bug where conditions evaluated on the default value don't trigger the `renderModel` CP. The CP was unnecessary and removing it fixed the issue. # 12.2.2 * **Fixed** typo that broke select filtering via API. # 12.2.1 * **Fixed** array option `compact` to function again. # 12.2.0 * **Added** a new feature where when a user leaves the browser window/tab with a form on it then comes back later, validation will re-fire. This will be useful for cases where validation involves API checks such as validating an email or username doesn't already exist in the backend's database. # 12.1.1 * **Fixed** enum driven select to show selected value when filter typed into dropdown. # 12.1.0 * **Upgraded** `ember-frost-core` to the latest version to get the redesigned `frost-select` which is much more keyboard friendly and now includes the filter text input inside the dropdown. # 12.0.2 - Re-added class names to tab content element. # 12.0.1 * **Fixed** bug where tabs would all become unselected when entire bunsen state changed. # 12.0.0 ## Breaking * **Upgraded** to version `3.x` of [ember-frost-tabs](https://github.com/ciena-frost/ember-frost-tabs) which has a new API. # 11.6.0 * **Added** `hideLabel` option to cell for hiding the auto-generated label when `model` is present. # 11.5.4 * **Fixed** password renderer to render as readonly on a detail view. # 11.5.3 * **Fixed** issue where duplicate headers render for array cells when they set the label or collapsible property. # 11.5.2 * **Fixed** `link` renderer to better handle empty labels. # 11.5.1 * **Fixed** bug with array referencing. # 11.5.0 * **Changed** input renderers to only show required label when inputs are empty. * **Changed** sections to only show required label when any required child inputs is empty. * **Fixed** link input renderer to only re-render when DOM will change. * **Fixed** link input renderer to have correct UX by having it use `frost-link` under the hood. * **Fixed** link input renderer to prevent bubbling of click event which keeps link from functioning when used within certain components such as a `frost-list`. # 11.4.0 * **Added**`route` and `url` options to `link` renderer. # 11.3.5 * **Fixed** issue with duplicate section headings rendering under certain scenarios. * **Fixed** validation bug where cell's `model` wasn't being applied to it's `children`. * **Fixed** small visual regression with positioning of collapsible toggle handle. # 11.3.4 * **Added** tests for static input renderer in a form. * **Fixed** `button-group` renderer to support being unset by clicking on the selected button to deselect it. # 11.3.3 * **Fixed** issues with collapsible toggle button swallowing enter keypresses on the form. # 11.3.2 * Let more stuff pass through Mirage in hopes of fixing dummy app for IE. # 11.3.1 * **Added** `includePolyfill` flag for babel in order to make demo more browser friendly. # 11.3.0 * Improved validation errors to indicate whether errors are for model schema or view schema. # 11.2.0 * Improved validation messages to distinguish warnings from errors. # 11.1.3 * **Added** more tests around enum driven select to make sure it plays nice with initial values and default values. # 11.1.2 Partially fixed problem for array of array field case. # 11.1.1 * Automatically unregsiterForFormValueChanges when renderer is being destroyed. # 11.1.0 * **Added** readonly version of `select` renderer which is used by `frost-bunsen-detail`. # 11.0.3 * **Fixed** `list-utils` module to no longer assume that all query params are string values. We were blindly calling `.replace()` to swap out `$filter` if present. Now, we make sure it's actually a string before trying to replace something in it. # 11.0.2 * **Fixed** bug where view generator would overwrite `cellDefinitions` by not first checking if a name was already taken. * **Fixed** validation bug where cell wasn't being validated against proper model. # 11.0.1 * **Fixed** minor CSS issues with inputs. # 11.0.0 * **Changed** hooks to include full bunsen ID instead of just last segment. For example given the following bunsen mode: ```json { "properties": { "foo": { "properties": { "bar": { "type": "string" } }, "type": "object" } }, "type": "object" } ``` Previously you would target the input for `bar` via `$hook('bunsenForm-bar-input')` whereas now you'd target it with `$hook('bunsenForm-foo.bar-input')`. * **Cleaned** up some tests by using new test helpers in `ember-frost-core`. # 10.1.9 * Updated bunsen-core # 10.1.8 * **Fixed** input position shifting down 3 pixels when field goes into error state. # 10.1.7 * **Fixed** width of password and text inputs in facets. # 10.1.6 * **Fixed** styling of empty array message. # 10.1.5 * **Fixed** width of various input types so that they align. # 10.1.4 * **Fixed** issue with `hasQueryChanged` returning false when form values actually differed when the old value had missing dependencies. # 10.1.3 * **Fixed** issue where the `select` input's `query` isn't specified and we should have been looking at `modelType` to fetch from the store. # 10.1.2 * **Fixed** `populateQuery()` to not throw error. # 10.1.1 * **Fixed** list utility methods not to be less brittle and not throw an error when query isn't present. # 10.1.0 * **Added** the option to specify static options for the `select` input * **Added** the option to enable local filtering for the `select` input # 10.0.3 * **Fixed** `isRegisteredEmberDataModel` method to work in a consuming apps tests. # 10.0.2 * **Added** empty message to detail view array with no items. * **Removed** add/remove buttons from detail view arrays. # 10.0.1 * **Fixed** select inputs in dummy/demo app. # 10.0.0 ## Breaking * **Removed** deprecated methods and properties. * **Removed** support for `Ember` version `2.2` as [ember-frost-core](https://github.com/ciena-frost/ember-frost-core) no longer works with that version due to the introduction of [ember-elsewhere](https://github.com/ef4/ember-elsewhere). * **Upgraded** dependencies to latest versions. Now you must add `{{frost-select-outlet}}` in your application template where you want the select drop-down to render. This is because now the dropdown renders elsewhere in the DOM using to mitigate issues with selects rendered within confined containers. For more information on this read the [documentation](http://ciena-frost.github.io/ember-frost-core/#/select). ## Non-Breaking * **Fixed** false positive required prop-type warning regarding a property named `value` on cells which shouldn't actually be required. # 9.6.0 * **Added** an enum driven checkbox-array renderer to provide a flat checkbox facet selection group with the ability to select multiple options. # 9.5.3 * **Fixed** issues with required label showing up on cells under scenarios where it shouldn't. # 9.5.2 * **Added** support for array index references in bunsen views for model property. * **Removed** clear button from multi-select facets. # 9.5.1 * Fixes the blueprints so it installs v0.9.1 of ember-bunsen-core # 9.5.0 * Added change-set processing to the view cells so they only propagate the form value when it has child cells that need updating. # 9.4.0 * **Added** clear button to facets. # 9.3.2 * **Fixed** bug introduced by latest `bunsen-core` update. # 9.3.1 * **Fixed** bug where array items wouldn't render if they had the `compact` array option enabled. * **Upgraded** dependencies to latest versions. # 9.3.0 ## Additional Features * **Added** a new *optional* `onError` property to `frost-bunsen-form` and `frost-bunsen-detail` The `onError` callback will be called whenever an API error occurs in the select renderer, or whenever a custom renderer invokes their own `onError` callback. This passes out errors that might occur when the select renderer queries for options ## Deprecations * **Deprecated** the `onChange` action in `AbstractInput` in favor of one named `handleChange` * **Deprecated** the `onFocusIn` action in `AbstractInput` in favor of one named `hideErrorMessage` * **Deprecated** the `onFocusOut` action in `AbstractInput` in favor of one named `showErrorMessage` # 9.2.4 * **Fixed** issue where first item added to an object array wasn't getting defaults applied. # 9.2.3 * **Fixed** bug where `bunsenView` was being mutated by the codebase and causing labels to disappear from tabs when used in an [ember-frost-modal](https://github.com/ciena-frost/ember-frost-modal) that was closed and re-opened. # 9.2.2 * **Fixed** bug to allow more than one bunsen instance with tabs on the page. # 9.2.1 * **Fixed** serialization of Ember Data objects to keep `id` in object so it can be referenced in a bunsen model. # 9.2.0 * **Added** new test helpers: `expectBunsenInputNotToHaveError()`, `expectBunsenInputToHaveError()`, and `fillInBunsenInput()`. # 9.1.0 * Detail and form tab content areas will now have css classes based on their button label. # 9.0.0 ## Breaking changes * **Stopped** automatically creating `p=label:foo` query param in select-renderer when user types `foo` This was useful for a particular API we were interfacing with early on, but never should have been in the open-source version of this component. ## Non-breaking changes * **Added** support for defining `$filter` in your definition of `query` within the bunsen model for a `select` input, which lets you specify what the query looks like to do text matching in query-driven select renderers. * **Added** a new `eslint` rule in `tests/.eslintrc` to stop us using `expect(foo).to.be.true` or other dangling property matchers from `chai` b/c they are dangerous. For more information about why that is, ask @job13er. # 8.0.0 ## Breaking changes * **Removed** - `bunsenStore` from properties passed to a custom renderer. Some of the properties that used to be provided in `bunsenStore` are not provided individually (see below) * **Added** - `bunsenView` to properties passed to a custom renderer * **Added** - `formDisabled` to properties passed to a custom renderer * **Added** - `showAllErrors` to properties passed to a custom renderer * **Added** - `registerForFormValueChanges` to properties passed to a custom renderer, if a custom renderer wants to know about changes to `formValue` it must now call the passed in `registerForFormValueChanges` inside `init()` and pass itself into said function `this.registerForFormValueChanges(this)`, the custom renderer must also provide a `formValueChanged` function on the component which will be called by the parent `frost-bunsen-form` or `frost-bunsen-detail` component whenever the `formValue` changes. The only parameter to the `formValueChanged` function is the new `formValue`. ## Non-breaking changes * **Added** ability for the demo app to store currently selected view/model/value in the URL * **Added** the `hidden` renderer which allows setting a value in the form without displaying anything to the user. The value can come from the `default` in the bunsen model, or be copied from the value of some other portion of the `formValue` via the `valueRef` property. For instance ,if I want the `label` attribute to be set to what the user entered in `name`, I could specify a `valueRef` of `name`. The `valueRef` is the dotted path from the root of `formValue` to where the value should come from (not relative to the value being set). # 7.3.1 * **Replaced** `ember-cli-blanket` with `ember-cli-code-coverage` (the `addon-spike` branch since it hasn't been merged yet). # 7.3.0 * **Added** ability to specific select options in view instead of model. # 7.2.5 * Fixing CSS class `one-third`. # 7.2.4 * Consuming latest `ember-frost-fields` because the previous version was overriding the default application template in consuming apps. # 7.2.3 * Consuming latest `ember-frost-fields` because the previous version was overriding the default application template in consuming apps. # 7.2.2 * **Fixed** bug where under certain scenarios parent view cells were showing as required when they shouldn't have been. # 7.2.1 * Cleaned up dependencies an