Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Simplify changelog #798

Merged
merged 2 commits into from
Mar 7, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions .changeset/gold-weeks-destroy.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ The `map` utility resource has changed its first type-argument for better infere

The utility already supported inference, so this change should not impact too many folks.

<details><summary>Migration and Reasoning</summary>

When explicit type-arguments were specified,

```ts
Expand Down Expand Up @@ -79,3 +81,5 @@ c = map(this, {
expectType<number>(c[0]);
expectType<number>(c.values()[0]);
```

</details>
5 changes: 2 additions & 3 deletions .changeset/hungry-waves-kiss.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,7 @@ NOTE: `trackedFunction` is an example utility of how to use auto-tracking with f
and abstract away the various states involved with async behavior. Now that the heavy lifting is done by `ember-async-data`,
`trackedFunction` is now more of an example of how to integrated existing tracked utilities in to resources.

---

**Migration**
<details><summary>Migration</summary>

**_Previously_, the state's `isResolved` property on `trackedFunction` was `true` on both success and error.**

Expand Down Expand Up @@ -93,3 +91,4 @@ class Demo extends Component {
}
```

</details>
4 changes: 3 additions & 1 deletion .changeset/young-walls-own.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@

New Utils: UpdateFrequency and FrameRate

NOTE: for existing users of `ember-resources`, this addition has no impact on your bundle.

<details><summary>FrameRate</summary>

Utility that uses requestAnimationFrame to report
Expand All @@ -23,7 +25,7 @@ New Utils: UpdateFrequency and FrameRate
</details>


<details><summary>FrameRate</summary>
<details><summary>UpdateFrequency</summary>


Utility that will report the frequency of updates to tracked data.
Expand Down