summaryrefslogtreecommitdiff
path: root/docs/src
ModeNameSize
d---------components304logplain
-rw-r--r--config.ts6899logplainblame
d---------data82logplain
d---------layouts90logplain
d---------pages926logplain
-rw-r--r--util.ts450logplainblame
n='5' class='logmsg'> 2023-06-05feat: remove experimental flag middleware (#7109)Gravatar Emanuele Stoppa 16-83/+45 * fix: middleware for API endpoints * feat: remove experimental flag middleware * chore: rebase and update * chore: check if physical file exists * chore: restore change * merge * merge * fix: remove options, not needed * remove experimental from types * chore: don't have the middleware inside the manifest * Update how redirects work, slightly --------- Co-authored-by: Matthew Phillips <matthew@skypack.dev> 2023-06-05[ci] formatGravatar Princesseuh 1-1/+1 2023-06-05fix(html): Export HTML components as default export so their type is valid ↵Gravatar Erika 4-9/+12 JSX (#7296) Co-authored-by: Bjorn Lu <bjornlu.dev@gmail.com> 2023-06-05[ci] formatGravatar matthewp 1-1/+1 2023-06-05Stabilize inline stylesheets (#7180)Gravatar Arsh 5-34/+61 * changeset * chore(inline stylesheets config): stabilize * grammar * not a major change * Update inlineStylesheets version in the configuration reference Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca> --------- Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca> 2023-06-05[ci] formatGravatar matthewp 33-202/+225 2023-06-05Redirects (#7067)Gravatar Matthew Phillips 70-319/+1733 * Redirects spike * Allow redirects in static mode * Support in Netlify as well * Adding a changeset * Rename file * Fix build problem * Refactor to be more modular * Fix location ref * Late test should only run in SSR * Support redirects in Netlify SSR configuration (#7167) * Implement support for dynamic routes in redirects (#7173) * Implement support for dynamic routes in redirects * Remove the .only * No need to special-case redirects in static build * Implement support for redirects config in the Vercel adapter (#7182) * Implement support for redirects config in the Vercel adapter * Remove unused condition * Move to a internal helper package * Add support for the object notation in redirects * Use status 308 for non-GET redirects (#7186) * Implement redirects in Cloudflare (#7198) * Implement redirects in Cloudflare * Fix build * Update tests b/c of new ordering * Debug issue * Use posix.join * Update packages/underscore-redirects/package.json Co-authored-by: Emanuele Stoppa <my.burning@gmail.com> * Update based on review comments * Update broken test --------- Co-authored-by: Emanuele Stoppa <my.burning@gmail.com> * Test that redirects can come from middleware (#7213) * Test that redirects can come from middleware * Allow non-promise returns for middleware * Implement priority (#7210) * Refactor * Fix netlify test ordering * Fix ordering again * Redirects: Allow preventing the output of the static HTML file (#7245) * Do a simple push for priority * Adding changesets * Put the implementation behind a flag. * Self review * Update .changeset/chatty-actors-stare.md Co-authored-by: Chris Swithinbank <swithinbank@gmail.com> * Update packages/astro/src/@types/astro.ts Co-authored-by: Chris Swithinbank <swithinbank@gmail.com> * Update packages/astro/src/@types/astro.ts Co-authored-by: Chris Swithinbank <swithinbank@gmail.com> * Update packages/astro/src/@types/astro.ts Co-authored-by: Chris Swithinbank <swithinbank@gmail.com> * Update packages/astro/src/@types/astro.ts Co-authored-by: Chris Swithinbank <swithinbank@gmail.com> * Update docs on dynamic restrictions. * Update packages/astro/src/@types/astro.ts Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca> * Update packages/astro/src/@types/astro.ts Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca> * Code review changes * Document netlify static adapter * Update packages/astro/src/@types/astro.ts Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca> * Slight reword * Update .changeset/twenty-suns-vanish.md Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca> * Add a note about public/_redirects file * Update packages/astro/src/@types/astro.ts Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca> --------- Co-authored-by: Emanuele Stoppa <my.burning@gmail.com> Co-authored-by: Chris Swithinbank <swithinbank@gmail.com> Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca> Co-authored-by: Nate Moore <natemoo-re@users.noreply.github.com> 2023-06-05Fixes cookies being set by middleware (#7294)Gravatar Matthew Phillips 6-1/+19 * Fixes cookies being set by middleware * Adding a changeset 2023-06-05[ci] formatGravatar bluwy 3-6/+28 2023-06-05remove the white space after the doctype according to the property co… (#7242)Gravatar Jerry_wu 5-9/+18 2023-06-05Simplify Deno test (#7276)Gravatar Bjorn Lu 3-105/+37 2023-06-02[ci] release (#7278)create-astro@3.1.6Gravatar Houston (Bot) 3-6/+7 Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> 2023-06-02Add 'starlight' as template alias (#7277)Gravatar Nate Moore 2-3/+12 * feat(create-astro): add starlight as template alias * chore: lint 2023-06-02[ci] release (#7254)astro@2.5.7@astrojs/sitemap@1.3.3@astrojs/mdx@0.19.6@astrojs/markdoc@0.3.1Gravatar Houston (Bot) 25-56/+53 Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> 2023-06-02Run example check in parallel with 5 at most (#7275)Gravatar Bjorn Lu 3-5/+17 2023-06-02Fix Vitest with content collections (#7233)Gravatar Bjorn Lu 3-0/+54 2023-06-02Content collections: ignored underscore directories in file glob (#7268)Gravatar Ben Holmes 2-6/+23 * fix: ignored underscore dirs in glob * chore: changeset 2023-06-02[ci] formatGravatar bluwy 1-1/+1 2023-06-02fix(astro/core/app/node): support http2 requests (#7215)Gravatar Benjamin MENANT 2-3/+9 2023-06-02Parallel array rendering (#7136)Gravatar Johannes Spohr 5-16/+33 2023-06-02[ci] formatGravatar bluwy 1-8/+10 2023-06-02Fix sitemap filter (#7263)Gravatar André Alves 4-2/+54 2023-06-01Fix duplicate `semver minor` blocks (#7269)Gravatar Nate Moore 1-12/+11 * chore(action): fix duplicate blocks * chore(action): fix block logic 2023-06-01fix: build fail upon have 'process.env' in *.md file. (#7257)Gravatar Thiti Yamsung 2-1/+8 2023-05-31[ci] formatGravatar bholmesdev 4-6/+5 2023-05-31Markdoc asset bleed, second try (#7185)Gravatar Ben Holmes 28-131/+653 * Revert "revert: markdoc asset bleed (#7178)" This reverts commit 57e65d247f67de61bcc3a585c2254feb61ed2e74. * fix: missing result param on `renderUniqueStylesheet` * test: bundled styles (fails!) * fix: use `type: 'external'` for links * fix: split Astro components from markdoc config * test: style bleed (it fails...) * chore: remove unused util * fix: revert entry change * Stop traversing the graph when you encounter a propagated asset * chore: cleanup unused `entry` prop * refactor: add isPropagatedAssetsMod check * chore: remove unused import * chore: changeset * Normalize path using vite * Update packages/integrations/markdoc/src/index.ts Co-authored-by: Ben Holmes <hey@bholmes.dev> --------- Co-authored-by: Matthew Phillips <matthew@skypack.dev> Co-authored-by: bholmesdev <bholmesdev@gmail.com> Co-authored-by: Matthew Phillips <matthew@matthewphillips.info> 2023-05-31Fix `semver minor` action (#7261)Gravatar Nate Moore 1-38/+36 * Update check-merge.yml * chore: update action * chore(action): better check if block exists * chore(action): update check-merge action 2023-05-31Revert "feat(hybrid): unflag hybrid output (#7255)" (#7259)Gravatar Nate Moore 29-65/+139 This reverts commit bc5d6ed39faf2f73eab161774bf66ebc5fd00db2. 2023-05-31[ci] formatGravatar natemoo-re 3-13/+8 2023-05-31feat(hybrid): unflag hybrid output (#7255)Gravatar Nate Moore 29-130/+61 2023-05-31Markdoc: strip HTML comments from output (#7224)Gravatar Ben Holmes 2-1/+13 * feat: strip HTML comments from output * chore: changeset 2023-05-30Fix out-of-date example dependencies (#7248)Gravatar Ben Holmes 33-198/+211 * revert changeset patch * deps: bump astro across examples * deps: bump @astrojs packages across examples * deps: bump @astrojs/markdoc 2023-05-30[ci] release (#7190)astro@2.5.6@astrojs/webapi@2.2.0@astrojs/vue@2.2.1@astrojs/vercel@3.4.1@astrojs/sitemap@1.3.2@astrojs/react@2.2.1@astrojs/preact@2.2.1@astrojs/partytown@1.2.3@astrojs/mdx@0.19.5@astrojs/markdoc@0.3.0Gravatar Houston (Bot) 48-171/+216 Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> 2023-05-30Content collections - fix `.json` collection errors (#7246)Gravatar Ben Holmes 4-7/+52 * fix: avoid error on collectionType === 'unknown' * fix: ignore underscores in file globs * chore: clarify [!_] * fix: mismatch error not throwing * fix: bad collectionType var * test: no error for empty collection * chore: changeset 2023-05-30[ci] formatGravatar bholmesdev 4-5/+5 2023-05-30Markdoc - remove `$entry` variable (#7244)Gravatar Ben Holmes 16-257/+217 * refactor: remove entry prop from `getRenderModule()` * refactor: remove `$entry` from markdoc * test: update entry-prop -> variables test * refactor: unify `getEntryConfigByExt` * chore: clean up shared content / data get logic * docs: update `$entry` recommendation * chore: rename entry-prop -> variables * chore: changeset * chore: missed a spot 2023-05-30Markdoc: new README for Markdoc nodes (#7225)Gravatar Ben Holmes 1-46/+85 * docs: all-new nodes documentation * edit: `.astro` ONLY Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca> * edit: `.` outside links, line break Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca> * edit: such as, not like Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca> * edit: more Astro less probs Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca> * edit: reviewers React to Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca> * edit: tagz Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca> * chore: add `default: 'article'` for document * edit: reword client-side instructions * edit: prism stylesheet got lost * fix: heading -> blockquote --------- Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca> 2023-05-30[ci] formatGravatar MoustaphaDev 1-1/+1 2023-05-30fix: prioritize dynamic prerendered routes over dynamic server routes (#7235)Gravatar Happydev 6-19/+361 * test: add unit tests * fix: prioritize prerendered routes * chore: fix test * add comment * test: try avoiding race condition * chore: changeset * try avoiding race conditions attempt #2 * try avoiding race conditions (attempt 3) * final fix hopefuly * tet: add more tests * sort conflicting dynamic routes aplhabetically * test: fix test 2023-05-30[ci] formatGravatar matthewp 1-5/+8 2023-05-30Bug 6672 (#7062)Gravatar wulinsheng123 10-0/+138 * fix miss a head when the templaterender has a promise * fix * add some test * test files move to md directory * fix add * delect file --------- Co-authored-by: wuls <linsheng.wu@beantechs.com>