Breaking: Remove install
method. Modifying Ember.computed
is considered a bad practice.
Feature: Use ember-macro-helpers
. That means that the footprint of the addon is much smaller
and ALL macros are composable by default.
BREAKING: Stop testing in 1.13.
Feature: Added hash
macro keeps returns an object with the given properties.
Bugfix: Allow summing empty array
Feature: Ember 2.x only support.
Breaking enhalcement: Remove sumBy
CP.
Breaking enhalcement: Use Array.prototype
instead of Array.Polyfills
for forEach
. Will not work on browsers not supported by Ember 2.x.
Breaking change: Removed deprecated macros notAmong
, notEqual
and notMatch
.
Bugfix: Remove wrong main.js
from package.json. That was preventing the addont to work with ember-cli master.
Enhalcement: Build with ember-cli 0.2.0. Updated dependencies.
Doc: Update to ember-cli-yuidoc. Now documentation is available under the /docs
url when executing ember serve --docs
, watching for changes.
Feature: Added support for composable CPs to join
macro.
Doc: Add formal YUIdoc to all macros.
Breaking enhalcement: Rename addon/ember-cpm.js
to addon/index.js
. Now you import import EmberCPM from "ember-cpm";
Deprecation: Deprecated notEqual
, notMatch
and notAmong
Feature: Added bluprint to generate macros: ember g macro macro-name
Breaking enhalcement: Macro promise
returns a RSVP.Promise instead of a jQuery promise.
Doc: Remove outdated warning in readme Feature: Use Ember.deprecate to warn about deprecations. Feature: Change build process to generate regular, production and minified builds for named-amd and globals. Feature: The addon and the npm package are also published to the shim repo. Feature: Replace broccoli-file-mover with broccoli-funnel
Feature: Push all builds to shim repository on succesful builds.
Feature: Upload builds globals and amd-builds to S3 on succesful builds.
Feature: Added quotient
CP.
Feature: Added allEqual
CP.
Deprecate: Deprecate sumBy
. Suggest a combination of sum
and mapBy
.
Enhalcement: Use ember-cli as build tool, like other regular addons.
Feature: Added product
CP.
Feature: Added conditional
CP.
Feature: Added sum
, backwards compatible with ember's sum, but the ability of handle several arguments.
Feature: Added difference
CP.
Feature: Ember-cpm works out of the box with ember-cli as an addon.
Bugfix: Change exports to make AMD build compatible with ember-cli.
Feature: Use testem as automates test tool.
Feature: Migrate to a build process based on broccoli.
Feature: Converted code to ES6 packages transpiled to global, AMD and CJS.
Feature: Add firstPresent
macro.
Feature: Add sumBy
macro.
Feature: Prepare library to be published via bower.
Feature: Add join
macro
Feature: fmt
macro accepts multiple properties; the formatString
is still
the last argument, so this is 100% backwards-compatible with the
single-property version.
Register EmberCPM with Ember.libraries
if available.
Bugfix: macros didn't work with nested properties, e.g.
EmberCPM.Macros.ifNull('author.name')
Initial version with the following macros:
among
encodeURIComponent
encodeURI
fmt
htmlEscape
ifNull
notAmong
notEqual
notMatch
promise
safeString