Age | Commit message (Collapse) | Author | Files | Lines |
|
|
|
|
|
|
|
* test: add test with no base
* fix: don't always prepend a forward slash
* chore: changeset
* `'/' + base` ------> `prependForwardSlash(base)`
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
|
|
|
|
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
|
|
|
|
|
|
|
|
|
|
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
|
|
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
|
|
* Add `fetchpriority` to `Picture` types
* Add changeset
|
|
|
|
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
|
|
* 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
|
|
* fix: properly prefix endpoint path with base in SSR
* chore: sssss
* chore: changeset
|
|
|
|
* 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>
|
|
* Fix static site dynamic routes for sitemap integration
* Add changeset
* Update pnpm-lock
* Remove console.log
|
|
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
|
|
* fix middleware typing export
* Update .changeset/new-seals-hear.md
---------
Co-authored-by: Bjorn Lu <bjornlu.dev@gmail.com>
|
|
|
|
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
|
|
(#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
|
|
|
|
* fix README
* add changeset
|
|
|
|
|
|
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
|
|
imported (#6995)
* fix: move service functions from astro/assets to astro/config so people can import it
* chore: changeset
|
|
|
|
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* 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>
|
|
|
|
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
|
|
* 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
|