Skip to content

Commit 078e4c3

Browse files
Version Packages (#216)
1 parent cffd332 commit 078e4c3

File tree

3 files changed

+11
-10
lines changed

3 files changed

+11
-10
lines changed

.changeset/ten-bars-drive.md

Lines changed: 0 additions & 9 deletions
This file was deleted.

packages/vite-plugin-shopify/CHANGELOG.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,15 @@
11
# vite-plugin-shopify
22

3+
## 4.1.0
4+
5+
### Minor Changes
6+
7+
- cffd332: This release addresses a critical compatibility issue with Vite 7 and enhances the development server experience.
8+
9+
**Vite 7 Tunnel Fix:** The plugin now automatically configures `server.allowedHosts` to work with the dynamic tunnel feature (`tunnel: true`), resolving the "Blocked request" error.
10+
11+
**Smart CORS Defaults:** To improve the out-of-the-box experience, the plugin now sets a default CORS policy that allows requests from `localhost` and `*.myshopify.com`, which is a common requirement for theme development. Your custom `server.cors` settings will always take precedence.
12+
313
## 4.0.3
414

515
### Patch Changes

packages/vite-plugin-shopify/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "vite-plugin-shopify",
3-
"version": "4.0.3",
3+
"version": "4.1.0",
44
"description": "Vite plugin providing integration for Shopify themes",
55
"type": "module",
66
"repository": {

0 commit comments

Comments
 (0)