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

chore(deps): update dependency @builder.io/qwik to v1.12.0 #3069

Merged
merged 1 commit into from
Dec 30, 2024

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Dec 30, 2024

This PR contains the following updates:

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

Release Notes

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

v1.12.0

Compare Source

Minor Changes
  • ✨ The build constants isDev, isBrowser and isServer are now exported from @builder.io/qwik directly, so they are more discoverable and easier to add. @builder.io/qwik/build still remains. (by @​wmertens in #​7138)
Patch Changes

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)

v1.9.1

Compare Source

Patch Changes
  • ✨ showing qrl parent names. (by @​wmertens in #​6881)
    in dev mode, qrl segments now start with their parent filename so it's easy to see where they came from. Furthermore, in production builds these filenames are also used so that origins in q-manifest.json are easy to understand.

  • 🐞🩹 Optimizer now ignores unknown deps in graph that caused crashes during build (by @​wmertens in #​6888)

  • 🐞🩹 Do not allow object methods to be serialized with style prop (by @​jakovljevic-mladen in #​6932)

  • 🐞🩹 In dev mode, changes to QRLs now explicitly invalidate the segment so that the browser will reload it (by @​wmertens in #​6938)

v1.9.0

Compare Source

Patch Changes
  • ✨ Introducing the experimental[] option to the Vite plugin. This allows you to opt in to features that are not guaranteed to have a stable API. (by @​wmertens in #​6880)

  • 🐞🩹 fix typo in using useStore() (by @​zaynet in #​6875)

  • 🐞🩹 gracefully handle image dimensions service errors (by @​JerryWu1234 in #​6855)

  • ✨ Lib builds no longer perform qwik transformation. (by @​wmertens in #​6850)

    This prevents using unstable internal APIs, and doesn't make a difference for the end user. Library authors are strongly urged to push a new library patch version built with this qwik version, and to add | ^2.0.0 to their accepted qwik version range.

  • 🐞🩹 SSG Link component strips search parameters (by @​JerryWu1234 in #​6778)

  • 🐞🩹 The PrefetchServiceWorker now has a more efficient graph and only prefetches direct imports and, at a lower priority, task QRL segments. This greatly improves its load performance. (by @​wmertens in #​6853)

v1.8.0

Compare Source

Minor Changes
  • Updated SWC parser means that the optimizer now understands import ... with syntax and that enums are replaced with numbers where possible. (by @​wmertens in #​6005)

  • The optimizer plugin will now rely on Rollup to group QRL segments. It will only provide hints on which segments fit well together. The result of this change is that now code splitting happens during the transform phase only, and other Rollup/Vite plugins (such as css-in-js plugins) can transform the code before Qwik transforms it. (by @​wmertens in #​6670)

  • The default asset filenames in the build have changed. Now they are under assets/hash-name.ext, so they are clearly separated from code. (by @​wmertens in #​5745)

Patch Changes
  • The fileFilter option to qwikVite() now always allows *.qwik.{m,c,}js files so that QRLs in libraries can be processed. (by @​wmertens in #​6760)

v1.7.3

v1.7.2

Patch Changes
  • Library builds now correctly generate _fnSignal calls again. Any Qwik library that exports components should be built again. (by @​wmertens in #​6732)

    • built files are now under dist/ or lib/. All tools that respect package export maps should just work. (by @​wmertens in #​6715)
      If you have trouble with Typescript, ensure that you use moduleResolution: "Bundler" in your tsconfig.json.
    • @builder.io/qwik no longer depends on undici
  • fix dev mode on windows (by @​Varixo in #​6713)

v1.7.1

Compare Source

What's Changed

There are very important bugfixes around build and development in this release and we recommend upgrading.

PRs

Full Changelog: QwikDev/qwik@v1.7.0...v1.7.1

v1.7.0

Compare Source

Notable changes
  • Form errors when using dot notation have a slightly different type
  • Changes to search parameters in the URL will cause routeloaders to re-run now
  • Fixed several issues in dev mode
PRs merged
New Contributors

Full Changelog: QwikDev/qwik@v1.6.0...v1.7.0

v1.6.0

Compare Source

What's Changed
Features
Bug Fixes
Docs
New Contributors

Full Changelog: QwikDev/qwik@v1.5.7...v1.6.0

v1.5.7

Compare Source

What's Changed
New Contributors

Full Changelog: QwikDev/qwik@v1.5.6...v1.5.7

v1.5.6

Compare Source

What's Changed

Many bugfixes and documentation updates.

We also added an API tech preview: createSignal, useConstant and createComputed$, which should be self-explanatory. Feedback welcome on Discord or in issues. We cannot guarantee the stability of these APIs yet, although they are simple enough that they probably won't need changing.

Commits
New Contributors

Full Changelog: QwikDev/qwik@v1.5.5...v1.5.6

v1.5.5

Compare Source

What's Changed


Configuration

📅 Schedule: Branch creation - "* 0-3 * * 1" in timezone UTC, Automerge - At any time (no schedule defined).

🚦 Automerge: Enabled.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

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


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

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

Sorry, something went wrong.

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Copy link

vercel bot commented Dec 30, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated (UTC)
panda-docs ✅ Ready (Inspect) Visit Preview Dec 30, 2024 3:33am
panda-playground ✅ Ready (Inspect) Visit Preview Dec 30, 2024 3:33am
panda-studio ✅ Ready (Inspect) Visit Preview Dec 30, 2024 3:33am

Copy link

changeset-bot bot commented Dec 30, 2024

⚠️ No Changeset found

Latest commit: 1a8a356

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant