summaryrefslogtreecommitdiff
path: root/packages (follow)
AgeCommit message (Collapse)AuthorFilesLines
2023-05-16[ci] formatGravatar bluwy 2-3/+3
2023-05-16Add `workerd` and `worker` to cloudflare adapter bundling (#7092)Gravatar Johannes Spohr 8-277/+68
2023-05-16Fix e2e flaky tests (#7084)Gravatar Bjorn Lu 12-120/+230
2023-05-15Fix double prepended forward slash in certain cases (#7091)Gravatar Happydev 2-46/+93
* test: add test with no base * fix: don't always prepend a forward slash * chore: changeset * `'/' + base` ------> `prependForwardSlash(base)`
2023-05-15[ci] formatGravatar bluwy 1-1/+4
2023-05-15Escape closing script tag when using define:vars (#7044)Gravatar Steffan 3-3/+10
2023-05-15[ci] formatGravatar bluwy 3-3/+3
2023-05-15Inject analytics env (#6876)Gravatar Nathaniel Blackburn 4-0/+30
2023-05-15[ci] formatGravatar bluwy 2-12/+15
2023-05-15RSS: Fix string validation of pubDate (#7066)Gravatar Reuben Tier 2-1/+14
2023-05-15[ci] release (#7088)create-astro@3.1.5Gravatar Houston (Bot) 2-1/+7
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-05-15Fix `create-astro` regression (#7086)Gravatar Happydev 1-9/+0
2023-05-12[ci] release (#7077)create-astro@3.1.4@astrojs/node@5.1.3Gravatar Houston (Bot) 4-2/+14
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-05-12[ci] formatGravatar ematipico 1-1/+1
2023-05-12fix: don't exit the program if dependencies don't install (#7052)Gravatar Emanuele Stoppa 2-7/+20
2023-05-12[ci] formatGravatar matthewp 2-5/+5
2023-05-12Correct handle directory finds when using base in the Node adapter (#7076)Gravatar Matthew Phillips 2-4/+19
2023-05-11[ci] release (#7065)astro@2.4.5@astrojs/image@0.16.8Gravatar Houston (Bot) 13-12/+29
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-05-11fix(image): Fix astro:assets from interfering with SSR query params ending ↵Gravatar Erika 3-2/+44
with image extensions (#7055) * fix(image): Fix `astro:assets` from interfering with SSR query params ending with image extensions * test: add test * nit: nit * chore: changeset
2023-05-11`@astrojs/image`: Add `fetchpriority` to `Picture` types (#7059)Gravatar Caleb Jasik 1-2/+2
* Add `fetchpriority` to `Picture` types * Add changeset
2023-05-11fix: don't require 'paths' object in tsconfig to alias paths (#7000)Gravatar Craig Jennings 14-21/+216
2023-05-09[ci] release (#7043)astro@2.4.4@astrojs/sitemap@1.3.1@astrojs/markdoc@0.1.3Gravatar Houston (Bot) 15-13/+36
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-05-09[Markdoc] Validation and debugging improvements (#7045)Gravatar Ben Holmes 4-27/+57
* feat: better validation logs * chore: add warning to restart server on config chnage * feat: expose Markdoc global from markdoc/config * docs: update `nodes` reference * chore: changeset * docs: simplify headings explainer * chore: ignore eslint log errors * fix: make legacyConfig prop optional
2023-05-09fix: properly prefix endpoint path with base in SSR (#7047)Gravatar Erika 2-1/+23
* fix: properly prefix endpoint path with base in SSR * chore: sssss * chore: changeset
2023-05-09[ci] formatGravatar bholmesdev 3-11/+10
2023-05-09[Content collections] Fast `getEntryBySlug()` lookup (#6916)Gravatar Ben Holmes 8-107/+263
* feat: add generated lookup-map * feat: wire up fast getEntryBySlug() lookup * fix: consider frontmatter slugs * chore: changeset * chore: lint no-shadow * fix: revert bad rootRelativePath change * chore: better var name * refactor: generated `.json` to in-memory map * chore: removed unneeded await Co-authored-by: Bjorn Lu <bjornlu.dev@gmail.com> * chore: removed unneeded await Co-authored-by: Bjorn Lu <bjornlu.dev@gmail.com> * Revert "chore: removed unneeded await" This reverts commit 1b0a8b00c2eca631a1b1005c256509295a414eef. * fix: bad `GetEntryImport` type * chore: remove unused variable * refactor: for -> Promise.all * refactor: replace duplicate parseSlug * refactor: add cache layer * Revert "refactor: add cache layer" This reverts commit 1c3bfdc6b32450fab56f80cc840193b6a46c8776. * refactor: add comment, move to virtual-mod * chore: add jsdocs * refactor: fiiiiine no more `??=` * fix: ignore underscore files in lookup map * chore: add unknowncollectionerror on bad file contents --------- Co-authored-by: Bjorn Lu <bjornlu.dev@gmail.com>
2023-05-08Fix generation for routes defined using getStaticPaths (#7029)Gravatar Reuben Tier 6-5/+342
* Fix static site dynamic routes for sitemap integration * Add changeset * Update pnpm-lock * Remove console.log
2023-05-08[ci] release (#7037)astro@2.4.3Gravatar Houston (Bot) 12-11/+19
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-05-08fix middleware typing export (#7032)Gravatar Raul Melo 1-0/+3
* fix middleware typing export * Update .changeset/new-seals-hear.md --------- Co-authored-by: Bjorn Lu <bjornlu.dev@gmail.com>
2023-05-08Fix `astro:assets` SSR error (#7034)Gravatar Bjorn Lu 1-0/+2
2023-05-05[ci] release (#7005)astro@2.4.2@astrojs/partytown@1.2.1Gravatar Houston (Bot) 14-12/+26
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-05-05fix(middleware): emit warning if `next` is called and nothing is returned ↵Gravatar Emanuele Stoppa 7-6/+61
(#7010) * fix(middleware): emit warning if `next` is called and nothing is returned * chore: add test case * chore: changeset * chore: restore code, ooops! * chore: change logic * change namespace
2023-05-05fix: declare namespace so client-base.d.ts stays an ambient definition (#7009)Gravatar Erika 2-7/+10
2023-05-05Fix `partytown` README (#7001)Gravatar Waxer59 1-1/+1
* fix README * add changeset
2023-05-04Update astro.ts (#6999)Gravatar Sarah Rainsberger 1-2/+2
2023-05-04Fix formatting problem in experimental feature docs (#6997)Gravatar Matthew Phillips 1-0/+3
2023-05-04[ci] release (#6996)astro@2.4.1Gravatar Houston (Bot) 12-11/+17
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-05-04fix: move service functions from astro/assets to astro/config so it can be ↵Gravatar Erika 3-16/+26
imported (#6995) * fix: move service functions from astro/assets to astro/config so people can import it * chore: changeset
2023-05-04Fix scopedStyleStrategy description (#6994)Gravatar Matthew Phillips 1-1/+1
2023-05-04[ci] release (#6977)astro@2.4.0@astrojs/sitemap@1.3.0@astrojs/react@2.1.3@astrojs/mdx@0.19.1@astrojs/markdown-remark@2.2.0@astrojs/markdoc@0.1.2Gravatar Houston (Bot) 21-19/+141
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-05-04Add caching for optimized images (#6990)Gravatar Erika 5-13/+122
2023-05-04[ci] formatGravatar ematipico 4-7/+7
2023-05-04Generate unique ids within each React island (#6976)Gravatar Robin Neal 6-14/+66
2023-05-04Rename some test files to end with .test.js (#6983)Gravatar Bjorn Lu 4-0/+0
2023-05-03Fixed scopedStyleStrategy version (#6980)Gravatar Matthew Phillips 1-1/+1
2023-05-03[ci] formatGravatar matthewp 7-23/+14
2023-05-03feature: configuration for css inlining behavior (#6659)Gravatar Arsh 47-309/+1331
* feature(inline stylesheets): implement as experimental * test: rename css-inline -> css-import-as-inline * test(content collections): add de-duplication of css * test: add new suite for inlineStylesheets configuration * fix(inline stylesheets): did not act on propagated styles * hack(inline stylesheets testing): duplicate fixtures Content collections reuses build data across multiple fixture.builds, even though a configuration change may have changed it. Duplicating fixtures avoids usage of the stale cache. https://cdn.discordapp.com/attachments/1039830843440504872/1097795182340092024/Screenshot_87_colored.png * refactor(css plugin): reduce nesting * optimization(css rendering): merge <style> tags Chrome, but not Safari or Firefox, is slower to match rules when they are split across multiple files or style tags. https://nolanlawson.com/2022/06/22/style-scoping-versus-shadow-dom-which-is-fastest/ Having the abiility to inline stylesheets opens us up to this optimization. Ideally, it would extend to propagated styles, but that ended up being a rabbit hole. * typedocs(inlineStylesheets config): ensure consistency Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca> * chore(build internals): update comment * correct minor mistake in test * test(inline stylesheets): unique package names for duplicate fixtures * refactor(css build plugin): maps -> records * refactor(css build plugin): remove use of spread operator --------- Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
2023-05-03fix: double test names (#6978)Gravatar Emanuele Stoppa 1-1/+1
2023-05-03feat(astro): experimental middleware (#6721)Gravatar Emanuele Stoppa 54-129/+1183
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
2023-05-03Sitemap: support SSR routes (#6534)Gravatar Atila Fassina 7-18/+96
* feat(sitemap): support SSR generated routes * feat(sitemap): add changeset for SSR support * refactor: move logic to `astro:build:done` * generate route to obey `trailingSlash` setting * add logic to respect "directory" build format * integration(sitemap): add unit test for ssr support