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

Update changelogs #5955

Merged
merged 29 commits into from
Jan 24, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
29 commits
Select commit Hold shift + click to select a range
b7e6ec7
[ci] release
github-actions[bot] Jan 23, 2023
25aa70a
Wrap astro 2.0 beta logs in `<details>`
delucis Jan 23, 2023
d9d7d7e
Add link to docs upgrade guide
delucis Jan 23, 2023
1131a6b
First pass cleaning up 2.0 release notes
delucis Jan 24, 2023
f8abae2
mdx changes from Sarah
sarah11918 Jan 24, 2023
56d2b8c
combine 5584 and 5842 in deno, image, netlify
sarah11918 Jan 24, 2023
806f202
markdown/remark incl (5684 & 5769) to match mdx
sarah11918 Jan 24, 2023
453d171
Tweak markdown/remark formatting
delucis Jan 24, 2023
42edcde
Format astro-prism
delucis Jan 24, 2023
05cf311
Format astro-rss
delucis Jan 24, 2023
7a36b04
Format create-astro
delucis Jan 24, 2023
4ee7cfb
Format cloudflare
delucis Jan 24, 2023
e871be6
Format lit
delucis Jan 24, 2023
c05346e
Format partytown
delucis Jan 24, 2023
96a2dd3
Format node
delucis Jan 24, 2023
75f2677
Format preact
delucis Jan 24, 2023
80ab805
Format react
delucis Jan 24, 2023
26a8ce3
Format solid
delucis Jan 24, 2023
0f79b05
Format svelte
delucis Jan 24, 2023
0621875
Format tailwind
delucis Jan 24, 2023
65f4b0e
Format vercel
delucis Jan 24, 2023
799255b
Format vue
delucis Jan 24, 2023
73a001d
Format telemetry
delucis Jan 24, 2023
ef15456
Format webapi
delucis Jan 24, 2023
42180b8
Format scripts
delucis Jan 24, 2023
84026a2
Reinstate h3s for headings
delucis Jan 24, 2023
faa912f
Reformat mdx
delucis Jan 24, 2023
4138675
astro & markdown/remark: Combine #5679 & #5684 changelogs
delucis Jan 24, 2023
1e5fe2f
Merge branch 'changeset-release/main' into fix-cs2
matthewp Jan 24, 2023
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions packages/astro-prism/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,15 @@

## 2.0.0-beta.0

<details>
<summary>See changes in 2.0.0-beta.0</summary>

### Major Changes

