Skip to content

Releases: CrowdStrike/ember-browser-services

[email protected]

25 Oct 15:42
8b108e0
Compare
Choose a tag to compare

Patch Changes

[email protected]

30 Aug 16:42
Compare
Choose a tag to compare

Major Changes

  • #397 606e0f8fe4e6ef3ff527cb432c65af2fb9d631d4 Thanks @simonihmig! - Drop support for Ember < 4.8

  • #399 562c673596fdcad78a4f7f5b89877b2ff3a18073 Thanks @simonihmig! - Update ember-window-mock, drop unneeded glue code

    There is a potentially breaking change, as you cannot mock window.location.origin directly anymore. But this should not restrict you, as you can set window.location.href, and origin will be correctly reflected. Having origin not be aligned with href can never happen in reality, since origin is a read-only property, so having these diverge in tests is not really useful.

[email protected]

01 Feb 20:16
014fa42
Compare
Choose a tag to compare

Patch Changes

  • #364 0be2928 Thanks @NullVoxPopuli! - Include the LICENSE.md in the npm package

  • #364 398d517 Thanks @NullVoxPopuli! - Address an issue where the types of each of the browser services did not have sufficient overlap with Service.

    This is required for folks using more modern TypeScript in ember apps,
    where the service-name argument is passed to the @service decorator.

    Previously, an error would occur:

    ../ember-browser-services/dist/services/browser/document.d.ts:4:9 - error TS2411: Property ''browser/document'' of type 'typeof Service & Document' is not assignable to 'string' index type 'Service'.
    
    4         'browser/document': typeof DocumentProxyService;
              ~~~~~~~~~~~~~~~~~~
    

    The expected type of Services in the Service Registry is Service, not typeof Service.

v4.0.3

08 Jun 15:39
Compare
Choose a tag to compare

4.0.3 (2022-06-08)

Bug Fixes

  • deps: widen range for @embroider/addon-shim (4db62b7)

v4.0.2

08 Jun 14:08
Compare
Choose a tag to compare

4.0.2 (2022-06-08)

Bug Fixes

  • package: app-re-exports included non-public file (f2c7ef1)

v4.0.1

07 Jun 23:38
Compare
Choose a tag to compare

4.0.1 (2022-06-07)

Bug Fixes

  • package: addon-main specified incorrect path (61e99ab)
  • package: exports field did not specify test-support (83a303f)
  • package: typesVersions was woefully incorrect (3538f00)

v4.0.0

07 Jun 19:37
Compare
Choose a tag to compare

4.0.0 (2022-06-07)

chore

  • run npx ember-addon-migrator (74bc722)

BREAKING CHANGES

  • this addon now requires ember-auto-import@v2

v3.0.5

16 May 15:20
Compare
Choose a tag to compare

3.0.5 (2022-05-16)

Bug Fixes

  • package: opt in to which files to include on npm, instead of the inverse (f0d2dd9)

v3.0.4

21 Apr 04:33
Compare
Choose a tag to compare

3.0.4 (2022-04-21)

Bug Fixes

  • deps: update dependency ember-cli-typescript to ^5.1.0 (d2dd804)

v3.0.3

18 Feb 14:51
Compare
Choose a tag to compare

3.0.3 (2022-02-18)

Bug Fixes

  • deps: update dependency ember-window-mock to ^0.8.1 (19d60dc)