Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

ember-m3

Package Overview
Dependencies
Maintainers
9
Versions
99
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ember-m3 - npm Package Versions

13
10

5.0.8

Diff

Changelog

Source

v5.0.8 (2022-12-07)

:house: Internal
  • #1688 [ember 4] Add for and since in deprecate() to be ember 4 compat (@serinyoon)
  • #1667 Cancel prior CI jobs for the same PR/branch. (@rwjblue)
  • #1664 Fixup CI Runs (@rwjblue)
Committers: 2
hjdivad
published 5.0.7 •

Changelog

Source

v5.0.7 (2022-06-28)

:bug: Bug Fix
:memo: Documentation
  • #1626 A test case to show how to use a symbol as an attribute name (@larry-x-yu)
:house: Internal
Committers: 4
larry-x-yu
published 5.0.6 •

Changelog

Source

v5.0.6 (2022-05-10)

:bug: Bug Fix
Committers: 1
hjdivad
published 5.0.5 •

Changelog

Source

v5.0.5 (2022-05-10)

:bug: Bug Fix
:house: Internal
Committers: 2
hjdivad
published 5.0.4 •

Changelog

Source

v5.0.4 (2022-01-12)

:bug: Bug Fix
  • #1534 [bugfix] ensure that errors can be updated when using useUnderlyingErrorsValue (@gabrielcsapo)
:house: Internal
Committers: 3
igort
published 5.0.3 •

Changelog

Source

v5.0.3 (2021-11-01)

:bug: Bug Fix
  • #1403 Fix for tracked properties updating when using m3 native properties (@igorT)
Committers: 1
igort
published 5.0.2 •

Changelog

Source

v5.0.2 (2021-09-29)

:bug: Bug Fix
  • #1376 Fix native property access in production (@igorT)
Committers: 1
igort
published 5.0.1 •

Changelog

Source

v5.0.1 (2021-09-09)

:rocket: Enhancement
Committers: 1
igort
published 5.0.0 •

Changelog

Source

v5.0.0 (2021-09-02)

:boom: Breaking Change
  • #1299 Array.isArray(value) should not be used with M3 Arrays and will be returning true in the future.

With Ember Data versions 3.28.0 and above M3 Arrays can be used as native JS arrays other than in IE11 which doesn't support proxies. For example, instead of having to do m3Array.objectAt(0) you can now do m3Array[0].

However, because M3 Arrays are now proxying JavaScript native arrays, the return value of Array.isArray(m3Array) will change to now be true, so it is no longer safe to rely on Array.isArray to distinguish between native and m3 arrays. If you need to detect an M3 Array we have now provided a utility method isM3Array:

import isM3Array from 'ember-m3/utils/is-m3-array'

// To replicate old behavior of `Array.isArray(value)` you would need to do:
let isJSArray = Array.isArray(value) && !isM3Array(value)
:rocket: Enhancement
  • #1300 Do not emit array change events when app is being destroyed (@igorT)
  • #1301 Sync projections and base model deleted state with CUSTOM_MODEL_CLASS (@igorT)
  • #1238 Add array native access (@igorT)
  • #1232 Add native property access for models (@igorT)
:bug: Bug Fix
  • #1315 Add IE testing and guard proxies when they are not present (@igorT)
  • #1298 Do not needlessly access isDirty (@igorT)
  • #1299 Switch m3 array proxies to proxy [] insted of BaseRecordArray (@igorT)
  • #1301 Sync projections and base model deleted state with CUSTOM_MODEL_CLASS (@igorT)
  • #1295 Fix isDeleted rollbackAttributes for Custom Model Class (@igorT)
  • #1241 fix: skip this.errors.remove if useUnderlyingErrorsValue (@spham92)
  • #1243 Fix isError and adapterError with CUSTOM_MODEL_CLASSES (@igorT)
  • #1240 Fix for projected models resolving in projected arrays, when CUSTOM_MODEL_CLASS is on (@igorT)
  • #1248 Add 'for' and 'since' to nativeProperties deprecation (@igorT)
  • #1249 Fix isSaving for embedded records when CUSTOM MODEL CLASS is on (@igorT)
  • #1242 Fix isDirty for inflight records and set _topModel to the proxy value (@igorT)
  • #1247 Don't trigger dot access deprecations when useNativeProperties hook isn't defined (@igorT)
:memo: Documentation
  • #1252 Add documentation for native property access (@igorT)
:house: Internal
  • #1296 Convert state tests to use native property access (@igorT)
  • #1251 Cleanup the invalid errors test (@igorT)
Committers: 2
igort
published 4.2.0 •

Changelog

Source

v4.2.0 (2021-08-02)

:rocket: Enhancement
:bug: Bug Fix
  • #1241 fix: skip this.errors.remove if useUnderlyingErrorsValue (@spham92)
  • #1243 Fix isError and adapterError with CUSTOM_MODEL_CLASSES (@igorT)
  • #1240 Fix for projected models resolving in projected arrays, when CUSTOM_MODEL_CLASS is on (@igorT)
  • #1249 Fix isSaving for embedded records when CUSTOM MODEL CLASS is on (@igorT)
  • #1242 Fix isDirty for inflight records and set _topModel to the proxy value (@igorT)
:memo: Documentation
  • #1252 Add documentation for native property access (@igorT)
:house: Internal
Committers: 2
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc