Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: stenciljs/core
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v4.29.3
Choose a base ref
...
head repository: stenciljs/core
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v4.31.0
Choose a head ref
  • 5 commits
  • 33 files changed
  • 4 contributors

Commits on Apr 24, 2025

  1. feat(runtime): export a render method from the runtime (#6245)

    * feat(runtime): export a render method
    
    * fix unit tests
    
    * add missing export
    christian-bromann authored Apr 24, 2025
    Configuration menu
    Copy the full SHA
    e6c0593 View commit details
    Browse the repository at this point in the history
  2. v4.30.0 (#6246)

    Co-authored-by: christian-bromann <731337+christian-bromann@users.noreply.github.com>
    github-actions[bot] and christian-bromann authored Apr 24, 2025
    Configuration menu
    Copy the full SHA
    8df2970 View commit details
    Browse the repository at this point in the history

Commits on May 6, 2025

  1. fix(docs): add overwriteExisting option for flexible README overwrite…

    … behaviour (#6249)
    
    * fix(docs): add overwriteExisting option for flexible README overwrite behaviour
    
    On the `docs-readme` output target, a new `overwriteExisting` option allows developers to
    control how existing README files are handled when writing to a custom path.
    
    This adds flexibility to either:
    
    - Always overwrite the full README (`true`),
    - Only write the full README if no file exists (`'if-missing'`), or
    - Preserve existing custom content (**default** `false`).
    
    Now, `docs-readme` treats the component `readme.md` files as the canonical source for
    manually-entered custom content when overwriting READMEs. This ensures that custom content
    is preserved unless explicitly overwritten.
    
    For example, when using the `'if-missing'` flag, a project that writes component readmes
    into a documentation library folder can maintain consistent, idempotent output across
    local builds and CI environments. Custom edits to the destination files will be maintained,
    while files without customisation will be fully exported.
    
    Fixes #6248
    
    * test(docs-readme): add coverage for overwriteExisting behaviours
    
    Adds tests covering all `overwriteExisting` modes on the `docs-readme` output target:
    
    - Always overwrite (`true`)
    - Overwrite if missing (`'if-missing'`) with and without a destination file
    - Never overwrite (`false`)
    - Default behaviour (`undefined`), which treats missing values as `false`
    
    Tests confirm that manual content is preserved when appropriate, new files are correctly
    generated when missing, and behaviour matches the original fix for #5400.
    
    Also validates idempotent output across multiple overwriting scenarios.
    
    Related to the fix for #6248.
    
    * test(docs-readme): revamp overwrite test for consistent test state
    
    Added `copy-readme.js` to copy the supplemental README over the known README result to
    ensure the file is in a consistent state before the test begins.
    
    This approach verifies whether the `docs-readme` output target correctly overwrites the
    file as expected during the test process.
    
    * refactor(copy-readme): normalize formatting with Prettier
    smorrisods authored May 6, 2025
    Configuration menu
    Copy the full SHA
    fa9a2cc View commit details
    Browse the repository at this point in the history
  2. fix(build): fix build after dependency updates (#6251)

    * fix(build): fix build after dependency updates
    
    * more build improvements
    
    * prettier
    christian-bromann authored May 6, 2025
    Configuration menu
    Copy the full SHA
    d0c5ce5 View commit details
    Browse the repository at this point in the history
  3. Release v4.31.0 (#6252)

    * v4.31.0
    
    * update changelog
    
    ---------
    
    Co-authored-by: christian-bromann <731337+christian-bromann@users.noreply.github.com>
    Co-authored-by: Christian Bromann <git@bromann.dev>
    3 people authored May 6, 2025
    Configuration menu
    Copy the full SHA
    992a687 View commit details
    Browse the repository at this point in the history
Loading