Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update dependency @builder.io/qwik to ^1.11.0 #827

Merged
merged 1 commit into from
Dec 18, 2024

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Dec 18, 2024

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
@builder.io/qwik (source) ^1.9.1 -> ^1.11.0 age adoption passing confidence

Release Notes

QwikDev/qwik (@​builder.io/qwik)

v1.11.0

Compare Source

Minor Changes
  • CHORE: Prepare backwards compatibility for V1 libraries in V2. (by @​wmertens in #​7044)

    We move internal fields immutableProps and flags out of JSXNode as they are not meant for public use.

    This will allow projects using older V1 libraries to continue to work with the Qwik V2 by adding the following package.json changes:

    {
      "dependencies": {
        "@​builder.io/qwik": "^1.11.0",
        "@​qwik.dev/core": "^2.0.0"
      }
    }

    And will prevent typescript errors when using libraries which haven't upgraded to V2 yet.

  • ✨ add monorepo support to the qwik add command by adding a projectDir param (by @​shairez in #​7059)

    That way you can run qwik add --projectDir=packages/my-package and it will add the feature to the specified project/package (sub) folder, instead of the root folder.

v1.10.0

Compare Source

Minor Changes
  • Async functions in useComputed are deprecated. (by @​wmertens in #​7013)

    Why?

    • Qwik can't track used signals after the first await, which leads to subtle bugs.
    • When calculating the first time, it will see it's a promise and it will restart the render function.
    • Both useTask and useResource are available, without these problems.

    In v2, async functions won't work.

    Again, to get the same functionality use useTask or useResource instead, or this function:

    export const useAsyncComputed$ = (qrlFn: QRL<() => Promise<any>>) => {
      const sig = useSignal();
      useTask(({ track }) => {
        const result = track(qrlFn);
        if (result && 'then' in result) {
          result.then(
            (val) => (sig.value = val),
            (err) => {
              console.error('async computed function threw!', err);
              throw error;
            }
          );
        } else {
          sig.value = result;
        }
      });
      return sig;
    };
  • ✨ Expose unwrapStore as a low level AP (by @​GrandSchtroumpf in #​6960)

    This enables developers to clone the content of a useStore() using structureClone or IndexedDB

Patch Changes
  • 📃 fix useResource docs example & remove unused demo (by @​ianlet in #​6893)

  • 🐞🩹 QRL segment filenames are no longer lowercased. This was giving trouble with parent lookups in dev mode and there was no good reason for it. (by @​wmertens in #​7003)

  • 🐞🩹 the type for <textarea> now accepts text children, as per spec. (by @​wmertens in #​7016)

  • 🐞🩹 dev-mode QRL paths are now handled by Vite so they are the same as the parent paths. You can see this in the Sources section of the browser devtools, where the segments are now always next to their parents (when the parent is loaded). (by @​wmertens in #​7037)

  • 🐞🩹 vite is now a peer dependency of qwik, qwik-city, qwik-react and qwik-labs, so that there can be no duplicate imports. This should not have consequences, since all apps also directly depend on vite. (by @​wmertens in #​6945)

  • ✨ sync$ QRLs will now be serialized into the HTML in a shorter form (by @​wmertens in #​6944)

  • 🐞🩹 cli build command appearing to "hang" on errors (by @​shairez in #​6943)

  • ✨ Allow setting linkFetchPriority for modulepreload links in the prefetch strategy. Also fix the links in dev mode (by @​GrandSchtroumpf in #​6947)


Configuration

📅 Schedule: Branch creation - "after 10pm,before 5am" in timezone Asia/Tokyo, Automerge - At any time (no schedule defined).

🚦 Automerge: Enabled.

Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate bot added dependencies Pull requests that update a dependency file renovate labels Dec 18, 2024
@renovate renovate bot force-pushed the renovate/builder.io-qwik-1.x branch from 9188ca4 to 9539d96 Compare December 18, 2024 17:43
@renovate renovate bot force-pushed the renovate/builder.io-qwik-1.x branch from 9539d96 to 6c1c9c9 Compare December 18, 2024 17:45
@namachan10777 namachan10777 merged commit f69da82 into master Dec 18, 2024
4 checks passed
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 renovate
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant