|
1 | 1 | # astro
|
2 | 2 |
|
| 3 | +## 3.0.0-beta.5 |
| 4 | + |
| 5 | +### Major Changes |
| 6 | + |
| 7 | +- [#8142](https://github.com/withastro/astro/pull/8142) [`81545197a`](https://github.com/withastro/astro/commit/81545197a32fd015d763fc386c8b67e0e08b7393) Thanks [@natemoo-re](https://github.com/natemoo-re)! - Fixes for the `class:list` directive |
| 8 | + |
| 9 | + - Previously, `class:list` would ocassionally not be merged the `class` prop when passed to Astro components. Now, `class:list` is always converted to a `class` prop (as a string value). |
| 10 | + - Previously, `class:list` diverged from [`clsx`](https://github.com/lukeed/clsx) in a few edge cases. Now, `class:list` uses [`clsx`](https://github.com/lukeed/clsx) directly. |
| 11 | + - `class:list` used to deduplicate matching values, but it no longer does |
| 12 | + - `class:list` used to sort individual values, but it no longer does |
| 13 | + - `class:list` used to support `Set` and other iterables, but it no longer does |
| 14 | + |
| 15 | +- [#8170](https://github.com/withastro/astro/pull/8170) [`be6bbd2c8`](https://github.com/withastro/astro/commit/be6bbd2c86b9bf5268e765bb937dda00ff15781a) Thanks [@bluwy](https://github.com/bluwy)! - Remove deprecated config option types, deprecated script/style attributes, and deprecated `image` export from `astro:content` |
| 16 | + |
| 17 | +- [#8169](https://github.com/withastro/astro/pull/8169) [`e79e3779d`](https://github.com/withastro/astro/commit/e79e3779df0ad35253abcdb931d622847d9adb12) Thanks [@bluwy](https://github.com/bluwy)! - Remove pre-shiki v0.14 theme names for compatibility. Please rename to the new theme names to migrate: |
| 18 | + |
| 19 | + - `material-darker` -> `material-theme-darker` |
| 20 | + - `material-default` -> `material-theme` |
| 21 | + - `material-lighter` -> `material-theme-lighter` |
| 22 | + - `material-ocean` -> `material-theme-ocean` |
| 23 | + - `material-palenight` -> `material-theme-palenight` |
| 24 | + |
| 25 | +### Patch Changes |
| 26 | + |
| 27 | +- [#8099](https://github.com/withastro/astro/pull/8099) [`adf9fccfd`](https://github.com/withastro/astro/commit/adf9fccfdda107c2224558f1c2e6a77847ac0a8a) Thanks [@bluwy](https://github.com/bluwy)! - Do not throw Error when users pass an object with a "type" property |
| 28 | + |
| 29 | +- [#8099](https://github.com/withastro/astro/pull/8099) [`42785c7b7`](https://github.com/withastro/astro/commit/42785c7b784b151e6d582570e5d74482129e8eb8) Thanks [@bluwy](https://github.com/bluwy)! - Improve fidelity of time stats when running `astro build` |
| 30 | + |
| 31 | +- [#8171](https://github.com/withastro/astro/pull/8171) [`95120efbe`](https://github.com/withastro/astro/commit/95120efbe817163663492181cbeb225849354493) Thanks [@Princesseuh](https://github.com/Princesseuh)! - Fix missing type for `imageConfig` export from `astro:assets` |
| 32 | + |
| 33 | +- [#8099](https://github.com/withastro/astro/pull/8099) [`2ae9d37f0`](https://github.com/withastro/astro/commit/2ae9d37f0a9cb21ab288d3c30aecb6d84db87788) Thanks [@bluwy](https://github.com/bluwy)! - Open to configured `base` when `astro dev --open` runs |
| 34 | + |
| 35 | +- [#8099](https://github.com/withastro/astro/pull/8099) [`33b8910cf`](https://github.com/withastro/astro/commit/33b8910cfdce5713891c50a84a0a8fe926311710) Thanks [@bluwy](https://github.com/bluwy)! - On back navigation only animate view transitions that were animated going forward. |
| 36 | + |
| 37 | +- [#8099](https://github.com/withastro/astro/pull/8099) [`a87cbe400`](https://github.com/withastro/astro/commit/a87cbe400314341d5f72abf86ea264e6b47c091f) Thanks [@bluwy](https://github.com/bluwy)! - fix: reinsert attribute to specify direction of ViewTransition (forward / back) |
| 38 | + |
| 39 | +- [#8132](https://github.com/withastro/astro/pull/8132) [`767eb6866`](https://github.com/withastro/astro/commit/767eb68666eb777965baa0d6ade20bbafecf95bf) Thanks [@bluwy](https://github.com/bluwy)! - Deprecate returning simple objects from endpoints. Endpoints should only return a `Response`. |
| 40 | + |
| 41 | + To return a result with a custom encoding not supported by a `Response`, you can use the `ResponseWithEncoding` utility class instead. |
| 42 | + |
| 43 | + Before: |
| 44 | + |
| 45 | + ```ts |
| 46 | + export function GET() { |
| 47 | + return { |
| 48 | + body: '...', |
| 49 | + encoding: 'binary', |
| 50 | + }; |
| 51 | + } |
| 52 | + ``` |
| 53 | + |
| 54 | + After: |
| 55 | + |
| 56 | + ```ts |
| 57 | + export function GET({ ResponseWithEncoding }) { |
| 58 | + return new ResponseWithEncoding('...', undefined, 'binary'); |
| 59 | + } |
| 60 | + ``` |
| 61 | + |
| 62 | +- Updated dependencies [[`e79e3779d`](https://github.com/withastro/astro/commit/e79e3779df0ad35253abcdb931d622847d9adb12)]: |
| 63 | + - @astrojs/markdown-remark@3.0.0-beta.1 |
| 64 | + |
3 | 65 | ## 3.0.0-beta.4
|
4 | 66 |
|
5 | 67 | ### Patch Changes
|
|
0 commit comments