|
| 1 | +# Changelog |
| 2 | + |
| 3 | + |
| 4 | +## [main](https://github.com/nuxt/framework/compare/v3.0.0-rc.9...main) |
| 5 | + |
| 6 | + |
| 7 | +### 🚀 Enhancements |
| 8 | + |
| 9 | + - **nuxt, vite:** Inline global and component styles in server response ([#7160](https://github.com/nuxt/framework/pull/7160)) |
| 10 | + - **nuxt:** Custom `history` and `routes` for `app/router.options.ts` ([#7129](https://github.com/nuxt/framework/pull/7129)) |
| 11 | + - **nuxt:** Router with hash mode ([#6980](https://github.com/nuxt/framework/pull/6980)) |
| 12 | + - **nuxt:** Allow extending routes with custom alias ([#7074](https://github.com/nuxt/framework/pull/7074)) |
| 13 | + - **test-utils:** Add `mockFn` and `mockLogger` utils ([#6235](https://github.com/nuxt/framework/pull/6235)) |
| 14 | + - **nuxt:** Support experimental flag to render no client-side js ([#7248](https://github.com/nuxt/framework/pull/7248)) |
| 15 | + - **kit:** Add `addImportsSources` utility ([#7270](https://github.com/nuxt/framework/pull/7270)) |
| 16 | + - **nuxt:** Add `immediate` option for `useAsyncData` and `useFetch` ([#5500](https://github.com/nuxt/framework/pull/5500)) |
| 17 | + - **nuxt:** Add `clearNuxtData` ([#5227](https://github.com/nuxt/framework/pull/5227)) |
| 18 | + - Allow client-side sourcemaps in production ([#7313](https://github.com/nuxt/framework/pull/7313)) |
| 19 | + - **nuxt:** Filter support for `clearNuxtData` ([#7323](https://github.com/nuxt/framework/pull/7323)) |
| 20 | + - **cli:** Switch to `unjs/giget` for `nuxi init` ([#7361](https://github.com/nuxt/framework/pull/7361)) |
| 21 | + |
| 22 | +### 🔥 Performance |
| 23 | + |
| 24 | + - **nuxt:** Cache `createClientOnly` wrapper using weakmap ([#7297](https://github.com/nuxt/framework/pull/7297)) |
| 25 | + - **vite:** Remove duplicate css links from rendered page when inlined ([#7264](https://github.com/nuxt/framework/pull/7264)) |
| 26 | + |
| 27 | +### 🩹 Fixes |
| 28 | + |
| 29 | + - **nuxt:** Update default redirect code of `navigateTo` to `302 Found` ([#7189](https://github.com/nuxt/framework/pull/7189)) |
| 30 | + - **head:** Case `http-equiv` correctly ([#7190](https://github.com/nuxt/framework/pull/7190)) |
| 31 | + - **kit, nuxi:** Semver regexp to support `nuxt-edge` current releases (bridge) ([#7193](https://github.com/nuxt/framework/pull/7193)) |
| 32 | + - **vite:** Use baseURL + assetsDir as base in dev mode ([#7234](https://github.com/nuxt/framework/pull/7234)) |
| 33 | + - **vite:** Pass ssr condition to `getModuleByUrl` ([#7260](https://github.com/nuxt/framework/pull/7260)) |
| 34 | + - **nuxt:** Import and wrap client-only components once ([#7245](https://github.com/nuxt/framework/pull/7245)) |
| 35 | + - **cli:** Pass value of `https` through to vite-node ([#7271](https://github.com/nuxt/framework/pull/7271)) |
| 36 | + - **nuxt:** Don't override payload error if it is present ([#7290](https://github.com/nuxt/framework/pull/7290)) |
| 37 | + - **nuxt:** Don't try to set cookie after redirect ([#7288](https://github.com/nuxt/framework/pull/7288)) |
| 38 | + - **webpack:** Promisify webpack dev/hot handlers using `h3.promisifyHandler` ([#7275](https://github.com/nuxt/framework/pull/7275)) |
| 39 | + - **schema:** Disallow setting vite server properties ([#7317](https://github.com/nuxt/framework/pull/7317)) |
| 40 | + - **schema:** Mark vite server as optional ([#7327](https://github.com/nuxt/framework/pull/7327)) |
| 41 | + - **nuxt:** Allow `abortMiddleware` to receive a nuxt error or error options ([#7335](https://github.com/nuxt/framework/pull/7335)) |
| 42 | + - **webpack:** Don't parse styles for composable keys ([#7333](https://github.com/nuxt/framework/pull/7333)) |
| 43 | + - **vite:** Allow overriding vite sourcemap ([#7342](https://github.com/nuxt/framework/pull/7342)) |
| 44 | + - **schema:** Resolve `ssr` ([#7359](https://github.com/nuxt/framework/pull/7359)) |
| 45 | + - **kit:** Add default config layer without `nuxt.config` file ([#7358](https://github.com/nuxt/framework/pull/7358)) |
| 46 | + - **vite:** Update render if it is invalidated ([#7347](https://github.com/nuxt/framework/pull/7347)) |
| 47 | + |
| 48 | +### 💅 Refactors |
| 49 | + |
| 50 | + - **vite:** Reuse resolved server entry from context ([#7268](https://github.com/nuxt/framework/pull/7268)) |
| 51 | + |
| 52 | +### 📖 Documentation |
| 53 | + |
| 54 | + - Add note about `useFetch` auto generated key ([#7044](https://github.com/nuxt/framework/pull/7044)) |
| 55 | + - **api:** Enhance `useHead` composable ([#7072](https://github.com/nuxt/framework/pull/7072)) |
| 56 | + - Add note about fetching data on initial load ([#7120](https://github.com/nuxt/framework/pull/7120)) |
| 57 | + - Document `external` option of `navigateTo` ([#7188](https://github.com/nuxt/framework/pull/7188)) |
| 58 | + - **guide:** Add `.client` and `.server` components ([#7084](https://github.com/nuxt/framework/pull/7084)) |
| 59 | + - Fix markdown file name ([#7231](https://github.com/nuxt/framework/pull/7231)) |
| 60 | + - **api:** Navigate to first item in list ([#7232](https://github.com/nuxt/framework/pull/7232)) |
| 61 | + - Extend description of server handlers ([#7187](https://github.com/nuxt/framework/pull/7187)) |
| 62 | + - **api:** Add example for fetch interceptors ([#7180](https://github.com/nuxt/framework/pull/7180)) |
| 63 | + - **deploy:** Add node cluster mode ([#7089](https://github.com/nuxt/framework/pull/7089)) |
| 64 | + - **api:** Fix `useAsyncData` signature ([#7242](https://github.com/nuxt/framework/pull/7242)) |
| 65 | + - Add `app-config` example ([#7247](https://github.com/nuxt/framework/pull/7247)) |
| 66 | + - Fix typo ([#7262](https://github.com/nuxt/framework/pull/7262)) |
| 67 | + - Fix typo in url ([#7272](https://github.com/nuxt/framework/pull/7272)) |
| 68 | + - Rename `AppConfig` to `AppConfigInput` ([#7293](https://github.com/nuxt/framework/pull/7293)) |
| 69 | + - **api:** Fix typo in use-fetch ([#7310](https://github.com/nuxt/framework/pull/7310)) |
| 70 | + - **api:** Add `nuxi prepare` command ([#7349](https://github.com/nuxt/framework/pull/7349)) |
| 71 | + - **head:** Enhance usehead and fix broken links ([#7364](https://github.com/nuxt/framework/pull/7364)) |
| 72 | + |
| 73 | +### 🏡 Chore |
| 74 | + |
| 75 | + - Lint ([#7213](https://github.com/nuxt/framework/pull/7213)) |
| 76 | + - Fix docs lint issue ([94a992ec9](https://github.com/nuxt/framework/commit/94a992ec9)) |
| 77 | + - Use latest nuxt and `@nuxt/ui` for examples ([a329b28dd](https://github.com/nuxt/framework/commit/a329b28dd)) |
| 78 | + - Maintain lockfile ([33d915871](https://github.com/nuxt/framework/commit/33d915871)) |
| 79 | + - **docs:** Fix link to vue router api ([#7289](https://github.com/nuxt/framework/pull/7289)) |
| 80 | + - Update CodeSandbox links ([#7318](https://github.com/nuxt/framework/pull/7318)) |
| 81 | + |
| 82 | +### 📦 Build |
| 83 | + |
| 84 | + - **cli:** Add `node` to export conditions ([0cc49e2a2](https://github.com/nuxt/framework/commit/0cc49e2a2)) |
| 85 | + |
| 86 | +### ✅ Tests |
| 87 | + |
| 88 | + - Use semantic `runIf` and `skipIf` helpers ([#7312](https://github.com/nuxt/framework/pull/7312)) |
| 89 | + - Fix dynamic dev paths ([#7314](https://github.com/nuxt/framework/pull/7314)) |
| 90 | + |
| 91 | +### ❤️ Contributors |
| 92 | + |
| 93 | +- Adewale Abati |
| 94 | +- Alex Kozack |
| 95 | +- Alexander Lichter |
| 96 | +- AndreyYolkin |
| 97 | +- Anthony Fu |
| 98 | +- Damian Głowala |
| 99 | +- Daniel Roe |
| 100 | +- Harlan Wilton |
| 101 | +- HomWang |
| 102 | +- Julien Huang |
| 103 | +- Krutie Patel |
| 104 | +- Kévin Schnekenburger |
| 105 | +- Leon Si |
| 106 | +- Mastercuber |
| 107 | +- Pooya Parsa |
| 108 | +- Ricardo Gobbo De Souza |
| 109 | +- Sébastien Chopin |
| 110 | +- Tobias Diez |
| 111 | +- Tobias SN |
| 112 | +- Vasily Stepanov |
| 113 | +- Victorkwok97 |
| 114 | +- Vl4dimyr |
| 115 | + |
0 commit comments