- [#5782](https://github.com/withastro/astro/pull/5782) [`1f92d64ea`](https://github.com/withastro/astro/commit/1f92d64ea35c03fec43aff64eaf704dc5a9eb30a) Thanks [@Princesseuh](https://github.com/Princesseuh)! - Remove support for Node 14. Minimum supported Node version is now >=16.12.0

</details>

## 1.0.2

### Patch Changes
Expand Down
109 changes: 57 additions & 52 deletions packages/astro-rss/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,83 +6,88 @@

- [#5851](https://github.com/withastro/astro/pull/5851) [`81dce94f2`](https://github.com/withastro/astro/commit/81dce94f2a6db598bd9e47fc2a4b9d713e58f286) Thanks [@bholmesdev](https://github.com/bholmesdev)! - Update RSS config for readability and consistency with Astro 2.0.

#### Migration - `import.meta.glob()` handling
- **Migration - `import.meta.glob()` handling**

We have deprecated `items: import.meta.glob(...)` handling in favor of a separate `pagesGlobToRssItems()` helper. This simplifies our `items` configuration option to accept a single type, without losing existing functionality.
We have deprecated `items: import.meta.glob(...)` handling in favor of a separate `pagesGlobToRssItems()` helper. This simplifies our `items` configuration option to accept a single type, without losing existing functionality.

If you rely on our `import.meta.glob()` handling, we suggest adding the `pagesGlobToRssItems()` wrapper to your RSS config:
If you rely on our `import.meta.glob()` handling, we suggest adding the `pagesGlobToRssItems()` wrapper to your RSS config:

```diff
// src/pages/rss.xml.js
import rss, {
+ pagesGlobToRssItems
} from '@astrojs/rss';
```diff
// src/pages/rss.xml.js
import rss, {
+ pagesGlobToRssItems
} from '@astrojs/rss';

export function get(context) {
return rss({
+ items: pagesGlobToRssItems(
import.meta.glob('./blog/*.{md,mdx}'),
+ ),
});
}
```
export function get(context) {
return rss({
+ items: pagesGlobToRssItems(
import.meta.glob('./blog/*.{md,mdx}'),
+ ),
});
}
```

#### New `rssSchema` for content collections
- **New `rssSchema` for content collections**

`@astrojs/rss` now exposes an `rssSchema` for use with content collections. This ensures all RSS feed properties are present in your frontmatter:
`@astrojs/rss` now exposes an `rssSchema` for use with content collections. This ensures all RSS feed properties are present in your frontmatter:

```ts
import { defineCollection } from 'astro:content';
import { rssSchema } from '@astrojs/rss';
```ts
import { defineCollection } from 'astro:content';
import { rssSchema } from '@astrojs/rss';

const blog = defineCollection({
schema: rssSchema,
});
const blog = defineCollection({
schema: rssSchema,
});

export const collections = { blog };
```
export const collections = { blog };
```

## 2.1.0-beta.0

<details>
<summary>See changes in 2.1.0-beta.0</summary>

### Minor Changes

- [#5851](https://github.com/withastro/astro/pull/5851) [`81dce94f2`](https://github.com/withastro/astro/commit/81dce94f2a6db598bd9e47fc2a4b9d713e58f286) Thanks [@bholmesdev](https://github.com/bholmesdev)! - Update RSS config for readability and consistency with Astro 2.0.

#### Migration - `import.meta.glob()` handling
- **Migration - `import.meta.glob()` handling**

We have deprecated `items: import.meta.glob(...)` handling in favor of a separate `pagesGlobToRssItems()` helper. This simplifies our `items` configuration option to accept a single type, without losing existing functionality.

We have deprecated `items: import.meta.glob(...)` handling in favor of a separate `pagesGlobToRssItems()` helper. This simplifies our `items` configuration option to accept a single type, without losing existing functionality.
If you rely on our `import.meta.glob()` handling, we suggest adding the `pagesGlobToRssItems()` wrapper to your RSS config:

If you rely on our `import.meta.glob()` handling, we suggest adding the `pagesGlobToRssItems()` wrapper to your RSS config:
```diff
// src/pages/rss.xml.js
import rss, {
+ pagesGlobToRssItems
} from '@astrojs/rss';

```diff
// src/pages/rss.xml.js
import rss, {
+ pagesGlobToRssItems
} from '@astrojs/rss';
export function get(context) {
return rss({
+ items: pagesGlobToRssItems(
import.meta.glob('./blog/*.{md,mdx}'),
+ ),
});
}
```

export function get(context) {
return rss({
+ items: pagesGlobToRssItems(
import.meta.glob('./blog/*.{md,mdx}'),
+ ),
});
}
```
- **New `rssSchema` for content collections**

#### New `rssSchema` for content collections
`@astrojs/rss` now exposes an `rssSchema` for use with content collections. This ensures all RSS feed properties are present in your frontmatter:

`@astrojs/rss` now exposes an `rssSchema` for use with content collections. This ensures all RSS feed properties are present in your frontmatter:
```ts
import { defineCollection } from 'astro:content';
import { rssSchema } from '@astrojs/rss';

```ts
import { defineCollection } from 'astro:content';
import { rssSchema } from '@astrojs/rss';
const blog = defineCollection({
schema: rssSchema,
});

const blog = defineCollection({
schema: rssSchema,
});
export const collections = { blog };
```

export const collections = { blog };
```
</details>

## 2.0.0

Expand Down
Loading