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

v5.17.3 #6168

Merged
merged 4 commits into from
Sep 16, 2022
Merged

v5.17.3 #6168

merged 4 commits into from
Sep 16, 2022

Conversation

m4theushw
Copy link
Member

No description provided.

@mui-bot
Copy link

mui-bot commented Sep 15, 2022

These are the results for the performance tests:

Test case Unit Min Max Median Mean σ
Filter 100k rows ms 507.7 793.8 544.1 615.84 110.592
Sort 100k rows ms 626.8 1,056.8 779.7 842.76 145.973
Select 100k rows ms 188.9 283.1 250.7 239.48 34.179
Deselect 100k rows ms 119.3 252.8 220.3 195.82 56.051

Generated by 🚫 dangerJS against 6a82f91

CHANGELOG.md Outdated Show resolved Hide resolved
CHANGELOG.md Outdated Show resolved Hide resolved
CHANGELOG.md Outdated Show resolved Hide resolved
CHANGELOG.md Outdated Show resolved Hide resolved
CHANGELOG.md Outdated

- [pickers] Add Icelandic (is-IS) locale (#6137) @flaviendelangle
- [pickers] Fix `themeAugmentation` and style overriding (#6156) @LukasTy
- [pickers] Fix `x-date-pickers-pro` theme augmentation (#6096) @LukasTy
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
- [pickers] Fix `x-date-pickers-pro` theme augmentation (#6096) @LukasTy
- [pickers] Fix `@mui/x-date-pickers-pro` theme augmentation (#6096) @LukasTy

CHANGELOG.md Outdated Show resolved Hide resolved
CHANGELOG.md Outdated Show resolved Hide resolved
Co-authored-by: Lukas <llukas.tyla@gmail.com>
Co-authored-by: Flavien DELANGLE <flaviendelangle@gmail.com>
Signed-off-by: Matheus Wichman <matheushw@outlook.com>
CHANGELOG.md Outdated Show resolved Hide resolved
CHANGELOG.md Show resolved Hide resolved
Signed-off-by: Matheus Wichman <matheushw@outlook.com>
CHANGELOG.md Outdated Show resolved Hide resolved
Signed-off-by: Matheus Wichman <matheushw@outlook.com>
@@ -1,6 +1,6 @@
{
"name": "@mui/x-date-pickers",
"version": "5.0.1",
"version": "5.0.2",
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Time to do the shift?

Suggested change
"version": "5.0.2",
"version": "5.17.3",

For example:

Screenshot 2022-09-16 at 13 40 16

https://bestpractices.coreinfrastructure.org/en/projects/6293

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

IMHO, I think that we already missed the possible version sync when moving from beta to stable.
Where

  • 5.0.0-beta.7 -> 5.17.1 would have seemed somewhat logical
  • 5.0.1 -> 5.17.3 seems like a strange unwarranted version jump

Correct me if I'm wrong, but based on your screenshot, I don't see anything forcing to have synced versions number – we must have unique version numbers for every release..? 🤔

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'll keep as it is but we can discuss about unifying the versions and do it in the next release.

Copy link
Member

@oliviertassinari oliviertassinari Sep 18, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

5.0.0-beta.7 -> 5.17.1 would have seemed somewhat logical

I think that it would have been ideal, but I also think that it's never too late to align the versions.

I don't see anything forcing to have synced versions number – we must have unique version numbers for every release

True, the rationale would be: simplicity, one release, one version for the npm packages. I think that it would also help us differentiate in the space from the alternatives. It would help sell that we provide a singe touch point, that developers don't install a standalone date picker, they install MUI X that has a date picker.

I wished we could use https://lerna.js.org/docs/features/version-and-publish#fixedlocked-mode-default but because of the unstable npm repository for new components, it seems that we can't.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think that it would have been ideal, but I also think that it's never too late to align the versions.

We could aim to have synced versions going forward from v6. Although, that sort of also means, that we would always need to release all the packages, even though they don't have any changes in them.
What about the x-license-pro package then – it doesn't receive frequent changes. 🤔

I wished we could use https://lerna.js.org/docs/features/version-and-publish#fixedlocked-mode-default but because of the unstable npm repository for new components, it seems that we can't.

Isn't our lerna.json config a bit incorrect?
Lerna docs state, that if we want to run lerna in independent mode, the version field should have this string for version instead..? 🤔
Well, if want to have all the packages in same repo and over time add new packages with their own (canary) lifecycle, it forces us to run in independent mode.

Copy link
Member

@oliviertassinari oliviertassinari Sep 19, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

that we would always need to release all the packages, even though they don't have any changes in them.
What about the x-license-pro package then – it doesn't receive frequent changes.

@LukasTy Oops, sorry for the confusion. What I was referring to with "ideal" or "same version"s is https://lerna.js.org/docs/features/version-and-publish#fixedlocked-mode-default 's behavior, which is different.

Isn't our lerna.json config a bit incorrect?

Interesting. I guess it depends. In MUI Core, we do https://github.com/mui/material-ui/blame/2be49496773b599a539e815f2e4e45c8bd9a484c/lerna.json#L4, it's a bit painful to have to set each version manually but there are quite some alpha packages, so it might still be less pain, than having to fix the version of the alpha packages:

Screenshot 2022-09-19 at 16 10 39

On MUI X, we have fewer stable vs. unstable packages difference (zero right now), so I think a yes to all of these is simple enough:

Screenshot 2022-09-19 at 16 11 50

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

For the near future we will have cycles of having stable and/or canary releases, switching release strategy because of that wouldn't make much sense IMO.

I see only one thing in question which we should decide on—should we sync the stable version of a package coming out of canary towards stable channel with the version of another package in the repo already in stable channel.
With this question—it would implicitly mean the version sync of other packages as well.

IMHO, I would be in favour of sticking with the mui repository approach of different packages having their own version cycles and in turn not having empty releases.
One of the arguments for going with this—the developers should already be familiar with this approach of having different versions from the mui repo packages. 🤔
Even industry "giants" like babel are also going with a similar approach of having packages with their own release lifecycles.

One thing I think we should fix/adjust with the next release is the version field in lerna.json.
Should we align it with our release approach and change to independent with the next release @flaviendelangle @m4theushw ?

@m4theushw m4theushw merged commit 9ae5ec5 into mui:master Sep 16, 2022
@m4theushw m4theushw deleted the v5.17.3 branch September 16, 2022 12:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
release We are shipping :D
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants