Skip to content

Tags: MichalBryxi/ember-resources

Tags

v3.1.2

Toggle v3.1.2's commit message
chore(release): 3.1.2 [skip ci]

## [3.1.2](NullVoxPopuli/ember-resources@v3.1.1...v3.1.2) (2021-08-03)

### Bug Fixes

* **types:** loosen the args type on the lifecycle resource ([56f96b0](NullVoxPopuli@56f96b0))

v3.1.1

Toggle v3.1.1's commit message
chore(release): 3.1.1 [skip ci]

## [3.1.1](NullVoxPopuli/ember-resources@v3.1.0...v3.1.1) (2021-08-01)

### Bug Fixes

* **108:** ensure that Args can be ommitted from Resources when unknown is ok ([34c07ff](NullVoxPopuli@34c07ff))
* **issue#108:** loosen the constraint on what named arguments are ([dff5be3](NullVoxPopuli@dff5be3)), closes [issue#108](https://github.com/issue/issues/108)

v3.1.0

Toggle v3.1.0's commit message
chore(release): 3.1.0 [skip ci]

# [3.1.0](NullVoxPopuli/ember-resources@v3.0.1...v3.1.0) (2021-07-31)

### Features

* **resource:** Resource without lifecycle hooks ([ae0656f](NullVoxPopuli@ae0656f))

v3.0.1

Toggle v3.0.1's commit message
chore(release): 3.0.1 [skip ci]

## [3.0.1](NullVoxPopuli/ember-resources@v3.0.0...v3.0.1) (2021-07-25)

### Bug Fixes

* **readme:** all code samples now include imports from ember-resources ([d7941f4](NullVoxPopuli@d7941f4)), closes [NullVoxPopuli#87](NullVoxPopuli#87)

v3.0.0

Toggle v3.0.0's commit message
chore(release): 3.0.0 [skip ci]

# [3.0.0](NullVoxPopuli/ember-resources@v2.0.1...v3.0.0) (2021-07-20)

### Features

* **functions:** all useFunction functions are now async ([01c6ffd](NullVoxPopuli@01c6ffd))

### BREAKING CHANGES

* **functions:** all functions async due to an issue that came up
during production builds, where minification would optimize away the
async/await when the function was a one liner, like:

```ts
async () => {
  return await ...
}
```
the `async` keyword was a clue to the `FunctionRunner` to go down a
different code branch (before running the function), but when the above
example function was minified, it became:

```ts
() => { return ... }
```

which then made the `FunctionRunner` go down the sync path, resulting
in the `value` being a promise, rather than the resolved value of the
promise.

v2.0.1

Toggle v2.0.1's commit message
chore(release): 2.0.1 [skip ci]

## [2.0.1](NullVoxPopuli/ember-resources@v2.0.0...v2.0.1) (2021-07-14)

### Bug Fixes

* **deps:** update dependency @ember/test-waiters to ^2.4.5 ([010dae3](NullVoxPopuli@010dae3))

v2.0.0

Toggle v2.0.0's commit message
chore(release): 2.0.0 [skip ci]

# [2.0.0](NullVoxPopuli/ember-resources@v1.3.1...v2.0.0) (2021-07-10)

### Features

* useFunction now supports an initialValue param ([6ba9e26](NullVoxPopuli@6ba9e26))

### BREAKING CHANGES

* useFunction is no longer an alias of useResource

v1.3.1

Toggle v1.3.1's commit message
chore(release): 1.3.1 [skip ci]

## [1.3.1](NullVoxPopuli/ember-resources@v1.3.0...v1.3.1) (2021-07-09)

### Bug Fixes

* **readme:** Correct example import of `useResource` ([5f99b22](NullVoxPopuli@5f99b22))

v1.3.0

Toggle v1.3.0's commit message
chore(release): 1.3.0 [skip ci]

# [1.3.0](NullVoxPopuli/ember-resources@v1.2.5...v1.3.0) (2021-06-25)

### Bug Fixes

* **readme:** table of contents links now work ([00a397f](NullVoxPopuli@00a397f))

### Features

* **types, docs:** document types and how to test with resources ([8545bb6](NullVoxPopuli@8545bb6))

v1.2.5

Toggle v1.2.5's commit message
chore(release): 1.2.5 [skip ci]

## [1.2.5](NullVoxPopuli/ember-resources@v1.2.4...v1.2.5) (2021-06-24)

### Bug Fixes

* **async functions:** properly entangle for the value and prevent infinite re-rendering ([ad268fe](NullVoxPopuli@ad268fe))