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: merge main into v2 #7443

Open
wants to merge 36 commits into
base: build/v2
Choose a base branch
from
Open

chore: merge main into v2 #7443

wants to merge 36 commits into from

Conversation

wmertens
Copy link
Member

@wmertens wmertens commented Mar 20, 2025

This does not include the viewtransition changes which will need a separate PR, cc @GrandSchtroumpf .

Also, types are somewhat broken, to be fixed.

GrandSchtroumpf and others added 30 commits February 28, 2025 23:42
* feat: dispatch q:viewTransition when started

* add changeset

* add documentation

* replace q:viewTransition for qviewTransition

* move QwikTransitionEvent up

* doc: fix example

* doc: improve examples

* doc: expose new page

* doc: add indication about ViewTransition interface

* doc: fix doc typo and add explaination
* deprecated eagerness

* reviewd changes

* added changeset
* feat: add ErrorBoundary component and update error handling in Qwik City

* fix: update error boundary handling in Qwik City and Qwik

* fix: improve ErrorBoundary handling and update useErrorBoundary return value
* handle hmr and css importer persistence

* changeset
* fix: pass server$ errors through to middleware

* fix e2e tests

* Add changeset

* Add middlewaare error test and remove ErrorResponse

* Update changeset

* Add error handling docs

* Allow returning plain text ServerErrors

* Improvements

* Update docs

* test server errors with text/html accept headers

* Update changesets

* Update ErrorResponse and vite bug url
…ebug-mode

refactor(rollup): move build mode + debug:true chunk names logic out of manualChunks
fix(eslint-plugin-qwik): fix ESLint 9 compatibility, enhance README
#7420)

* When csr is true, it causes a crash because resolve cannot be null as the second parameter

* Create cyan-deers-glow.md

---------

Co-authored-by: wuls <[email protected]>
…ptionsObject-2

refactor(rollup): normalizeRollupOutputOptionsObject to accept qwikPlugin as an argument
…rnal hooks. (#7366)

* fix: a bug is about qwik ts  error

* When it is a Qwik hook, there is no need for recursive lookup.

* Create wicked-dolphins-boil.md

* modify comment

---------

Co-authored-by: wuls <[email protected]>
* chore: migrate build.clean fow windows support

* chore: migrate docs.preview command for windows support
@wmertens wmertens requested review from a team as code owners March 20, 2025 16:30
Copy link

changeset-bot bot commented Mar 20, 2025

⚠️ No Changeset found

Latest commit: bd251be

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

@wmertens wmertens changed the base branch from main to build/v2 March 20, 2025 16:31
Copy link

pkg-pr-new bot commented Mar 20, 2025

Open in Stackblitz

npm i https://pkg.pr.new/QwikDev/qwik/@qwik.dev/core@7443
npm i https://pkg.pr.new/QwikDev/qwik/@qwik.dev/router@7443
npm i https://pkg.pr.new/QwikDev/qwik/eslint-plugin-qwik@7443
npm i https://pkg.pr.new/QwikDev/qwik/create-qwik@7443

commit: e1fd8d3

Copy link
Contributor

github-actions bot commented Mar 21, 2025

built with Refined Cloudflare Pages Action

⚡ Cloudflare Pages Deployment

Name Status Preview Last Commit
qwik-docs ✅ Ready (View Log) Visit Preview bd251be

Comment on lines +10 to +19
let __dirname = path.dirname(fileURLToPath(import.meta.url));
const isWindows = process.platform === 'win32';
if (isWindows && __dirname.startsWith('/')) {
// in Windows __dirname starts with a / causing errors
// before
// /C:/Users/{location stuff}/qwik/packages/docs
__dirname = __dirname.substring(1);
// after
// C:/Users/{location stuff}/qwik/packages/docs
}
Copy link
Member

@Varixo Varixo Mar 21, 2025

Choose a reason for hiding this comment

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

not sure if this is needed. I fixed it in v2 and worked without any problem for me on Windows. I can check it later today

Copy link
Member

@Varixo Varixo Mar 21, 2025

Choose a reason for hiding this comment

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

it works but the old way is also working

Copy link
Member

Choose a reason for hiding this comment

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

should it be included?

@@ -52,6 +53,7 @@
- [Sync events w state](/docs/cookbook/sync-events/index.mdx)
- [Theme Management](/docs/cookbook/theme-management/index.mdx)
- [Drag & Drop](/docs/cookbook/drag&drop/index.mdx)
- [View Transition](/docs/cookbook/view-transition/index.mdx)
Copy link
Member

Choose a reason for hiding this comment

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

also here

Comment on lines +19 to +20
/** Emitted by qwik-core on document when the a view transition start @public */
export type QwikViewTransitionEvent = CustomEvent<ViewTransition>;
Copy link
Member

Choose a reason for hiding this comment

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

and here?

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.