Skip to content

Latest commit

 

History

History
136 lines (107 loc) · 10.7 KB

CHANGELOG.md

File metadata and controls

136 lines (107 loc) · 10.7 KB

Ember Paper Changelog

1.0.0

Migrating from releases prior to 1.0

Version 1.0 introduces many API changes relative to previous releases. In addition to the specific changelog listing below, the follow general changes have been made. Note that during the development of 1.0, the wip/v1.0.0 branch reflects the most up-to-date version, with a mixture of updated and to-be-updated components.

Contributions and pull requests are always welcome. Contributors may often be found on the slack.com #e-paper channel. Building the dummy application by installing ember-paper as if it were an application will provide you an up-to-date interactive demo, templates, and code samples.

  • Attributes are now camelCased rather than kebob-cased.
  • Components which accept user input, such as paper-input, paper-checkbox, paper-switch and paper-select now receive their input via the one-way value attribute and notify of a changed value by the onChange actions.
  • When provided by the API, onChange actions are required and throw an assertion if not provided.
  • Actions maybe be specified by a string action name (onChange="updateValue") or an action closure (onChange=(action (mut "myValue"))). If you need to specify a target or additional parameter, you must use an action closure.
  • Many attributes have been renamed for clarity and consistency. See the specific changes below.
  • paper-icon's size attribute now takes a size in pixels, and lg or sm values are no longer supported.

1.0.0-alpha.2

1.0.0-alpha.1

  • #365 paper-button: Support for fab and mini.
  • #362 paper-toolbar: Support for tall.
  • #364 Support installation via both npm versions 2 and 3.
  • #367 You should now use paper-toolbar-tools component (or respective contextual component) instead of the md-toolbar-tools class.
  • #370 paper-icon now once again supports kebab cased icon names, and a size in pixels.
  • #372 paper-button can generate a link elements, with an href and optional target attribute.

1.0.0-alpha.0

  • 1a9b641 paper-progress-circular now uses diameter instead of md-diameter
  • cf2a8da paper-progress-linear now uses bufferValue instead of buffer-value
  • #285 paper-checkbox now uses actions up, data down. onChange action is mandatory.
  • #286 paper-radio no longer has the class paper-radio
  • #286 paper-radio now uses groupValue instead of selected
  • #286 paper-radio now sends the action onChange instead of changed and it is mandatory (see ddau)
  • #303 paper-menu template may now specify dense=true to display menu items compactly
  • #313 paper-backdrop tap action renamed onTap and required action closure.
  • #326
    • paper-input now uses a passThru hash rather than individual attr-xxx attributes to pass attribute binds through to the underlying input.
    • The required attribute can now be used to mean native validation, required label styling with an asterisk, and/or native html5 required validation.
    • paper-input now uses customValidations instead of customValidation. customValidations has a new format.
    • the error messages can now be overriden by specifiying errorMessages=(hash required="new message")
    • first validation message now has suffix -0 in its id
    • paper-checkbox now uses actions up, data down. onChange action is mandatory.
  • #324
    • paper-button now uses iconButton instead of icon-button
    • paper-button now uses the action onClick instead of action
  • #334
    • paper-menu-item now uses action onClick instead of action.
    • paper-item now uses action onClick instead of action.
    • paper-menu now uses value instead of model.
    • paper-checkbox now uses value instead of checked.
    • paper-switch now uses value instead of checked.
    • paper-select now uses a required onChange action.
    • paper-select now uses attribute itemLabelCallback instead of item-label-callback.
    • paper-select now uses attribute getItems instead of on-open.
    • paper-menu now uses attribute isOpen instead of is-open.
  • #338
    • paper-card now uses contextual components. The old paper-card-content and paper-card-title components still work.
    • paper-card now supports the same configurations as the Angular Material version.
  • Updated the dependency on hammer from hammerjs to hammer.js . (Also backported to 0.2.14.)
    • Update your project's bower.json to require "hammer.js": "^2.0.8". Remove bower_components/hammerjs. Run bower cache clean, then bower install.
  • 5521f3b Validation status on paper-input is exposed via onInvalid action.

0.2.14

  • Updated the dependency on Hammer.js from hammerjs to hammer.js.
  • Update your project's bower.json to require "hammer.js": "^2.0.8". Remove bower_components/hammerjs. Run bower cache clean, then bower install.

0.2.13

  • #322 Remove documentation for searchTest in inverse block for {{paper-autocomplete}}.
  • #323 Pass item through as expected rather than label to itemComponent for {{paper-autocomplete}}.
  • #347 Don't import Hammer or matchMedia when building in node (FastBoot support)

0.2.12

  • #307 Add paper-card title components
  • #283 Adds support for fullTextSearch attribute on {{paper-autocomplete}}. Enables passing Promises to the model attribute on {{paper-autocomplete}}. Docs updated.
  • #311 Fixed issue with paper-wormhole div in <head> tag.

0.2.11

  • #253 Add closeOnClick to paper-sidenav
  • #255 Add class to backdrops
  • #260 Set jquery version to 1.11.3
  • #261 Fixed #237 - didInsertElement deprecation warning for components using proxiable-mixin.
  • #271 Add support for positional param {{paper-icon "check"}}

0.2.10 (Nov 23, 2015)

  • #178 Listen for model changes
  • #219 Inject wormhole outlet through addon hook
  • #209 Fix issue with border-bottom-color in paper-select
  • #213 Fixed a few stray color references that didnt use color utility
  • Update ember-cli to 1.13.13

0.2.9 (Sep 20, 2015)

  • #140 Implement Material Menu and Select component.
  • #171 Add support for custom validations in paper-input component.
  • #192 Add support for paper-grid-list component.
  • #194 Fixed #173 - issue with paper-progress-circular.

0.2.8 (Aug 19, 2015)

  • #154 Add support for inline paper-icon in paper-input component
  • #152 Add support for .md-actions to {{paper-card}}
  • #151 Only show validation errors if user has interacted with the element
  • #138 Use sidenav and backdrop angular material styles. Use ember-css-transitions.
  • #168 Added dynamic height to textarea
  • #176 Documentation fix for autocomplete
  • #170 Pass through input helper attributes

0.2.7 (Aug 11, 2015)

  • #132 Added autocomplete component.
  • #144 Fixed paper-icon sizes and added new size md-sm (size="sm").
  • #146 Upgrade to ember 1.13.7 and ember-cli 1.13.8.

0.2.6 (Jul 20, 2015)

  • #135 Fix deprecation bug in linear progress indicator.
  • #136 Added circular progress indicator.
  • Update to Ember-cli 1.13.1.

0.2.5 (Jul 18, 2015)

  • #114 Added linear progress indicator.
  • Created a color mixin. Specify primary=true, accent=true or warn=true to apply the respective color classes.
  • Paper button now applies md-icon-button if icon-button=true.

0.2.4 (Jul 10, 2015)

  • #113 Added support for Ember 1.13.x hasBlock.

0.2.3 (Jul 9, 2015)

  • #120 Rewrite {{paper-input}} from scratch with validation messages. Deprecated {{paper-text}} in favor to the new {{paper-input}}. The transition should be easy.
  • #121 Added Changelog