This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [@stencil/core](https://stenciljs.com/) ([source](https://togithub.com/ionic-team/stencil)) | [`4.20.0` -> `4.21.0`](https://renovatebot.com/diffs/npm/@stencil%2fcore/4.20.0/4.21.0) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>ionic-team/stencil (@​stencil/core)</summary> ### [`v4.21.0`](https://togithub.com/ionic-team/stencil/blob/HEAD/CHANGELOG.md#-4210-2024-08-26) [Compare Source](https://togithub.com/ionic-team/stencil/compare/v4.20.0...v4.21.0) ##### Bug Fixes - **compiler:** default `asyncLoading` build conditional to `true` ([#​5941](https://togithub.com/ionic-team/stencil/issues/5941)) ([0e261d6](0e261d653b)), closes [#​3580](https://togithub.com/ionic-team/stencil/issues/3580) - **compiler:** prefer `localName` over `originalName` by running an empty check on `originalName` ([#​5943](https://togithub.com/ionic-team/stencil/issues/5943)) ([0f42656](0f42656f00)), closes [#​5882](https://togithub.com/ionic-team/stencil/issues/5882) - **compiler:** verify parent node when validating component members ([#​5942](https://togithub.com/ionic-team/stencil/issues/5942)) ([37a0aaf](37a0aaf176)), closes [#​5940](https://togithub.com/ionic-team/stencil/issues/5940) - **runtime:** have fallback for style setting ([#​5948](https://togithub.com/ionic-team/stencil/issues/5948)) ([ae19d7a](ae19d7ad73)) - **runtime:** only use setter if existing ([#​5947](https://togithub.com/ionic-team/stencil/issues/5947)) ([7e9fa60](7e9fa60d76)), closes [#​2703](https://togithub.com/ionic-team/stencil/issues/2703) - **runtime:** place scoped component styles after preconnect links but before custom styles ([#​5938](https://togithub.com/ionic-team/stencil/issues/5938)) ([8f92b11](8f92b11c19)) - **runtime:** provide second arg to `insertBefore` ([#​5933](https://togithub.com/ionic-team/stencil/issues/5933)) ([afcc9a5](afcc9a5ee7)) - **runtime:** render component styles at the end of the head tag ([#​5926](https://togithub.com/ionic-team/stencil/issues/5926)) ([90da726](90da726789)), closes [#​5915](https://togithub.com/ionic-team/stencil/issues/5915) - **runtime:** update call to `prepend` to remove `null` node ([#​5946](https://togithub.com/ionic-team/stencil/issues/5946)) ([970c5d2](970c5d25fb)) - **typescript:** fix documentation on 'serializeShadowRoot' flag ([#​5927](https://togithub.com/ionic-team/stencil/issues/5927)) ([277e3e3](277e3e3573)), closes [#​5914](https://togithub.com/ionic-team/stencil/issues/5914) ##### Features - **compiler:** allow ignore pattern for copy task ([#​5899](https://togithub.com/ionic-team/stencil/issues/5899)) ([f89c6a3](f89c6a356b)), closes [#​5781](https://togithub.com/ionic-team/stencil/issues/5781) #### 🚐 [4.20.0](https://togithub.com/ionic-team/stencil/compare/v4.19.2...v4.20.0) (2024-08-02) ##### Bug Fixes - **core:** add @​stencil/core/testing/jest-preset to export map ([#​5900](https://togithub.com/ionic-team/stencil/issues/5900)) ([3def2b7](3def2b7e16)), fixes [#​5896](https://togithub.com/ionic-team/stencil/issues/5896) - **compiler:** don't allow shadowRoot getter to avoid hydration issues ([#​5912](https://togithub.com/ionic-team/stencil/issues/5912)) ([5dd4f7f](5dd4f7fb05)) - **compiler:** no need for commenting selectors anymore ([#​5892](https://togithub.com/ionic-team/stencil/issues/5892)) ([d571bbb](d571bbbb68)), fixes [#​5880](https://togithub.com/ionic-team/stencil/issues/5880) - **compiler:** respect project tsconfig watch options ([#​5916](https://togithub.com/ionic-team/stencil/issues/5916)) ([74adeee](74adeee75a)), closes [#​5709](https://togithub.com/ionic-team/stencil/issues/5709), fixes [#​5709](https://togithub.com/ionic-team/stencil/issues/5709), fixes [#​5592](https://togithub.com/ionic-team/stencil/issues/5592) - **compiler:** run copy task after other output targets ([#​5902](https://togithub.com/ionic-team/stencil/issues/5902)) ([c3d4e8b](c3d4e8b170)), fixes [#​5592](https://togithub.com/ionic-team/stencil/issues/5592) - **core:** add missing screenshot export ([#​5909](https://togithub.com/ionic-team/stencil/issues/5909)) ([764a8ba](764a8bafde)), fixes [#​5906](https://togithub.com/ionic-team/stencil/issues/5906) - **hydrate:** ensure beforeHydrateFn and afterHydrateFn always return a function ([#​5890](https://togithub.com/ionic-team/stencil/issues/5890)) ([a7c212c](a7c212c2a9)), fixes [#​5884](https://togithub.com/ionic-team/stencil/issues/5884) - **runtime:** hydrate shadow dom first ([#​5911](https://togithub.com/ionic-team/stencil/issues/5911)) ([ccf1a89](ccf1a8941f)) - **runtime:** make isSameVnode return false on initial render in a hydration case ([#​5891](https://togithub.com/ionic-team/stencil/issues/5891)) ([82a7bb9](82a7bb9ead)) - **testing:** update Jest types ([#​5910](https://togithub.com/ionic-team/stencil/issues/5910)) ([5f8c969](5f8c9692d4)), fixes [#​5908](https://togithub.com/ionic-team/stencil/issues/5908) - **core:** update TypeScript to v5.5 ([#​5898](https://togithub.com/ionic-team/stencil/issues/5898)) ([5e74837](5e748378fd)) ##### Note As we’ve made further enhancements to support declarative Shadow DOM, the Stencil team has determined that it’s not feasible to allow users to render a shadow component as a scoped component after compilation, such as by calling `renderToString` with `serializeShadowRoot: false`. This is because Stencil compiles styles for either shadow or scoped mode during the compilation process, embedding these styles into the hydrate module. Once this compilation is complete, the styles cannot be transformed to support the other mode. Recognizing that this change would impact the current functionality, the Stencil team has decided to proceed with this update. Moving forward, we recommend serializing all components marked with shadow: true as declarative Shadow DOM. #### 🏉 [4.19.2](https://togithub.com/ionic-team/stencil/compare/v4.19.1...v4.19.2) (2024-07-02) ##### Bug Fixes - **hydrate:** partially revert [#​5838](https://togithub.com/ionic-team/stencil/issues/5838) ([#​5876](https://togithub.com/ionic-team/stencil/issues/5876)) ([dfbc340](dfbc34007a)) - **hydrate:** support server side rendering of components with listener ([#​5877](https://togithub.com/ionic-team/stencil/issues/5877)) ([2c5b7f8](2c5b7f8ecb)), fixes [#​5869](https://togithub.com/ionic-team/stencil/issues/5869) - **testing:** add testing sub module to export map ([#​5873](https://togithub.com/ionic-team/stencil/issues/5873)) ([bb2e04f](bb2e04f488)), fixes [#​5871](https://togithub.com/ionic-team/stencil/issues/5871) and [#​5868](https://togithub.com/ionic-team/stencil/issues/5868) #### 🍈 [4.19.1](https://togithub.com/ionic-team/stencil/compare/v4.19.0...v4.19.1) (2024-06-27) ##### Bug Fixes - **compiler:** account for package imports in aliasing ([#​5862](https://togithub.com/ionic-team/stencil/issues/5862)) ([02b41d3](02b41d3e64)), fixes [#​5859](https://togithub.com/ionic-team/stencil/issues/5859) - **compiler:** try to create web worker with the workerPath before falling back to blob ([#​3513](https://togithub.com/ionic-team/stencil/issues/3513)) ([c84dd32](c84dd32499)), fixes [#​3512](https://togithub.com/ionic-team/stencil/issues/3512) - **hydrate:** change type resolve order ([#​5863](https://togithub.com/ionic-team/stencil/issues/5863)) ([42b1ff2](42b1ff2340)) - **internal:** add cli sub package to export map ([ad95222](ad95222bbd)) - **internal:** add mock-doc export in client runtime package.json ([ad95222](4ff9011b9d)) </details> --- ### Configuration 📅 **Schedule**: Branch creation - "every weekday before 11am" (UTC), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Never, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR was generated by [Mend Renovate](https://mend.io/renovate/). View the [repository job log](https://developer.mend.io/github/ionic-team/ionic-framework). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOC41Ni4wIiwidXBkYXRlZEluVmVyIjoiMzguNTYuMCIsInRhcmdldEJyYW5jaCI6Im1haW4iLCJsYWJlbHMiOltdfQ==--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Ionic
Ionic is an open source app development toolkit for building modern, fast, top-quality cross-platform native and Progressive Web Apps from a single codebase with JavaScript and the Web.
Ionic is based on Web Components, which enables significant performance, usability, and feature improvements alongside support for popular web frameworks like Angular, React, and Vue.
Quickstart
·
Documentation
·
Contribute
·
Blog
Community:
Discord
·
Forums
·
Twitter
Packages
| Project | Package | Version | Downloads | Links |
|---|---|---|---|---|
| Core | @ionic/core |
README.md |
||
| Angular | @ionic/angular |
README.md |
||
| Vue | @ionic/vue |
README.md |
||
| React | @ionic/react |
README.md |
Looking for the ionic-angular package? Ionic 3 has been moved to the ionic-v3 repo. See Earlier Versions.
Getting Started
Start a new project by following our documentation. We would love to hear from you! If you have any feedback or run into issues using our framework, please file an issue on this repository.
Migration Guides
Already have an Ionic app? These guides will help you migrate to the latest versions.
- Migrate from v7 to v8
- Migrate from v6 to v7
- Migrate from v5 to v6
- Migrate from v4 to v5
- Migrate from v3 to v4
Examples
The Ionic Conference App is a full featured Ionic app. It is the perfect starting point for learning and building your own app.
Contributing
Thanks for your interest in contributing! Read up on our guidelines for contributing and then look through our issues with a help wanted label.
Please note that this project is released with a Contributor Code of Conduct. By participating in this project you agree to abide by its terms.
Earlier Versions
The source code for earlier versions of the Ionic Framework may exist in other repositories. Please open issues and pull requests in their respective repositories.
- Ionic 2/3: Moved to
ionic-team/ionic-v3 - Ionic 1: Moved to
ionic-team/ionic-v1