Skip to content

Migrate to new control flow syntax#1827

Merged
santam85 merged 2 commits intovalor-software:masterfrom
PowerKiKi:powerkiki
Feb 28, 2024
Merged

Migrate to new control flow syntax#1827
santam85 merged 2 commits intovalor-software:masterfrom
PowerKiKi:powerkiki

Conversation

@PowerKiKi
Copy link
Contributor

No description provided.

@PowerKiKi PowerKiKi marked this pull request as ready for review February 11, 2024 06:21
@PowerKiKi
Copy link
Contributor Author

Damned! E2e tests are flaky after all 😭 ... any suggestions ?

Out of topic, but you mentioned migrating to signals. I would suggest to release what we have now, without signals. And introduce signals in the next version. Because signals are still a bit young, so probably not everyone is familiar with yet. And because output signals are still missing. I feel it would be weird if we migrate to input signals now, and later migrate to output signals. While it's definitely something we should in mid-long term, I feel we can still postpone a bit. WDTY ?

@santam85
Copy link
Contributor

santam85 commented Feb 13, 2024

Damned! E2e tests are flaky after all 😭 ... any suggestions ?

Out of topic, but you mentioned migrating to signals. I would suggest to release what we have now, without signals. And introduce signals in the next version. Because signals are still a bit young, so probably not everyone is familiar with yet. And because output signals are still missing. I feel it would be weird if we migrate to input signals now, and later migrate to output signals. While it's definitely something we should in mid-long term, I feel we can still postpone a bit. WDTY ?

Yes sure, I just want to have the unit-tests working again first, I think I will revert the jest migration someone else had merged to master.

EDIT: I guess the flakyness could be caused by the linux version used, i generate the screenshots using docker and the node:lts image

@PowerKiKi can you give the docs a once-over and perhaps add a migration guide to v6 🙏 ?

@santam85 santam85 merged commit 1f8491c into valor-software:master Feb 28, 2024
@PowerKiKi
Copy link
Contributor Author

Thank you for the release 🚀

give the docs a once-over

I noticed the content of README.md and apps/ng2-charts-demo/src/app/landing/landing.component.html is almost duplicated, but not quite exactly. What about keeping only one of them ? I'd say let's drop the doc on the site and keep only README.md, which is easier to maintain (no need to escape TS) and offers better syntax highlighting ?

PS: https://valor-software.com/ng2-charts/ was not updated correctly with the last release:

image

gisbdzhch pushed a commit to gisktzh/gb3-web_ui that referenced this pull request Mar 14, 2024
This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [ng2-charts](https://github.com/valor-software/ng2-charts) | [`^5.0.3` -> `^6.0.0`](https://renovatebot.com/diffs/npm/ng2-charts/5.0.4/6.0.0) | [![age](https://developer.mend.io/api/mc/badges/age/npm/ng2-charts/6.0.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/ng2-charts/6.0.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/ng2-charts/5.0.4/6.0.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/ng2-charts/5.0.4/6.0.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) |

---

### Release Notes

<details>
<summary>valor-software/ng2-charts (ng2-charts)</summary>

### [`v6.0.0`](https://github.com/valor-software/ng2-charts/releases/tag/v6.0.0)

[Compare Source](valor-software/ng2-charts@v5.0.4...v6.0.0)

#### What’s Changed

-   BREAKING Tree shakable standalone library ([#&#8203;1801](valor-software/ng2-charts#1801)) [@&#8203;PowerKiKi](https://github.com/PowerKiKi)
    Users must import the library in standalone mode
-   BREAKING drop hardcoded and generated colors ([#&#8203;1806](valor-software/ng2-charts#1806)) [@&#8203;PowerKiKi](https://github.com/PowerKiKi)
    Users must migrate to the Colors [plugin](https://www.chartjs.org/docs/latest/general/colors.html) from Chart.js for color generation
-   Angular 17 ([#&#8203;1757](valor-software/ng2-charts#1757)) [@&#8203;santam85](https://github.com/santam85)
    Angular 17 is the minimum version for v6
-   Target ES2022 as is done in Angular 17 new projects ([#&#8203;1802](valor-software/ng2-charts#1802)) [@&#8203;PowerKiKi](https://github.com/PowerKiKi)
-   Enforce prettier in CI ([#&#8203;1804](valor-software/ng2-charts#1804)) [@&#8203;PowerKiKi](https://github.com/PowerKiKi)
-   Drop CHANGELOG.md ([#&#8203;1805](valor-software/ng2-charts#1805)) [@&#8203;PowerKiKi](https://github.com/PowerKiKi)
-   Migrate to new control flow syntax ([#&#8203;1827](valor-software/ng2-charts#1827)) [@&#8203;PowerKiKi](https://github.com/PowerKiKi)
-   Make defaults type safe ([#&#8203;1836](valor-software/ng2-charts#1836)) [@&#8203;Cselt](https://github.com/Cselt)
-   chore(deps-dev): bump [@&#8203;types/node](https://github.com/types/node) from 20.11.23 to 20.11.24 ([#&#8203;1857](valor-software/ng2-charts#1857)) [@&#8203;dependabot](https://github.com/dependabot)
-   chore(deps-dev): bump [@&#8203;types/node](https://github.com/types/node) from 20.11.20 to 20.11.21 ([#&#820...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants