Skip to content

Releases: ember-decorators/ember-decorators

v7.0.0-ember-decorators

Choose a tag to compare

@github-actions github-actions released this 23 Jun 14:30
fd7871f

Release (2026-06-22)

  • ember-decorators 7.0.0 (major)
  • @ember-decorators/component 7.0.0 (major)
  • @ember-decorators/object 7.0.0 (major)
  • @ember-decorators/utils 7.0.0 (major)

💥 Breaking Change

  • ember-decorators, @ember-decorators/component
  • @ember-decorators/component
  • @ember-decorators/object
  • @ember-decorators/utils
  • Other

📝 Documentation

  • ember-decorators
    • #511 Docs: ember-decorators no longer transitively provides @ember-decorators/ packages (@BobrImperator)

🏠 Internal

Committers: 2

v6.1.0

Choose a tag to compare

@pzuraq pzuraq released this 14 Aug 19:56
  • Adds the @classNameBindings and @attributeBindings class decorators, which make 1-1 conversions for components that use these APIs much easier

v6.0.0

Choose a tag to compare

@pzuraq pzuraq released this 11 Apr 20:55

Breaking Changes

  • Removed Packages

    • @ember-decorators/babel-transforms
    • @ember-decorators/controller
    • @ember-decorators/data
    • @ember-decorators/service
  • Removed APIs from @ember-decorators/object

    • @computed
    • @wrapComputed
    • @action
    • All computed macros

The functionality provided by these APIs is now built into Ember directly! You will be able to use them by importing them from ember, e.g.

import { action, computed } from '@ember/object';

You can include these in your app today using the polyfill.

v5.0.0

Choose a tag to compare

@pzuraq pzuraq released this 15 Jan 00:07

Breaking Changes

  1. @readOnly and @volatile have been removed in favor of @(computed().readOnly()) and @(computed().volatile()) style declarations. All classic modifiers are available, enabled, and chainable in this way.
  2. @reads and @overridableReads have been removed and changed back to @readOnly and @reads respectively, and @oneWay has been added back.
  3. @service and @controller have both been renamed to inject to match the exports in Ember proper.
  4. The shouldThrowOnComputedOverride configuration option has been removed, since it is not an option in Ember proper.
  5. Removed the macro function in favor of compatibility with classic classes

New Features

  1. @computed can now receive a ComputedPropertyDescriptor as its last argument (e.g. a function or { get, set } object.
  2. All computed property decorators can now be used in classic classes as well. This makes the decorators a drop-in replacement for @ember/object#computed.
  3. @action now binds action methods as well as copying their reference.

v4.0.0

Choose a tag to compare

@pzuraq pzuraq released this 12 Jan 01:04

Breaking Changes

  • Drops support for Typescript 2.7 (now only 2.8+)

v3.1.0

Choose a tag to compare

@pzuraq pzuraq released this 12 Jan 01:03

New Features

  • Support for the stage 2 decorators transforms has been added

v3.0.0

Choose a tag to compare

@pzuraq pzuraq released this 01 Nov 17:58

Breaking Changes

  • The @readOnly computed macro has been renamed to @reads, and the @reads and @oneWay macros have been renamed to @overridableReads
  • Computed properties are now overridable (clobberable) by default. You can disable this by setting the throwOnComputedOverride option in the build config.

v2.5.2

Choose a tag to compare

@mike-north mike-north released this 04 Oct 21:59
v2.5.2

v2.5.0

Choose a tag to compare

@pzuraq pzuraq released this 19 Sep 06:03

New Features

  • Undeprecated @readOnly and added @volatile
  • @readOnly and @volatile can be applied in any order
  • Added ability to configure if computeds should throw an error on override (clobber)

Bugfixes

  • Fixes blueprints

v2.4.0

Choose a tag to compare

@pzuraq pzuraq released this 25 Aug 02:07

New Features

Added decorators for observers and event listeners:

  • @on
  • @off
  • @observes
  • @unobserves

Bugfixes

  • Fixed typings for @attr so it can receive options hashes