Chris Swithinbank
faa912fca8
Reformat mdx
2023-01-24 13:30:09 +01:00
Chris Swithinbank
84026a2529
Reinstate h3s for headings
...
Co-authored-by: Ben Holmes <hey@bholmes.dev>
2023-01-24 13:25:49 +01:00
Chris Swithinbank
ef15456bcf
Format webapi
2023-01-24 13:00:01 +01:00
Chris Swithinbank
73a001d7e5
Format telemetry
2023-01-24 12:57:25 +01:00
Chris Swithinbank
799255ba63
Format vue
2023-01-24 12:56:23 +01:00
Chris Swithinbank
65f4b0ee03
Format vercel
2023-01-24 12:54:37 +01:00
Chris Swithinbank
0621875ad0
Format tailwind
2023-01-24 12:53:04 +01:00
Chris Swithinbank
0f79b055ae
Format svelte
2023-01-24 12:49:30 +01:00
Chris Swithinbank
26a8ce31b4
Format solid
2023-01-24 12:45:28 +01:00
Chris Swithinbank
80ab805eba
Format react
2023-01-24 12:41:03 +01:00
Chris Swithinbank
75f2677f6a
Format preact
2023-01-24 12:38:43 +01:00
Chris Swithinbank
96a2dd3177
Format node
2023-01-24 12:34:52 +01:00
Chris Swithinbank
c05346eb08
Format partytown
2023-01-24 12:32:22 +01:00
Chris Swithinbank
e871be6337
Format lit
2023-01-24 12:30:02 +01:00
Chris Swithinbank
4ee7cfb85d
Format cloudflare
2023-01-24 12:26:16 +01:00
Chris Swithinbank
7a36b040c9
Format create-astro
2023-01-24 12:21:53 +01:00
Chris Swithinbank
05cf311128
Format astro-rss
2023-01-24 12:19:34 +01:00
Chris Swithinbank
42edcdeeef
Format astro-prism
2023-01-24 12:17:35 +01:00
Chris Swithinbank
453d171114
Tweak markdown/remark formatting
2023-01-24 12:07:00 +01:00
Sarah Rainsberger
806f202d28
markdown/remark incl (5684 & 5769) to match mdx
2023-01-24 01:16:22 +00:00
Sarah Rainsberger
56d2b8c760
combine 5584 and 5842 in deno, image, netlify
2023-01-24 01:04:07 +00:00
Sarah Rainsberger
f8abae2e03
mdx changes from Sarah
2023-01-24 00:44:27 +00:00
Chris Swithinbank
1131a6b9c7
First pass cleaning up 2.0 release notes
2023-01-24 01:12:45 +01:00
Chris Swithinbank
d9d7d7e37b
Add link to docs upgrade guide
2023-01-24 00:48:53 +01:00
Chris Swithinbank
25aa70a649
Wrap astro 2.0 beta logs in <details>
2023-01-24 00:32:53 +01:00
github-actions[bot]
b7e6ec71d9
[ci] release
2023-01-23 21:32:15 +00:00
Houston (Bot)
a75177f843
[ci] release (beta) ( #5911 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-01-23 16:11:39 -05:00
Ben Holmes
304823811e
[Content Collections] Add slug
frontmatter field ( #5941 )
...
* feat: respect `slug` frontmatter prop
* chore: replace `slug` check with proper types
* fix: regen types on `slug` change
* chore: add TODO on slug gen
* tests: update to use `slug` frontmatter prop
* chore: add error message on `slug` inside object schema
* lint
* chore: add note on frontmatter parse
* refactor: move content errors to new heading
* chore: ContentSchemaContainsSlugError
* chore: changeset
* docs: be 10% less gentle
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
* fix: avoid parsing slug on unlink
* docs: clarify old API is for beta users
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
2023-01-23 15:04:56 -05:00
Nate Moore
f62ec162c2
chore: migrate changelogs from 1-legacy ( #5944 )
...
Co-authored-by: Nate Moore <nate@astro.build>
2023-01-23 13:45:59 -06:00
natemoo-re
12a10fe7c5
[ci] format
2023-01-23 18:05:25 +00:00
Nate Moore
7325df4121
Remove duplicate CSS in dev ( #5917 )
...
* fix(#5817 ): remove duplicate CSS in dev
* chore: add changeset
Co-authored-by: Nate Moore <nate@astro.build>
2023-01-23 12:03:19 -06:00
Bjorn Lu
4987d6f44c
Handle custom injected entry files during build ( #5499 )
2023-01-23 23:00:05 +08:00
matthewp
0d0974722f
[ci] format
2023-01-23 14:49:20 +00:00
Matthew Phillips
f5adbd6b55
Support prerender in Netlify redirects ( #5904 )
...
* Support prerender in Netlify redirects
* Updated sorting algorithm
* Update packages/integrations/netlify/src/shared.ts
Co-authored-by: Bjorn Lu <bjornlu.dev@gmail.com>
Co-authored-by: Bjorn Lu <bjornlu.dev@gmail.com>
2023-01-23 09:47:33 -05:00
Happydev
9e57268f13
fix(@astrojs/tailwind): manually load postcss config file ( #5908 )
2023-01-23 22:46:19 +08:00
Rishi Raj Jain
77ae7a597a
fix: trailingSlash with base breaking partytown file path ( #5936 )
...
* fix: trailingSlash with base breaking partytown file path
* Update index.ts
* Update index.ts
* Update index.ts
* fix lint
* Update index.ts
2023-01-23 09:43:06 -05:00
heyhoe
46ecd5de34
Update magic-string used by @astrojs/image and @astrojs/webapi ( #5930 )
2023-01-22 17:11:19 +08:00
Chris Swithinbank
f32bf07c19
Improve Svelte README ( #5923 )
...
* First stylistic pass
* Rework for x/o instead of and
* fix typo
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
* Add changeset
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
2023-01-21 10:55:19 +01:00
Chris Swithinbank
f27bb3d79f
Improve error message for third-party template 404s ( #5920 )
2023-01-21 00:04:39 +01:00
natemoo-re
ad13467a84
[ci] format
2023-01-20 14:54:53 +00:00
Reuben Tier
d8919b1a21
Add headless support to create-astro ( #5898 )
...
* Add headless support to create-astro
* Document new flags for create-astro
2023-01-20 08:53:12 -06:00
Erika
fffcd3ca86
chore(webapi): Remove unused file ( #5916 )
2023-01-20 15:52:48 +01:00
Bjorn Lu
a8d3e79246
Fix CLI node version check ( #5905 )
2023-01-20 15:37:42 +08:00
Caleb Jasik
5fd9208d44
Update compiler to 1.0.1 ( #5909 )
...
* Update compiler to 1.0.1
* Add changeset
2023-01-19 13:51:45 -05:00
Hoston (Bot)
9ddb7a2f2e
[ci] release (beta) ( #5906 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-01-19 11:40:44 -05:00
bholmesdev
1d37ab4f9f
[ci] format
2023-01-19 16:27:24 +00:00
Ben Holmes
81dce94f2a
[RSS] Get ready for content collections ( #5851 )
...
* chore: strictNullChecks for zod
* feat: expose `rssSchema` helper
* refactor: align types with schema types
* feat: break glob handler to globToRssItems util
* refactor: RSS options validation to Zod
* refactor: avoid intermediate type
* fix: allow numbers and dates in pubDate
* test: update glob and error tests
* feat: add rss to with-content starter
* fix: move globToRssItems back to internal behavior
* chore: JSON.stringify
* Revert "fix: move globToRssItems back to internal behavior"
This reverts commit 85305075e6444907455541b24bccbccd5016951a.
* test: missing url
* docs: `import.meta.env.SITE` -> `context.site`
* docs: update README to content collections example
* fix: url -> link
* docs: add `rssSchema` to README
* chore: consistent formatting
* docs: add `pagesGlobToRssItems()` reference
* chore: globToRssItems -> pagesGlobToRssItems
* chore: changeset
* fix: bad docs line highlighting
* fix: add collections export to example
* nit: remove "our"
* fix: are -> all
* fix: more README edits
* deps: kleur
* chore: add back import.meta.glob handling as deprecated
* docs: bump down to `minor`, update headline to be less content collections-y
* typo: suggest adding
* chore: support URL object on `site`
* docs: add await to pagesGlob ex
* docs: tighten `rssSchema` explainer
* docs: tighten pagesGlobToRssItems section
* docs: add content to README
* docs: replace examples with docs link
* docs: re-we
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
2023-01-19 11:24:55 -05:00
Hoston (Bot)
97267e3881
[ci] release (beta) ( #5856 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-01-19 11:00:03 -05:00
matthewp
e36f310c2c
[ci] format
2023-01-19 13:36:12 +00:00
Matthew Phillips
be901dc98c
Rename getEntry to getEntryBySlug ( #5893 )
...
* Rename getEntry to getEntryBySchema
* Improve entrySlug types and return undefined
* Add changeset
* Update packages/astro/src/content/template/types.d.ts
Co-authored-by: Ben Holmes <hey@bholmes.dev>
* Update the types to accept both raw string and known value
* Add comment on the implementation not currently being O(1)
Co-authored-by: Ben Holmes <hey@bholmes.dev>
2023-01-19 08:34:27 -05:00