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

V2 Version Packages (alpha) #7018

Open
wants to merge 1 commit into
base: build/v2
Choose a base branch
from

Conversation

github-actions[bot]
Copy link
Contributor

@github-actions github-actions bot commented Oct 30, 2024

This PR was opened by the Changesets release GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to build/v2, this PR will be updated.

⚠️⚠️⚠️⚠️⚠️⚠️

build/v2 is currently in pre mode so this branch has prereleases rather than normal releases. If you want to exit prereleases, run changeset pre exit on build/v2.

⚠️⚠️⚠️⚠️⚠️⚠️

Releases

@qwik.dev/core@2.0.0-alpha.0

Major Changes

  • 💥BREAKING: useComputed no longer allows Promise returns. (meaning it is strictly sync) Instead, use useSignal and useTask together to perform async signal updates (by @wmertens in #6907)

  • qwik-labs package has been removed in favor of experimental features. (by @shairez in #7025)
    So the "Insights" vite plugin and components have been moved to core as an experimental feature.

    In order to use it, you need to -

    1) add insights to the experimental array in vite.config.ts:

    qwikVite({
      experimental: ['insights']
    }),

    2) Import and use the qwikInsights vite plugin from @qwik.dev/core/insights/vite:

    import { qwikInsights } from '@qwik.dev/core/insights/vite';

    3) import the <Insights> component from @qwik.dev/core/insights and use it in your root.tsx file: :

    import { Insights } from '@qwik.dev/core/insights';
    
    // ...rest of root.tsx file
    
    return (
      <Insights publicApiKey="..." postUrl="..." />
      /* ...qwik app */
    );

Patch Changes

  • 🐞🩹 do not trigger effects if computed value is not changed (by @Varixo in #6996)

@qwik.dev/router@2.0.0-alpha.0

Major Changes

  • Renamed "Qwik City" to "Qwik Router" and package to "@qwik.dev/router" (by @shairez in #7008)

@qwik.dev/react@2.0.0-alpha.0

Patch Changes

create-qwik@2.0.0-alpha.0

eslint-plugin-qwik@2.0.0-alpha.0

@github-actions github-actions bot requested review from a team as code owners October 30, 2024 15:59
Copy link
Contributor

@hamatoyogi hamatoyogi left a comment

Choose a reason for hiding this comment

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

🎉❤️

thejackshelton-kunaico
thejackshelton-kunaico approved these changes Oct 30, 2024
@thejackshelton
Copy link
Member

You have done well

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.

5 participants