-
-
Notifications
You must be signed in to change notification settings - Fork 671
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
Add deprecation notices to the Upgrade guide #6426
Conversation
✅ Deploy Preview for plone-components canceled.
|
@stevepiercy It will still due to search in the docs for places where these items appear and update them accordingly. Let's do it after the overhaul of the blockers for 18. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There's a question in there, too. Thank you!
docs/source/upgrade-guide/index.md
Outdated
|
||
It became a bad practice, since bundlers rely on the import pathway in order to determine if bundle code together or not. | ||
Since the barrel imports direct import all the code, a lot of imports ended up in the same main chunk of code. | ||
Modern bundlers like Vite also use that technique, so it heavily relies on this. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Wait, what? Vite relies on barrel imports, or some other technique? Can you clarify?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nono, Vite knows where to place the module imported (chunks) relying on the imports. So, it works better without barrel import files.
Co-authored-by: Steve Piercy <[email protected]>
@stevepiercy done! Thanks! Please see comments! |
Co-authored-by: David Glick <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm going to merge these changes, and give it one more pass.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Combine 3 sentences into 1 paragraph, then LGTM!
@sneridagh needs changelog |
* main: [Next.js] Better Vercel deployment (#6441) Replace all `yarn` appearences with `pnpm` (#6433) Add deprecation notices to the Upgrade guide (#6426) Clean up #6422 (#6443) Rename page title from Frontend to Volto UI (#6438) URL-Management control panel: Add missing translations (#6436) Fix broken links (#6440) Fix broken links (#6439) Used resource title instead of resource type in page title. (#6402)
@stevepiercy thank you for noticing the problem with fz-juelich.de. I told them about the problem and they really appreciate your help. Please remind me to buy you a couple of drinks at Ploneconf in Brasilia. :) |
@tisto I'm glad to hear that. Little things like that make my day. Sadly, I won't be able to make it to Brasilia in person for PloneConf this year. |
* main: (111 commits) Moved `applyBlockDefaults` one component up so the style is computed correctly (#6451) Fix useSelector is returned a different result when called with the s… (#6450) Fix page changes not being announced by assistive technology when navigating using the client-side router (#5288) BlockStyleWrapper aware of block themes (#6445) A11y: Wrap ToC Block within nav tag (#6084) Fix backend error when there is no query supplied (#6423) Added upgrade guide fix for HMR (#6446) Fix CSS lint in Volto Slate (#6444) Release 18.0.0-alpha.47 Release generate-volto 9.0.0-alpha.20 Release @plone/scripts 3.7.0 Release @plone/registry 2.0.0-alpha.0 Improve @plone/registry release-it config `@plone/registry` as ESM module, move to TS, complete documentation (#6399) [Next.js] Better Vercel deployment (#6441) Replace all `yarn` appearences with `pnpm` (#6433) Add deprecation notices to the Upgrade guide (#6426) Clean up #6422 (#6443) Rename page title from Frontend to Volto UI (#6438) URL-Management control panel: Add missing translations (#6436) ...
If your pull request closes an open issue, include the exact text below, immediately followed by the issue number. When your pull request gets merged, then that issue will close automatically.
Closes #
📚 Documentation preview 📚: https://volto--6426.org.readthedocs.build/