Skip to content

Releases: orbitjs/ember-orbit

v0.20.0-ember-orbit

14 Oct 17:34
6ba4a1e

Choose a tag to compare

Release (2025-10-14)

  • ember-orbit 0.20.0 (major)

💥 Breaking Change

Committers: 1

v0.19.3-ember-orbit

09 Oct 19:14
82d2b2f

Choose a tag to compare

Release (2025-10-09)

  • ember-orbit 0.19.3 (patch)

🐛 Bug Fix

Committers: 1

v0.19.2-ember-orbit

09 Oct 19:02
7346e80

Choose a tag to compare

Release (2025-10-09)

  • ember-orbit 0.19.2 (patch)

🐛 Bug Fix

Committers: 1

v0.19.1-ember-orbit

09 Oct 18:39
1d4aa27

Choose a tag to compare

Release (2025-10-09)

  • ember-orbit 0.19.1 (patch)

🐛 Bug Fix

Committers: 1

v0.19.0-ember-orbit

09 Oct 15:53
96e4187

Choose a tag to compare

Release (2025-10-09)

  • ember-orbit 0.19.0 (major)

💥 Breaking Change

🚀 Enhancement

Committers: 1

v0.18.0-ember-orbit

06 Oct 15:22
de5d918

Choose a tag to compare

Release (2025-10-06)

  • ember-orbit 0.18.0 (major)

💥 Breaking Change

🏠 Internal

Committers: 1

v0.17.6-ember-orbit

23 Sep 14:23
8e845bb

Choose a tag to compare

Release (2025-09-23)

  • ember-orbit 0.17.6 (patch)

🏠 Internal

Committers: 1

v0.17.5-ember-orbit

23 Sep 13:41
a3a28a9

Choose a tag to compare

Release (2025-09-23)

  • ember-orbit 0.17.5 (patch)

🏠 Internal

Committers: 1

v0.17.4-ember-orbit

23 Sep 13:28
3dae54b

Choose a tag to compare

Release (2025-09-23)

  • ember-orbit 0.17.4 (patch)

🐛 Bug Fix

  • ember-orbit

🏠 Internal

Committers: 1

v0.17.3

10 Mar 14:02

Choose a tag to compare

This release improves upon the previous release which allowed source and strategy factories to conditionally return null or undefined to signal that they should be ignored by the coordinator factory. This approach was flawed in that the returned value still ends up in the application's container, and non-objects are not handled properly by ember when the container is destroyed. This could cause issues in test teardown for instance.

Instead of returning a custom value from create, it is now recommended that the default export of the source or strategy module be conditionally changed to a non-factory (e.g. null or undefined) to signal that it should be ignored. This avoids the call to lookup and thus prevents nullish values from entering the container.

For example, the following strategy will be conditionally included for all non-production builds:

// app/data-strategies/event-logging.js

import { EventLoggingStrategy } from '@orbit/coordinator';
import config from 'example/config/environment';

const factory = {
  create() {
    return new EventLoggingStrategy();
  }
};

// Conditionally include this strategy
export default config.environment !== 'production' ? factory : null;

Changelog

🚀 Enhancement

  • #401 Improve conditional creation of sources and strategies (@dgeb)

Committers: 1