Skip to content

Releases: orbitjs/ember-orbit

v0.17.0-beta.7

19 Feb 14:43
Compare
Choose a tag to compare
v0.17.0-beta.7 Pre-release
Pre-release

Updates dependencies to latest versions of Orbit (v0.17.0-beta.12) and Ember (v3.25.0).

Enforces strict typings in tsconfig.

Changelog

πŸš€ Enhancement

🏠 Internal

  • #326 Update orbit v0.17.0-beta.12 and ember-cli v3.25.0 (@dgeb)

Committers: 1

v0.17.0-beta.6

12 Feb 21:21
Compare
Choose a tag to compare
v0.17.0-beta.6 Pre-release
Pre-release

This is a major upgrade of ember-orbit to use the latest v0.17 beta packages. This largely insulates users of ember-orbit from the largest breaking change in v0.17.0-beta.9, since ember-orbit largely eliminates the need to reference @orbit/data or the new @orbit/records packages in app code. However, check your imports.

There are a couple other breaking changes to be aware of:

  • [BREAKING] In ember-orbit, the store is no longer injected into routes and controllers by default. This change is in keeping with the deprecation of implicit injections in Ember itself. Now, if you want access to the store service from anywhere, use the @service decorator.

  • [BREAKING] ember-orbit's dependency on ember-inflector has been removed. Orbit itself no longer handle inflections at the schema layer. If you're relying on the schema's pluralize and singularize methods, see the recommendations here for moving sources like @orbit/jsonapi over to the new serializers and inflectors.

  • [BREAKING] A breaking change has been made in orbit v0.17.0-beta.9 to allow for consistent handling of "not found" errors across sources. The default behavior is to now return undefined for queries instead of raising a RecordNotFoundException. This makes it possible to issue multiple query expressions at once without worrying that a single record not found will prevent access to the rest of the results. If you'd like to continue to raise RecordNotFoundException in these cases, use the raiseNotFoundExceptions: true option. This can be set per-query, or per-expression, or as a default option for a source via the defaultQueryOptions setting.

There are also significant enhancements that came with the latest orbit v0.17 betas, including:

  • Adds support for more detailed, full responses from requests. Using the fullResponse: true option, you can now request details such as the full response document for JSONAPISource queries and updates. See #794 for details.

  • Ensures consistency between the query and update interfaces used by both caches and sources (with the exception that synchronous caches of course still return results immediately). The patch method has been deprecated for caches. Again, part of #794.

  • Support for parallel fetch requests for multi-expression queries and multi-operation updates made to the JSONAPISource. By default, queries will be run in parallel now, while transform operations will still run in series. See #806.

More details and examples will be provided in the full v0.17 release notes.

Changelog

πŸ’₯ Breaking Change

πŸš€ Enhancement

  • #325 Update to orbit v0.17.0-beta.11 (@dgeb)

πŸ› Bug Fix

  • #306 Hotfix for using ember computed macros based on model attributes (@chbonser)
  • #310 Fix prototype leakage on inheritance (@tchak)
  • #309 Store schema information on prototype to fix model inheritance (@tchak)

🏠 Internal

Committers: 4

v0.16.9

14 Sep 21:03
Compare
Choose a tag to compare

Bumps Orbit dependencies. @orbit/data v0.16.7 addresses an issue in mergeOperations in which addRecord and updateRecord operations were not being merged with subsequent updateRecord operations for the same record.

Changelog

πŸ› Bug Fix

Committers: 1

v0.17.0-beta.1

02 Aug 14:08
Compare
Choose a tag to compare
v0.17.0-beta.1 Pre-release
Pre-release

This is the first v0.17 beta release of ember-orbit, based on beta.5 of orbit itself.

ember-orbit has been almost completely refactored to take advantage of new glimmer and orbit primitives.

Changelog

πŸ’₯ Breaking Change

πŸš€ Enhancement

πŸ› Bug Fix

πŸ“ Documentation

🏠 Internal

Committers: 3

v0.16.8

27 Jul 14:56
Compare
Choose a tag to compare

Changelog

πŸ› Bug Fix

Committers: 1

v0.16.7

07 Jun 21:43
Compare
Choose a tag to compare

This patch release includes new support for polymorphic relationships, which has been backported from the v0.17 beta by @derekwsgray in #264. You can now declare multiple potential types in an array in hasOne or hasMany relationships. πŸŽ‰

The codebase has also been reformatted with Prettier v2. Thanks @tchak!

Changelog

πŸš€ Enhancement

🏠 Internal

Committers: 2

v0.16.6

12 Mar 20:55
Compare
Choose a tag to compare

This patch release includes some dependency updates and minor DX improvements.

Perhaps the biggest improvement is the addition of an ember-cli-addon-docs site by @rwwagner90, which will be launched soon! πŸŽ‰

Changelog

πŸš€ Enhancement

πŸ“ Documentation

Committers: 4

v0.16.5

14 Jan 18:49
Compare
Choose a tag to compare

This is a minor patch release with some typing improvements and several internal tweaks.

Changelog

πŸš€ Enhancement

πŸ“ Documentation

🏠 Internal

Committers: 2

v0.16.4

22 Dec 19:27
Compare
Choose a tag to compare

This patch release upgrades Ember and Orbit dependencies and fixes a couple configuration-specific problems.

Thanks to @devotox and @tchak for their work on this πŸ’―

Changelog

πŸš€ Enhancement

  • #236 Upgrade ember, orbit.js and other dependencies (@tchak)

πŸ› Bug Fix

🏠 Internal

  • #237 Explicitly declare supported node versions (@tchak)

Committers: 2

v0.16.3

26 Sep 14:29
Compare
Choose a tag to compare

Upgrade Ember and Orbit dependencies to latest.

Changelog

πŸš€ Enhancement

Committers: 1