Repository navigation
merge release-9.0.13 - #31799
Merged
Merged
merge release-9.0.13#31799
Conversation
v9.0.12
) Issue number: internal ## What is the current behavior? With `collapse="fade"`, the footer's toolbar background should be fully transparent at the bottom of the content. Firefox can report a fractional `scrollTop`, so at the bottom it stays just short of the max scroll and the background keeps a faint tint. ## What is the new behavior? - `scrollTop` is rounded up before it is compared with the max scroll, so the toolbar background fades out completely at the bottom. ## Does this introduce a breaking change? - [ ] Yes - [x] No ## Other information - No test on `main` ends on a fractional scroll position, so CI passes with or without this change. On `next`, the `scroll-effect-fade` test fails in Firefox for the ionic theme without it and passes with it, which blocks the sync in #31768.
…31490) Issue number: N/A (no existing issue; repro below) --------- <!-- Please do not submit updates to dependencies unless it fixes an issue. --> <!-- Please try to limit your pull request to one type (bugfix, feature, etc). Submit multiple pull requests if needed. --> ## What is the current behavior? When `monthValues` is set, `getMonthColumnData` (`core/src/components/datetime/utils/data.ts`) filters the month wheel by `min.month` and `max.month` in every year, not only in the min/max year. The branch without `monthValues` already checks `minParts.year === year` / `maxParts.year === year`. Example: `<ion-datetime prefer-wheel="true" min="2020-06-01" month-values="1,3,5,7,9,11">`. In 2024, the month wheel shows only July, September and November. January, March and May are missing even though every date in 2024 is after min. The same happens with `max`: `max="2025-04-30"` hides May to November in 2024 and earlier years. ## What is the new behavior? - The min month only applies when the displayed year is the min year, and the max month only when it is the max year, the same as without `monthValues`. New unit tests for `getMonthColumnData()` in `data.spec.ts` cover min, max, and a check that the result matches the months shown without `monthValues`. Red on `main` (879e91d): ``` ● getMonthColumnData() › should apply the max month only in the max year when monthValues is set ● getMonthColumnData() › should apply the min month only in the min year when monthValues is set ● getMonthColumnData() › should match the months shown when monthValues is not set ``` Green with the fix: `npx stencil test --spec -- src/components/datetime/test/` passes 116/116. `eslint`, `prettier --check` and `tsc --noEmit -p tsconfig.json` are clean. ## Does this introduce a breaking change? - [ ] Yes - [x] No <!-- If this introduces a breaking change: 1. Describe the impact and migration path for existing applications below. 2. Update the BREAKING.md file with the breaking change. 3. Add "BREAKING CHANGE: [...]" to the commit description when merging. See https://github.com/ionic-team/ionic-framework/blob/main/docs/CONTRIBUTING.md#footer for more information. --> ## Other information <!-- Any other information that is important to this PR such as screenshots of how the component looks before and after the change. --> This fix was found and written with an AI coding assistant (Claude Code); the red/green runs above are from this branch. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-authored-by: breken-ai <312387581+breken-ai@users.noreply.github.com> Co-authored-by: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Issue number: resolves #31725 --------- ## What is the current behavior? `ion-breadcrumb` and `ion-item-option` declare and document a `rel` prop, but the `<a>` they render with `href` only gets `download`, `href` and `target`. The `rel` value is dropped. `ion-button` and `ion-item` already pass `rel` to their `<a>`. ## What is the new behavior? - `ion-breadcrumb` passes `rel` to its `<a>`. - `ion-item-option` passes `rel` to its `<a>`. - Added a spec test for each component that checks the `rel` attribute on the rendered link. ## Does this introduce a breaking change? - [ ] Yes - [x] No ## Other information - Reproduction: the issue includes a self-contained HTML page that uses the 9.0.10 CDN build. In Chromium it shows no `rel` on the breadcrumb and item-option links, and `rel="nofollow"` on the `ion-button` link. - The two new spec tests fail on `main` (`Expected: "noopener noreferrer"`, `Received: null`) and pass with this change. - `stencil test --spec` for `breadcrumb`, `breadcrumbs`, `item-option` and `item-sliding`: 5 suites, 9 tests pass. - ESLint (0 errors) and Prettier pass on the changed files. AI-assisted: drafted with an AI coding agent; the tests above were run locally.
… in the new month (#31489) Issue number: resolves #29124 --------- <!-- Please do not submit updates to dependencies unless it fixes an issue. --> <!-- Please try to limit your pull request to one type (bugfix, feature, etc). Submit multiple pull requests if needed. --> ## What is the current behavior? `validateParts` (`core/src/components/datetime/utils/manipulation.ts`) clamps the date to min/max first, then fixes a day that does not exist in the month. `clampDate` returns the `minParts` / `maxParts` object itself, not a copy, so the day fix is written into the bound. With the repro from #29124 (`min="2024-03-01T00:00:00"`, `max="2024-04-20T23:59:59"`), selecting March 31 and then April on the month wheel calls `validateParts({ month: 4, day: 31, year: 2024 }, min, max)`: - `clampDate` returns `this.maxParts` - `numDays(April) = 30 < 31`, so `maxParts.day = 30` After that, `maxParts` is April 30, April 21 to 30 are no longer disabled, and the returned date (April 30) is past the real max. The same happens to `minParts` when the date is before min, e.g. February 31 with `min` in March sets `minParts.day` to 29. ## What is the new behavior? - The day is fixed to the last day of the month first, then the result is clamped, so the fixed day is also checked against min/max. - The clamped result is copied, so `minParts` / `maxParts` are never changed. - The max time check now uses the validated date (like the min check already does), so February 31 with a max of February 29 at 20:00 also gets its time moved back in bounds. Unit tests in `manipulation.spec.ts` cover the max case from the issue, the min case, and the max time case. Red on `main` (879e91d): ``` ● validateParts() › should not mutate the max parts when the day does not exist in the new month - "day": 20, + "day": 30, ● validateParts() › should not mutate the min parts when the day does not exist in the new month ``` Green with the fix: `npx stencil test --spec -- src/components/datetime/test/` passes 116/116. `eslint`, `prettier --check` and `tsc --noEmit -p tsconfig.json` are clean. ## Does this introduce a breaking change? - [ ] Yes - [x] No <!-- If this introduces a breaking change: 1. Describe the impact and migration path for existing applications below. 2. Update the BREAKING.md file with the breaking change. 3. Add "BREAKING CHANGE: [...]" to the commit description when merging. See https://github.com/ionic-team/ionic-framework/blob/main/docs/CONTRIBUTING.md#footer for more information. --> ## Other information <!-- Any other information that is important to this PR such as screenshots of how the component looks before and after the change. --> This fix was found and written with an AI coding assistant (Claude Code); the red/green runs above are from this branch. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-authored-by: breken-ai <312387581+breken-ai@users.noreply.github.com> Co-authored-by: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
) Issue number: internal --------- ## What is the current behavior? The `rtl()` mixin outputs a `:host-context([dir=rtl])` selector for Chromium alongside a `:dir(rtl)` selector for Firefox and Safari. `:host-context([dir=rtl])` matches any ancestor with `dir="rtl"`, even when a closer ancestor sets `dir="ltr"`. In Chromium, an LTR section inside an RTL page gets the RTL styles from every shadow component that uses the RTL mixins. This is visible in the popover position test: in "LTR, Start" in `popover-position-ios-rtl-Mobile-Chrome-linux.png`, the arrow points away from its trigger. Firefox and Safari already render it correctly because they only use `:dir()`. ## What is the new behavior? - The `:host-context()` selectors are now only output inside `@supports not selector(:dir(rtl))`, so browsers that support `:dir()` use it exclusively. `:dir()` follows the nearest ancestor with a `dir` attribute. - Chrome 120+ now matches Firefox and Safari. Chrome 89 - 119 keep the `:host-context()` fallback, so their behavior does not change. - Updated the Chrome ground truth for `popover/test/position` (ios, rtl), where the "LTR, Start" arrow now points at its trigger. ## Does this introduce a breaking change? - [ ] Yes - [x] No ## Other information - Only the Chromium output changes. The compiled CSS for 34 component stylesheets changes by wrapping the existing `:host-context()` rules in `@supports not selector(:dir(rtl))`, and nothing else. Global stylesheets are unchanged. - I ran every component whose CSS changed in Docker. The only screenshot that changed is the popover one above. - This fixes the arrow part of FW-7850. The top and bottom `alignment` issue on that ticket is calculated in JavaScript in `popover/utils.ts` and is not part of this PR. Co-authored-by: Brandy Smith <6577830+brandyscarney@users.noreply.github.com>
…31777) Issue number: internal --------- ## What is the current behavior? Issues labeled `community feedback wanted` have no deadline. The bot comment promises a final decision, but nothing ever prompts one, so these issues sit until someone remembers them. ## What is the new behavior? - Issues labeled `community feedback wanted` get a **90**-day window. Once it ends, Ionitron removes the label and adds `triage` so the team makes a decision. The task shipped in ionic-team/ionic-issue-bot#35 and is deployed. - Ionitron's comment on newly labeled issues now says feedback is open for 90 days. ## Does this introduce a breaking change? - [ ] Yes - [x] No ## Other information The first sweep after this merges moves #28628, #30572 and #31030 back to triage, since all three are past the window.
This PR contains the following updates: | Package | Change | [Age](https://docs.renovatebot.com/merge-confidence/) | [Confidence](https://docs.renovatebot.com/merge-confidence/) | |---|---|---|---| | [vitest](https://vitest.dev) ([source](https://redirect.github.com/vitest-dev/vitest/tree/HEAD/packages/vitest)) | [`5.1.0` → `5.1.1`](https://renovatebot.com/diffs/npm/vitest/5.1.0/5.1.1) |  |  | --- ### Release Notes <details> <summary>vitest-dev/vitest (vitest)</summary> ### [`v5.1.1`](https://redirect.github.com/vitest-dev/vitest/releases/tag/v5.1.1) [Compare Source](https://redirect.github.com/vitest-dev/vitest/compare/v5.1.0...v5.1.1) ##### 🚀 Features - **cache**: Add fs module cache env variables - by [@​sheremet-va](https://redirect.github.com/sheremet-va) in [#​11859](https://redirect.github.com/vitest-dev/vitest/issues/11859) [<samp>(708c0)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/708c05da0) ##### 🐞 Bug Fixes - Rerun on file changes after a config restart - by [@​magurotuna](https://redirect.github.com/magurotuna) in [#​11772](https://redirect.github.com/vitest-dev/vitest/issues/11772) and [#​11829](https://redirect.github.com/vitest-dev/vitest/issues/11829) [<samp>(289ca)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/289caab9c) - Avoid leaking the context expect - by [@​sheremet-va](https://redirect.github.com/sheremet-va) in [#​11845](https://redirect.github.com/vitest-dev/vitest/issues/11845) [<samp>(3c967)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/3c967a7b7) - Report fixture teardown errors once - by [@​sheremet-va](https://redirect.github.com/sheremet-va) in [#​11857](https://redirect.github.com/vitest-dev/vitest/issues/11857) [<samp>(6b167)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/6b167eb79) - Improve diffs for asymmetric matchers - by [@​sheremet-va](https://redirect.github.com/sheremet-va) in [#​11855](https://redirect.github.com/vitest-dev/vitest/issues/11855) [<samp>(86775)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/86775420f) - Apply --shard before the test run starts - by [@​sheremet-va](https://redirect.github.com/sheremet-va) in [#​11846](https://redirect.github.com/vitest-dev/vitest/issues/11846) [<samp>(e5c80)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/e5c80b775) - Reset local expect state between retries for `expect.assertions/hasAssertions` - by [@​hi-ogawa](https://redirect.github.com/hi-ogawa) and **Claude Opus 5.5** in [#​11900](https://redirect.github.com/vitest-dev/vitest/issues/11900) [<samp>(50dcd)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/50dcdb373) - Sort test files before the seeded shuffle - by [@​sheremet-va](https://redirect.github.com/sheremet-va) in [#​11926](https://redirect.github.com/vitest-dev/vitest/issues/11926) [<samp>(3aa30)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/3aa3045a9) - Tear down fixture contexts one at a time - by [@​sheremet-va](https://redirect.github.com/sheremet-va) in [#​11956](https://redirect.github.com/vitest-dev/vitest/issues/11956) [<samp>(5712b)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/5712b5fd2) - Count merged errors in the error divider - by [@​sheremet-va](https://redirect.github.com/sheremet-va) in [#​11955](https://redirect.github.com/vitest-dev/vitest/issues/11955) [<samp>(4bc4f)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/4bc4f86e8) - Match `-` and `.` in `noExternal` wildcards - by [@​hi-ogawa](https://redirect.github.com/hi-ogawa) and **Claude Opus 5.5** in [#​11978](https://redirect.github.com/vitest-dev/vitest/issues/11978) [<samp>(efba8)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/efba8cbfe) - Give each test attempt a new `signal` - by [@​sheremet-va](https://redirect.github.com/sheremet-va) in [#​11998](https://redirect.github.com/vitest-dev/vitest/issues/11998) [<samp>(77a30)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/77a306757) - Throw timeout error classes instead of Error - by [@​sheremet-va](https://redirect.github.com/sheremet-va) in [#​12003](https://redirect.github.com/vitest-dev/vitest/issues/12003) [<samp>(9b874)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/9b87492f7) - **ast-collect**: - Only collect calls with a name argument - by [@​sheremet-va](https://redirect.github.com/sheremet-va) in [#​11853](https://redirect.github.com/vitest-dev/vitest/issues/11853) [<samp>(c015a)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/c015ad5a6) - **browser**: - Scale the iframe for preview without the UI - by [@​sheremet-va](https://redirect.github.com/sheremet-va) in [#​11856](https://redirect.github.com/vitest-dev/vitest/issues/11856) [<samp>(034d4)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/034d44e54) - Fix expect.element with `message` and remove redundant `[ERROR]` in trace steps - by [@​hi-ogawa](https://redirect.github.com/hi-ogawa) and **Claude Opus 5.5** in [#​11832](https://redirect.github.com/vitest-dev/vitest/issues/11832) [<samp>(1d115)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/1d115dcc3) - **cache**: - Always leave a manifest to the fs module cache - by [@​sheremet-va](https://redirect.github.com/sheremet-va) in [#​11858](https://redirect.github.com/vitest-dev/vitest/issues/11858) [<samp>(1b238)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/1b2380c88) - Watch cached files outside the root - by [@​sheremet-va](https://redirect.github.com/sheremet-va) in [#​11860](https://redirect.github.com/vitest-dev/vitest/issues/11860) [<samp>(9c044)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/9c044db81) - Treat a removed cache file as a miss - by [@​sheremet-va](https://redirect.github.com/sheremet-va) in [#​11861](https://redirect.github.com/vitest-dev/vitest/issues/11861) [<samp>(f21f2)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/f21f224ba) - Allow cache hits in configureServer - by [@​sheremet-va](https://redirect.github.com/sheremet-va) in [#​11927](https://redirect.github.com/vitest-dev/vitest/issues/11927) [<samp>(a0dfc)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/a0dfc8b08) - **cli**: - Parse `--bail` correctly - by [@​AriPerkkio](https://redirect.github.com/AriPerkkio) in [#​11896](https://redirect.github.com/vitest-dev/vitest/issues/11896) [<samp>(4f91e)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/4f91e76af) - **coverage**: - Transform untested files with correct project - by [@​AriPerkkio](https://redirect.github.com/AriPerkkio) in [#​11870](https://redirect.github.com/vitest-dev/vitest/issues/11870) [<samp>(83298)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/832980392) - V8 to handle sub process script coverages separately - by [@​AriPerkkio](https://redirect.github.com/AriPerkkio) in [#​11890](https://redirect.github.com/vitest-dev/vitest/issues/11890) [<samp>(71ad4)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/71ad4dfa1) - Derive `ignoreNode` AST type from installed parser - by [@​AriPerkkio](https://redirect.github.com/AriPerkkio) in [#​11958](https://redirect.github.com/vitest-dev/vitest/issues/11958) [<samp>(cab34)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/cab34bb0e) - V8 to ignore more Vite's CJS import helpers - by [@​AriPerkkio](https://redirect.github.com/AriPerkkio) in [#​11981](https://redirect.github.com/vitest-dev/vitest/issues/11981) [<samp>(4e905)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/4e905a1ba) - **experimental**: - Skip ambiguous `expect.poll` trace steps in concurrent tests - by [@​hi-ogawa](https://redirect.github.com/hi-ogawa) and **Claude Opus 5.5** in [#​11869](https://redirect.github.com/vitest-dev/vitest/issues/11869) [<samp>(f6ef4)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/f6ef4b0ef) - **mocker**: - Keep re-exports of hoisted imports - by [@​sheremet-va](https://redirect.github.com/sheremet-va) in [#​11867](https://redirect.github.com/vitest-dev/vitest/issues/11867) [<samp>(5f72c)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/5f72c3d0d) - **pool**: - Shutdown disconnected workers even when `testTimeout` is disabled - by [@​AriPerkkio](https://redirect.github.com/AriPerkkio) in [#​11924](https://redirect.github.com/vitest-dev/vitest/issues/11924) [<samp>(97911)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/979118a70) - Terminate stuck orphaned forks workers - by [@​AriPerkkio](https://redirect.github.com/AriPerkkio) in [#​11939](https://redirect.github.com/vitest-dev/vitest/issues/11939) [<samp>(47c87)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/47c87ebb5) - `isolate: false` to not re-use workers that failed to start - by [@​AriPerkkio](https://redirect.github.com/AriPerkkio) in [#​11953](https://redirect.github.com/vitest-dev/vitest/issues/11953) [<samp>(7e672)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/7e67234a9) - **reporter**: - Report crashed test files as failed in json - by [@​magurotuna](https://redirect.github.com/magurotuna) in [#​11965](https://redirect.github.com/vitest-dev/vitest/issues/11965) [<samp>(47fb9)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/47fb992ca) - **spy**: - Use primordials to allow spying on builtins - by [@​sheremet-va](https://redirect.github.com/sheremet-va) in [#​11837](https://redirect.github.com/vitest-dev/vitest/issues/11837) [<samp>(d951e)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/d951e63d3) - **typecheck**: - Add env var to hide experimental warning - by [@​aliamanatali](https://redirect.github.com/aliamanatali) in [#​11840](https://redirect.github.com/vitest-dev/vitest/issues/11840) [<samp>(5a69e)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/5a69e4396) - Kill the checker process tree on windows - by [@​sheremet-va](https://redirect.github.com/sheremet-va) in [#​11850](https://redirect.github.com/vitest-dev/vitest/issues/11850) [<samp>(1fa69)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/1fa69e09b) - **vitest**: - Allow assigning to import.meta.env - by [@​aliamanatali](https://redirect.github.com/aliamanatali) in [#​11841](https://redirect.github.com/vitest-dev/vitest/issues/11841) [<samp>(9fd1f)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/9fd1f22a4) ##### 🏎 Performance - Send source maps to workers as a string - by [@​maschwenk](https://redirect.github.com/maschwenk) in [#​11750](https://redirect.github.com/vitest-dev/vitest/issues/11750) [<samp>(485cd)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/485cd627d) - Resolve CLI file filters once instead of per test file - by [@​maschwenk](https://redirect.github.com/maschwenk) in [#​11935](https://redirect.github.com/vitest-dev/vitest/issues/11935) [<samp>(96a90)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/96a9032af) - **browser**: Reuse cached modules during vitest run - by [@​magurotuna](https://redirect.github.com/magurotuna) in [#​11914](https://redirect.github.com/vitest-dev/vitest/issues/11914) [<samp>(0c502)</samp>](https://redirect.github.com/vitest-dev/vitest/commit/0c502bc72) ##### [View changes on GitHub](https://redirect.github.com/vitest-dev/vitest/compare/v5.1.0...v5.1.1) </details> --- ### Configuration 📅 **Schedule**: (UTC) - Branch creation - "every weekday before 11am" - Automerge - At any time (no schedule defined) 🚦 **Automerge**: Enabled. ♻ **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:eyJjcmVhdGVkSW5WZXIiOiI0NC4yNDkuMSIsInVwZGF0ZWRJblZlciI6IjQ0LjI0OS4xIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6W119--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
… view (#31752) Issue number: resolves #23448 --------- ## What is the current behavior? Currently, `ion-back-button`, `NavController.pop()`, the hardware back button and the swipe to go back gesture all navigate to the previous view's URL, which pushes a new browser history entry. Pressing the browser's back button after that returns you to the page you just left, and the history keeps growing as you go back and forth. ## What is the new behavior? When the previous view is the entry directly behind the current one in browser history, popping now calls `location.back()` instead of navigating by URL, so the entry is popped instead of a new one being pushed. To know that, `NavController` keeps track of the navigation ids of the history entries the router writes, and each view records the entry it was shown in. If anything makes that unclear (a URL changed outside the router with `Location.go()`, a hash change, a canceled or failed navigation that may have left the browser somewhere else), we drop the tracking and fall back to the old behavior rather than guess. Routes with a guard or resolver that would run on the way back also keep navigating by URL. A history navigation that gets canceled leaves the browser on the wrong entry, so I didn't want to risk that. The stack controller also no longer removes the last view when the router flags a browser back/forward navigation as `replaceUrl`, since those don't replace anything and it was dropping views from the tab stacks. ## Does this introduce a breaking change? - [ ] Yes - [X] No ## Other information This only covers popping one view. `pop()` with `deep > 1`, going back after switching tabs and the `defaultHref` fallback still push a new entry like before. The `defaultHref` case is what #17752 was about, so that one isn't fixed here. If a `pop()` and another navigation start in the same task (e.g., a button with both a `routerLink` and `(click)="navCtrl.pop()"`, which the lazy tabs test app has), the pop still wins like it did before. The router only handles `location.back()` after the current task ends, so in that case we navigate by URL instead. Going back with `ion-back-button` now leaves forward entries in browser history, which makes an existing bug easier to hit. Angular gives an entry a new navigation id each time the browser lands on it, so after going back twice and then pressing the browser's forward button twice, `NavController` guesses the second forward as `back` and resets the stack. The same thing happens on `main` with only the browser's back and forward buttons, so I left it for a separate fix. (This is already an issue tracked as FW-7353, the community issue is #28307) Going back in history with `ion-back-button`, `NavController.pop()`, the hardware back button or the swipe gesture now triggers a `popstate` navigation, so apps that listen for `popstate` or check `navigationTrigger === 'popstate'` to detect the browser back button will see these too. - [Back history test page](https://ionic-framework-git-fw-7386-ionic1.vercel.app/angular/standalone/back-history) - [Back history with hardware back enabled](https://ionic-framework-git-fw-7386-ionic1.vercel.app/angular/standalone/back-history?ionic:hardwareBackButton=true) - [Back history in iOS mode for the swipe gesture](https://ionic-framework-git-fw-7386-ionic1.vercel.app/angular/standalone/back-history?ionic:mode=ios) - [Tabs test page](https://ionic-framework-git-fw-7386-ionic1.vercel.app/angular/lazy/tabs) - [Same flow on main for comparison](https://ionic-framework-git-main-ionic1.vercel.app/angular/lazy/router-link)
Issue number: internal --------- <!-- Please do not submit updates to dependencies unless it fixes an issue. --> <!-- Please try to limit your pull request to one type (bugfix, feature, etc). Submit multiple pull requests if needed. --> ## What is the current behavior? <!-- Please describe the current behavior that you are modifying. --> Currently, `@ionic/core` depends on `ionicons@^8.1.0` and the framework packages on `^8.0.13`. Every ionicons release up to `8.1.0` has gaps in `ion-icon`'s SVG sanitization that let script run, which are described in [GHSA-xg58-2j88-q7f7](GHSA-xg58-2j88-q7f7). ## What is the new behavior? <!-- Please describe the behavior or changes that are being added by this PR. --> - `@ionic/core`, `@ionic/angular`, `@ionic/react` and `@ionic/vue` now require `ionicons@^8.1.1`, which has the fix, so updating Ionic also updates ionicons. ## Does this introduce a breaking change? - [ ] Yes - [X] No <!-- If this introduces a breaking change: 1. Describe the impact and migration path for existing applications below. 2. Update the BREAKING.md file with the breaking change. 3. Add "BREAKING CHANGE: [...]" to the commit description when merging. See https://github.com/ionic-team/ionic-framework/blob/main/docs/CONTRIBUTING.md#footer for more information. --> ## Other information <!-- Any other information that is important to this PR such as screenshots of how the component looks before and after the change. --> This is the same update as #31789 on `8.8.x`. `main` is already on `8.1.0`, so the sanitization fix is the only change here. `ion-icon` stops rendering some SVGs that rendered before, like ones with more than one root `<svg>` or HTML inside `<desc>` or `<title>`. The icons that ship with ionicons all pass, and the advisory covers what to do for custom icons.
Issue number: internal --------- <!-- Please do not submit updates to dependencies unless it fixes an issue. --> <!-- Please try to limit your pull request to one type (bugfix, feature, etc). Submit multiple pull requests if needed. --> ## What is the current behavior? <!-- Please describe the current behavior that you are modifying. --> Currently, Ionic uses `@stencil/core` 4.45.4, which doesn't escape inline `style` attributes during server rendering, so a `"` in a style value ends the attribute early. `@ionic/core/hydrate` bundles that code. ## What is the new behavior? <!-- Please describe the behavior or changes that are being added by this PR. --> Updates `@stencil/core` to [4.45.5](https://github.com/stenciljs/core/blob/main/CHANGELOG.md), which escapes `style` like every other attribute. ## Does this introduce a breaking change? - [ ] Yes - [X] No <!-- If this introduces a breaking change: 1. Describe the impact and migration path for existing applications below. 2. Update the BREAKING.md file with the breaking change. 3. Add "BREAKING CHANGE: [...]" to the commit description when merging. See https://github.com/ionic-team/ionic-framework/blob/main/docs/CONTRIBUTING.md#footer for more information. --> ## Other information <!-- Any other information that is important to this PR such as screenshots of how the component looks before and after the change. --> Same update as #31792 on `8.8.x`. Only server-rendered output changes.
…epro (#31793) Issue number: internal --------- ## What is the current behavior? Issues labeled `ionitron: needs reproduction` never return to `triage` when the reporter posts a reproduction, so they sit until someone happens to look. The `noReproduction` block in the bot config is dead: no bot code reads it. ## What is the new behavior? - Renames the block to `needsReproduction`, the task added in ionic-team/ionic-issue-bot#36 - A comment matching `responsePattern` swaps the label for `triage`. It counts a link to a repo outside ionic-team, a StackBlitz or CodeSandbox, an attached file, or an Ionic component tag (`<ion-badge>` or `<IonBadge>`). Screenshots and videos don't count - Comments from bots and from users with write access are ignored - Issues still labeled after 14 days with no activity are closed as not planned and locked - Ships with `dryRun: true`, so Ionitron only logs what it would do. A follow-up PR turns it on once the logs look right ## Does this introduce a breaking change? - [ ] Yes - [x] No ## Other information Turning off `dryRun` makes the first sweep close every needs-reproduction issue already idle past 14 days. The dry-run logs list them first.
Issue number: resolves #30423 --------- ## What is the current behavior? The `infinite-scroll: top` e2e test is skipped in WebKit because it fails intermittently on CI. With `position="top"`, the infinite scroll moves the content to the bottom in a write task after it loads. If the test calls `scrollToTop(0)` before that write task runs, the content is already at the top. Nothing scrolls, so `ionInfinite` never fires and the test times out. ## What is the new behavior? - Removes the WebKit skip from the top infinite scroll test. - Waits for the content to reach its initial scroll position before scrolling to the top, so the scroll always crosses the threshold and triggers the load. ## Does this introduce a breaking change? - [ ] Yes - [x] No ## Other information Only the test changed. Component behavior is the same. --------- Co-authored-by: Dax002 <dax002@Dax002-MacBook.local> Co-authored-by: Brandy Smith <6577830+brandyscarney@users.noreply.github.com>
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
This branch was successfully deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Release 9.0.13