-
-
Notifications
You must be signed in to change notification settings - Fork 832
Comparing changes
Open a pull request
base repository: stenciljs/core
base: v4.4.1
head repository: stenciljs/core
compare: v4.5.0
- 19 commits
- 78 files changed
- 6 contributors
Commits on Oct 9, 2023
-
chore(snc): fix violations in update-element.spec (#4905)
* chore(snc): widen vnode variable type in update-element.spec this commit widens the types of multiple VNode variable instances to `VNode | null` from `VNode`. in each of thsee usages, an old VNode instance is instantiated as `null` for testing purposes to call `updateElement`. since the old VNode can be `null` according to the `udpateElement` function signature, this is considered to by a safe operation (i.e. does not adversely affect the tests). * chore(snc): init vnode with non-null values the test that initializes these VNodes doesn't use these values stored on the VNode, making this a safe operation in terms of the test * review(ap): update typings
Configuration menu - View commit details
-
Copy full SHA for 0340bf7 - Browse repository at this point
Copy the full SHA 0340bf7View commit details -
docs(dev-server): document hmr utils (#4870)
This adds some documentation to `src/dev-server/client/hmr-util.ts` which was previously largely undocumented.
Configuration menu - View commit details
-
Copy full SHA for 6f13bd3 - Browse repository at this point
Copy the full SHA 6f13bd3View commit details -
chore(utils): handle a few SNC violations related to path extensions …
…and diagnostics (#4903) * only set extension value if one exists * handle nullish values when normalizing diagnostics * don't return string if an extension doesn't exist
Configuration menu - View commit details
-
Copy full SHA for be61339 - Browse repository at this point
Copy the full SHA be61339View commit details -
chore(deps): update dependency typescript to ~5.2.0 (#4895)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for d43f325 - Browse repository at this point
Copy the full SHA d43f325View commit details -
chore(repo): update reproduction case verbiage (#4899)
update the code reproduction description to be clearer, specifically stating that we will likely close an issue if it does not have a reproduction case
Configuration menu - View commit details
-
Copy full SHA for 9f35fd9 - Browse repository at this point
Copy the full SHA 9f35fd9View commit details -
chore(snc): fix two snc errors related to
.typesDir(#4815)This fixes two snc errors related to the `.typesDir` property and then additionally does a small refactor in `validate-dist.ts`.
Configuration menu - View commit details
-
Copy full SHA for cb8d9a3 - Browse repository at this point
Copy the full SHA cb8d9a3View commit details
Commits on Oct 10, 2023
-
chore(repo): group rollup in renovate (#4919)
add rollup and `@rollup` prefixed packages to one pull request when a release goes out, to minimize the noise associated with a release
Configuration menu - View commit details
-
Copy full SHA for ac29992 - Browse repository at this point
Copy the full SHA ac29992View commit details -
chore(deps): update dependency npm to v10.2.0 (#4912)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for 15a7f89 - Browse repository at this point
Copy the full SHA 15a7f89View commit details
Commits on Oct 11, 2023
-
refactor(jest): detect jest version for testing (#4883)
add a new abstraction layer to stencil's jest testing configuration/running such that the version of jest is detected when jest is run. based on the version that is detected, defer to the correct piece of versioned infrastructure to setup and run tests. in #4847, the directory structure of the testing submodule was updated to look something like: ``` ├── src/testing/jest/ │ └── jest-27-and-under │ ├── jest-config.ts │ ├── jest-environment.ts │ ├── jest-preprocessor.ts │ ├── jest-runner.ts │ ├── jest-screenshot.ts │ ├── jest-serializer.ts │ ├── jest-setup-test-framework.ts │ ├── node_modules/ │ ├── package.json │ └── test └── package.json ``` this commit introduces the following infrastructue to dispatch to jest-27-and-under at runtime: ```diff ├── src/testing/jest/ │ └── jest-27-and-under │ ├── jest-config.ts │ ├── jest-environment.ts + │ ├── jest-facade.ts <- Implements interface in `../jest-adapter.ts` │ ├── jest-preprocessor.ts │ ├── jest-runner.ts │ ├── jest-screenshot.ts │ ├── jest-serializer.ts │ ├── jest-setup-test-framework.ts │ ├── node_modules/ │ ├── package.json │ └── test + ├── jest-apis.ts <- Interactions with Jest prior to knowing the version + ├── jest-facade.ts <- Interface all `jest-facade` implementations should follow + ├── jest-stencil-connector.ts <- Routes Jest logic through the correct `jest-facade` implementation └── package.json ``` Where: - `jest-stencil-connector` - performs the detection of the current version of jest - dispatching to the correct infrastructure via `jest-facade` implementations - `jest-facade.ts` - a file containing an interface to define the API by which version-specific implementation can be loaded. the first implementation for jest 27 and under is included in `jest-27-and-under/` - `jest-apis` - a file containing typings for cases where the jest typings are ambiguous, particularly for when we do not know what the current version of jest is (yet) the end result of this commit should be nothing to the end user (for now). this work shall be used to help support jest v28+ in the near future (dispatching the the correct version)
Configuration menu - View commit details
-
Copy full SHA for a699cec - Browse repository at this point
Copy the full SHA a699cecView commit details -
refactor(jest): make jest presets version-specific (#4904)
this commit updates the existing infrastructure for jest presets to move them under version-specific directories (although there's just one such directory at this time). in doing so, the `jest-preset.js` file that was previously housed under the `scripts/` directory now has the same dispatch behavior as the other javascript files in the same directory (`git mv` was used to preserve history of the original contents). this allows the correct version of `jest-preset` to be selected at runtime when a user invokes jest. `jest-preset.ts` contains the original preset with the following changes: 1. it no longer uses CommonJS exports to make loading the file at runtime easier and compile-time compliant. it is worth noting that the contents of this file, in their previous location, would simply be copied to the output directory. now, they are run through the typescript compiler and placed in `testing/index.js` after the compiler has been built 2. `path` is now imported with an `import` statement, rather than a `require` statement as a consequence of point 1. the resulting directory structure looks something like: ```diff ├── scripts/bundles/helpers/jest/ │ └── jest-preset.js <- Now has same dispatch behavior as other files in this directory ├── src/testing/jest/ │ └── jest-27-and-under │ ├── jest-config.ts │ ├── jest-environment.ts │ ├── jest-facade.ts │ ├── jest-preprocessor.ts + │ ├── jest-preset.ts <- Contains preset previously in `scripts/`, now as a module │ ├── jest-runner.ts │ ├── jest-screenshot.ts │ ├── jest-serializer.ts │ ├── jest-setup-test-framework.ts │ ├── node_modules/ │ ├── package.json │ └── test ├── jest-apis.ts ├── jest-facade.ts ├── jest-stencil-connector.ts └── package.json ``` the jest facade interface and it's related impl have been updated to return the correct jest preset
Configuration menu - View commit details
-
Copy full SHA for 6893954 - Browse repository at this point
Copy the full SHA 6893954View commit details
Commits on Oct 12, 2023
-
chore(deps): update dependency @rollup/pluginutils to v5.0.5 (#4922)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for 628e8c5 - Browse repository at this point
Copy the full SHA 628e8c5View commit details -
chore(deps): update dependency eslint to v8.51.0 (#4924)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for 183a05b - Browse repository at this point
Copy the full SHA 183a05bView commit details
Commits on Oct 16, 2023
-
chore(deps): update typescript-eslint to v6.7.5 (#4931)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for 968b2ec - Browse repository at this point
Copy the full SHA 968b2ecView commit details -
chore(deps): update dependency @types/ws to v8.5.7 (#4929)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for d135570 - Browse repository at this point
Copy the full SHA d135570View commit details -
chore(deps): update dependency @types/listr to v0.14.6 (#4927)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for 09fdbd1 - Browse repository at this point
Copy the full SHA 09fdbd1View commit details -
chore(release): remove notice.md generation (#4925)
remove the `notice.md` file and its generation from the repository, as it is no longer necessary to generate
Configuration menu - View commit details
-
Copy full SHA for bbad7ae - Browse repository at this point
Copy the full SHA bbad7aeView commit details -
chore(deps): update dependency @types/prompts to v2.4.6 (#4928)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for b1dd4ac - Browse repository at this point
Copy the full SHA b1dd4acView commit details -
feat(compiler, runtime): add support for form-associated elements (#4784
) This adds support for building form-associated custom elements in Stencil components, allowing Stencil components to participate in HTML forms in a rich manner. This is a popular request in the Stencil community (see #2284). The new form-association technology is exposed to the component author via the following changes: - A new option called `formAssociated` has been added to the [`ComponentOptions`](https://github.com/ionic-team/stencil/blob/06f6fad174c32b270ce239afab5002c23d30ccbc/src/declarations/stencil-public-runtime.ts#L10-L55) interface. - A new `@AttachInternals()` decorator can be used to indicate a property on a Stencil component to which an [`ElementInternals`](https://developer.mozilla.org/en-US/docs/Web/API/ElementInternals) object will be bound at runtime. - Using `@AttachInternals()` is supported both for lazy builds ([`www`](https://stenciljs.com/docs/www), [`dist`](https://stenciljs.com/docs/distribution)) as well as for [`dist-custom-elements`](https://stenciljs.com/docs/custom-elements). The new behavior is implemented at compile-time, and so should result in only very minimal increases in code / bundle size. Support exists for using form-associated components in both the lazy and the CE output targets, as well as some extremely minimal provisions for testing. Documentation for this feature was added to the Stencil site here: stenciljs/site#1247
Configuration menu - View commit details
-
Copy full SHA for 5976c9b - Browse repository at this point
Copy the full SHA 5976c9bView commit details -
Co-authored-by: tanner-reits <tanner-reits@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for 4c38e47 - Browse repository at this point
Copy the full SHA 4c38e47View commit details
This comparison is taking too long to generate.
Unfortunately it looks like we can’t render this comparison for you right now. It might be too big, or there might be something weird with your repository.
You can try running this command locally to see the comparison on your machine:
git diff v4.4.1...v4.5.0