Skip to content

chore(deps): Bump @stencil/core from 3.2.2 to 3.3.0 in /core - #27539

Merged
sean-perkins merged 2 commits into
mainfrom
dependabot/npm_and_yarn/core/stencil/core-3.3.0
May 31, 2023
Merged

sean-perkins merged 2 commits into
mainfrom
dependabot/npm_and_yarn/core/stencil/core-3.3.0

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github May 23, 2023 •

Copy link
Copy Markdown
Contributor

Bumps @stencil/core from 3.2.2 to 3.3.0.

Release notes

Sourced from @​stencil/core's releases.

🍭 3.3.0 (2023-05-23)

Bug Fixes

  • compiler: components typedef path aliases (#4365) (fd63c17)

Features

Changelog

Sourced from @​stencil/core's changelog.

🍭 3.3.0 (2023-05-23)

Bug Fixes

  • compiler: components typedef path aliases (#4365) (fd63c17)

Features

Commits
  • 7515c4b 🍭 v3.3.0
  • b34a88d chore(karma): update package-lock format (#4417)
  • 15e4743 chore(readme): add discord to readme (#4408)
  • 9a02075 chore(deps): update dependency webpack to v5.83.1 (#4413)
  • db39b03 chore(deps): update dependency npm to v9.6.7 (#4410)
  • a422f93 chore(deps): update dependency eslint to v8.41.0 (#4416)
  • a690e48 chore(deps): update dependency eslint-plugin-jsdoc to v44.2.4 (#4409)
  • a0bd934 chore(deps): update typescript-eslint to v5.59.6 (#4411)
  • bb329c9 chore(deps): update dependency @​types/node to v20.2.1 (#4412)
  • 0673f72 chore(snc): remove in-memory-fs.spec snc violations (#4401)
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

@dependabot
dependabot Bot requested a review from a team as a code owner May 23, 2023 18:09
@dependabot dependabot Bot added the dependencies Pull requests that update a dependency file label May 23, 2023
@bolt-new-by-stackblitz

Copy link
Copy Markdown

Review PR in StackBlitz Codeflow Run & review this pull request in StackBlitz Codeflow.

@github-actions github-actions Bot added the package: core @ionic/core package label May 23, 2023
@dependabot
dependabot Bot force-pushed the dependabot/npm_and_yarn/core/stencil/core-3.3.0 branch 2 times, most recently from b6a5231 to 6369623 Compare May 23, 2023 18:27
@dependabot
dependabot Bot force-pushed the dependabot/npm_and_yarn/core/stencil/core-3.3.0 branch from 6369623 to 805c253 Compare May 24, 2023 13:06
@liamdebeasi
liamdebeasi self-requested a review as a code owner May 24, 2023 13:24
@liamdebeasi

liamdebeasi commented May 24, 2023 •

Copy link
Copy Markdown
Contributor

Going to request a review from another team member. There was an error on updating to Stencil 3.3.0:

[ ERROR ]  TypeScript: ./src/utils/animation/animation.ts:1031:5
           Type '{ parentAnimation: AnimationInternal | undefined; elements:
           HTMLElement[]; childAnimations: AnimationInternal[]; id: string |
           undefined; ... 43 more ...; progressEnd: (playTo: 0 | ... 1 more ...
           | undefined, step: number, dur?: number | undefined) =>
           AnimationInternal; }' is not assignable to type 'Animation'.Object
           literal may only specify known properties, and 'animationFinish'
           does not exist in type 'Animation'.

This was happening because createAnimation returns Animation which does not include animationFinish (even though animationFinish is part of the return object in createAnimation. However, animationFinish exists on the AnimationInternal interface. To fix this, I moved all the keys from AnimationInternal on to Animation and marked them as "internal" so developers do not use them.

Current Animation interface: https://github.com/ionic-team/ionic-framework/blob/e114fe40d07a797ee09110a942f70ce69bfc6eb0/core/src/utils/animation/animation-interface.ts
AnimationInternal interface:

interface AnimationInternal extends Animation {
/**
* Sets the parent animation.
*/
parent(animation: Animation): Animation;
/**
* Updates any existing animations.
*/
update(deep: boolean, toggleAnimationName: boolean, step?: number): Animation;
animationFinish(): void;
}

@liamdebeasi
liamdebeasi requested a review from sean-perkins May 24, 2023 13:35

@sean-perkins sean-perkins left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Modified changes look good to me.

The type error is from the Typescript 5 upgrade. I confirmed this by having VSCode target Typescript 5 and leaving Stencil on 3.2. The error appears in the IDE typechecking. Typescript is one of the few dependencies that Stencil reserves major version updates across minor releases (even if they do create type breakages).

@sean-perkins

Copy link
Copy Markdown
Contributor

Let's hold on merging until after the release tomorrow. Just to give the dev team time to test with Stencil 3.3 for a week.

@sean-perkins
sean-perkins added this pull request to the merge queue May 31, 2023
Merged via the queue into main with commit becf800 May 31, 2023
@sean-perkins
sean-perkins deleted the dependabot/npm_and_yarn/core/stencil/core-3.3.0 branch May 31, 2023 18:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file package: core @ionic/core package

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants