Releases: DazzlingFugu/ember-cli-embedded
Releases · DazzlingFugu/ember-cli-embedded
Release v2.3.0
Changelog: v2.2.0...v2.3.0
Build
Whitelist files to include on publish (#153)
To reduce the final bundle size.
Bump @embroider/test-setup
from 0.43.5 to 0.47.0 (#154)
Bump qunit
from 2.17.0 to 2.17.2 (#155)
Trim unused packages (#157)
CI
New GitHub workflow to automatically create a new tag, a new release and publish to NPM (#153)
Run all ember-try
scenarios despite failure (#156)
Merge jobs lint
and tests
(#156)
v2.2.0
Build
Bump eslint-plugin-ember
from 10.5.5 to 10.5.7 (#150)
Bump @types/ember__object
from 3.12.5 to 3.12.6 (#151)
CI
Replace test scenario ember-lts-3.24
with ember-lts-3.16
(#148)
At the time of writing these changes, the add-on already runs with [email protected]
so testing the LTS v3.24 in the CI does not make sense.
Follow the native implementation of Ember.js:
- https://github.com/ember-cli/ember-addon-output/blob/v3.24.0/config/ember-try.js
- https://github.com/ember-cli/ember-addon-output/blob/v3.24.0/.travis.yml#L49-L56
Documentation
Lower compatible version of Ember.js (#148)
Because the CI will test against Ember.js v3.16, we should mention the add-on is compatible with this version.
Add a section about TypeScript support (#149)
Features
Allow to pass type of embedded options to Service embedded
(#149)
The Service embedded
now accepts a generic type parameter to improve the accuracy of what it can return.
import Component from '@glimmer/component';
import { inject as service } from '@ember/service';
import type EmbeddedService from 'ember-cli-embedded/services/embedded';
export default class MyComponent extends Component {
@service
declare embedded: EmbeddedService<{ one: string, two?: string }>;
get one() { // Return type inferred: `string | undefined`
return this.embedded.get('one');
}
get two() {
// TypeScript returns an error as `twoo` is not a recognised key
return this.embedded.get('twoo');
}
}
Fixes
Fix required versions of Node.js (#148)
Node.js v10 is actually not supported so we should not mention it in our package.json
.
Refactor
Update Service embedded
to native JS class (#149)
Make tests of Service embedded
stricter (#149)
Prefer assert.strictEqual()
over assert.equal()
.
v2.1.0
Build
Update @types/[email protected]
(#117)
Bump @typescript-eslint/parser
from 4.30.0 to 4.31.0 (#131)
Bump ember-resolver
from 8.0.2 to 8.0.3 (#132)
Bump @types/ember__test-helpers
from 2.0.1 to 2.0.2 (#136)
Bump tmpl
from 1.0.4 to 1.0.5 (#137)
Fix the vulnerability GHSA-jgrx-mgxx-jf9v .
Bump typescript
from 4.3.5 to 4.4.3 (#138)
Bump qunit-dom
from 1.6.0 to 2.0.0 (#139)
Bump @ember/test-helpers
from 2.4.0 to 2.4.2 (#140)
Bump eslint-plugin-ember
from 10.5.1 to 10.5.5 (#141)
Bump ember-maybe-import-regenerator
from 0.1.6 to 1.0.0 (#142)
Bump @ember/test-helpers
from 2.4.2 to 2.5.0 (#143)
Chore
Set @peopledoc/tribe-js as code owner (#145)
CI
Revamp GitHub workflows using Ember.js native implementation (#144)
Fixes
New deprecated structure (#117)
Keys for
and since
were added to deprecate options in order to avoid a warning.