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

WIP [Content Collections] Fix script bleed in prod builds #6047

Closed
wants to merge 49 commits into from

Commits on Jan 30, 2023

  1. Configuration menu
    Copy the full SHA
    0577e4e View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    d556df7 View commit details
    Browse the repository at this point in the history
  3. chore: stray console logs

    bholmesdev committed Jan 30, 2023
    Configuration menu
    Copy the full SHA
    6e904db View commit details
    Browse the repository at this point in the history
  4. chore: unskip

    bholmesdev committed Jan 30, 2023
    Configuration menu
    Copy the full SHA
    7f4529f View commit details
    Browse the repository at this point in the history

Commits on Feb 3, 2023

  1. Handle invalid argument errors (#6045)

    * fix: add error handling for invalid arguments
    
    * chore: add changeset
    
    * Update packages/astro/src/core/errors/errors-data.ts
    
    Co-authored-by: Yan Thomas <61414485+Yan-Thomas@users.noreply.github.com>
    
    ---------
    
    Co-authored-by: Nate Moore <nate@astro.build>
    Co-authored-by: Yan Thomas <61414485+Yan-Thomas@users.noreply.github.com>
    3 people authored and matthewp committed Feb 3, 2023
    Configuration menu
    Copy the full SHA
    0f007f3 View commit details
    Browse the repository at this point in the history
  2. [ci] format

    natemoo-re authored and matthewp committed Feb 3, 2023
    Configuration menu
    Copy the full SHA
    7418ce4 View commit details
    Browse the repository at this point in the history
  3. [ci] release (#6041)

    Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
    2 people authored and matthewp committed Feb 3, 2023
    Configuration menu
    Copy the full SHA
    7de72f3 View commit details
    Browse the repository at this point in the history
  4. Fix GetPictureResult interface (#5894)

    ralacerda authored and matthewp committed Feb 3, 2023
    Configuration menu
    Copy the full SHA
    dc37849 View commit details
    Browse the repository at this point in the history
  5. fix(image): allow usage of image from any directory (#5932)

    Currently, @astrojs/image allows *importing* images from srcDir
    only. Importing images from outside srcDir fails miserably *in dev
    mode* and produces incorrect src.
    
    This happens because `path.relative(fileURLToPath(config.srcDir), id)`
    resolves to "../something" and when joined with '/@astroimage' cancels
    it out (`join('/@astroimage', '../../something')` => `'/something'`).
    
    Rework /@astroimage URL scheme to be similar to "/@fs/" scheme—always
    export absolute path to the target file.
    rasendubi authored and matthewp committed Feb 3, 2023
    Configuration menu
    Copy the full SHA
    c54a115 View commit details
    Browse the repository at this point in the history
  6. [ci] format

    matthewp committed Feb 3, 2023
    Configuration menu
    Copy the full SHA
    31820e4 View commit details
    Browse the repository at this point in the history
  7. error overlay: show cause if available (#6052)

    * show `cause` in error overlay
    
    * add extra check for string
    
    * add changeset
    mayank99 authored and matthewp committed Feb 3, 2023
    Configuration menu
    Copy the full SHA
    bbe50ec View commit details
    Browse the repository at this point in the history
  8. [ci] format

    Princesseuh authored and matthewp committed Feb 3, 2023
    Configuration menu
    Copy the full SHA
    680e235 View commit details
    Browse the repository at this point in the history
  9. Revert MDX README changes (#6062)

    delucis authored and matthewp committed Feb 3, 2023
    Configuration menu
    Copy the full SHA
    0c3c216 View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    81f6ece View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    6daf548 View commit details
    Browse the repository at this point in the history
  12. [MDX] Syntax highlighting after user plugins (#6050)

    * fix: load MDX syntax highlighting after user plugins
    
    * chore: changeset
    bholmesdev authored and matthewp committed Feb 3, 2023
    Configuration menu
    Copy the full SHA
    9af39e7 View commit details
    Browse the repository at this point in the history
  13. Add links to sharp docs in @astro/image README (#6017)

    Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
    2 people authored and matthewp committed Feb 3, 2023
    Configuration menu
    Copy the full SHA
    6a4262f View commit details
    Browse the repository at this point in the history
  14. Add required alt to Picture example (#6074)

    Co-authored-by: BryceRussell <19967622+BryceRussell@users.noreply.github.com>
    2 people authored and matthewp committed Feb 3, 2023
    Configuration menu
    Copy the full SHA
    4f5b224 View commit details
    Browse the repository at this point in the history
  15. Configuration menu
    Copy the full SHA
    6386abd View commit details
    Browse the repository at this point in the history
  16. [Lit] Fix hydration not having the same reactive values as server (#6080

    )
    
    * Fix lit hydration not having the same reactive values
    
    * add changeset
    
    * add clientEntrypoint to package exports
    
    * update tests
    
    * add changeset
    
    * only add defer-hydration when strictly necessary
    
    * remove second changest
    
    * fix test typos
    e111077 authored and matthewp committed Feb 3, 2023
    Configuration menu
    Copy the full SHA
    262a24b View commit details
    Browse the repository at this point in the history
  17. [ci] format

    matthewp committed Feb 3, 2023
    Configuration menu
    Copy the full SHA
    7747f00 View commit details
    Browse the repository at this point in the history
  18. fix: Failed to execute 'encode' on 'TextEncoder': parameter 1 is not …

    …of type 'String' in Edge Runtime SSR (#6070)
    
    * minor fixes for errors related to vercel SSR in core
    
    * yielding empty string instead of nothing, to not exit the iterator
    
    ---------
    
    Co-authored-by: AirBorne04 <>
    AirBorne04 authored and matthewp committed Feb 3, 2023
    Configuration menu
    Copy the full SHA
    1126c75 View commit details
    Browse the repository at this point in the history
  19. [ci] format

    bholmesdev authored and matthewp committed Feb 3, 2023
    Configuration menu
    Copy the full SHA
    a784e60 View commit details
    Browse the repository at this point in the history
  20. [Content collections] Apply MDX components on render (#6064)

    * fix: apply MDX components during render()
    
    * test: MDX components export in SSG and SSR
    
    * chore: changeset
    bholmesdev authored and matthewp committed Feb 3, 2023
    Configuration menu
    Copy the full SHA
    80dc1a5 View commit details
    Browse the repository at this point in the history
  21. [ci] update lockfile (#6060)

    Co-authored-by: FredKSchott <FredKSchott@users.noreply.github.com>
    2 people authored and matthewp committed Feb 3, 2023
    Configuration menu
    Copy the full SHA
    7944d28 View commit details
    Browse the repository at this point in the history
  22. [Lit] Forwards compatiblity for streaming Declarative Shadow DOM (#6055)

    * Forwards compatiblity for streaming DSD
    
    * add shadowrootmode
    
    * update tests
    
    * add changeset
    e111077 authored and matthewp committed Feb 3, 2023
    Configuration menu
    Copy the full SHA
    b5c6a93 View commit details
    Browse the repository at this point in the history
  23. [ci] format

    matthewp committed Feb 3, 2023
    Configuration menu
    Copy the full SHA
    095158b View commit details
    Browse the repository at this point in the history
  24. [ci] release (#6048)

    Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
    2 people authored and matthewp committed Feb 3, 2023
    Configuration menu
    Copy the full SHA
    e88ea2c View commit details
    Browse the repository at this point in the history
  25. Fix incorrent encoded when path has other language characters (#6088)

    * fix: Incorrent encoded when path has Chinese
    
    * chore: exec changeset
    QingXia-Ela authored and matthewp committed Feb 3, 2023
    Configuration menu
    Copy the full SHA
    a84e934 View commit details
    Browse the repository at this point in the history
  26. Move @netlify/functions to be a dep (#6090)

    * Move @netlify/functions to be a de
    
    * Adding a changeset
    matthewp committed Feb 3, 2023
    Configuration menu
    Copy the full SHA
    af4dc9f View commit details
    Browse the repository at this point in the history
  27. [ci] release (#6089)

    Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
    2 people authored and matthewp committed Feb 3, 2023
    Configuration menu
    Copy the full SHA
    2934c3a View commit details
    Browse the repository at this point in the history
  28. fix: solidjs integration for vercel edge build (adopting same mechani…

    …cs as cloudflare) (#6085)
    
    * fix solidjs integration for vercel deployment
    
    * downgrade change to patch
    
    ---------
    
    Co-authored-by: AirBorne04 <>
    AirBorne04 authored and matthewp committed Feb 3, 2023
    Configuration menu
    Copy the full SHA
    39aae03 View commit details
    Browse the repository at this point in the history
  29. [ci] format

    bholmesdev authored and matthewp committed Feb 3, 2023
    Configuration menu
    Copy the full SHA
    a342882 View commit details
    Browse the repository at this point in the history
  30. [ci] update lockfile (#6100)

    Co-authored-by: FredKSchott <FredKSchott@users.noreply.github.com>
    2 people authored and matthewp committed Feb 3, 2023
    Configuration menu
    Copy the full SHA
    631a773 View commit details
    Browse the repository at this point in the history
  31. chore: bump vitefu for @astrojs/solid-js (#6104)

    Co-authored-by: Yasser Hennawi <yasser.hennawi@nordsec.com>
    2 people authored and matthewp committed Feb 3, 2023
    Configuration menu
    Copy the full SHA
    cd425bf View commit details
    Browse the repository at this point in the history
  32. Prevent eager rendering of head content in multi-level MDX layout (#6107

    )
    
    * Prevent eager rendering of head content in multi-level MDX layout
    
    * Adding a changeset
    
    * Remove old comment
    
    * Keep track of slot position as well
    matthewp committed Feb 3, 2023
    Configuration menu
    Copy the full SHA
    c8d601e View commit details
    Browse the repository at this point in the history
  33. [ci] format

    matthewp committed Feb 3, 2023
    Configuration menu
    Copy the full SHA
    ac487a4 View commit details
    Browse the repository at this point in the history
  34. [ci] release (#6094)

    Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
    2 people authored and matthewp committed Feb 3, 2023
    Configuration menu
    Copy the full SHA
    a1966ff View commit details
    Browse the repository at this point in the history
  35. Configuration menu
    Copy the full SHA
    331e394 View commit details
    Browse the repository at this point in the history
  36. Node adapter: handle prerendering and serving with query params (#6110)

    * Node adapter: handle prerendering and serving with query params
    
    * Adding a changeset
    matthewp committed Feb 3, 2023
    Configuration menu
    Copy the full SHA
    3ec76dc View commit details
    Browse the repository at this point in the history
  37. [ci] format

    matthewp committed Feb 3, 2023
    Configuration menu
    Copy the full SHA
    f4cb1b7 View commit details
    Browse the repository at this point in the history
  38. [ci] release (#6109)

    Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
    2 people authored and matthewp committed Feb 3, 2023
    Configuration menu
    Copy the full SHA
    d04dbdf View commit details
    Browse the repository at this point in the history
  39. Fix scanning sourcemap handling (#6114)

    bluwy authored and matthewp committed Feb 3, 2023
    Configuration menu
    Copy the full SHA
    91b3307 View commit details
    Browse the repository at this point in the history
  40. Refactor build into plugins (#6077)

    * Refactor build into plugins
    
    * maybe fix internals
    
    * Await post-build hooks
    
    * Use extendManualChunks
    
    * Remove commented out code
    matthewp committed Feb 3, 2023
    Configuration menu
    Copy the full SHA
    ffd09a9 View commit details
    Browse the repository at this point in the history
  41. [ci] format

    matthewp committed Feb 3, 2023
    Configuration menu
    Copy the full SHA
    f1b42d8 View commit details
    Browse the repository at this point in the history
  42. [ci] update lockfile (#6115)

    Co-authored-by: FredKSchott <FredKSchott@users.noreply.github.com>
    2 people authored and matthewp committed Feb 3, 2023
    Configuration menu
    Copy the full SHA
    70342a8 View commit details
    Browse the repository at this point in the history
  43. updated

    matthewp committed Feb 3, 2023
    Configuration menu
    Copy the full SHA
    5885a7e View commit details
    Browse the repository at this point in the history
  44. chore: clarify analyzer comments

    bholmesdev authored and matthewp committed Feb 3, 2023
    Configuration menu
    Copy the full SHA
    0ae1c91 View commit details
    Browse the repository at this point in the history
  45. Configuration menu
    Copy the full SHA
    0d57caf View commit details
    Browse the repository at this point in the history