0
Fork 0
mirror of https://github.com/withastro/astro.git synced 2025-01-06 22:10:10 -05:00
astro/.changeset
Oliver Speir 91f75afbc6
Add inferSize to getImage so width and height are optional for remote images (#9976)
* add remote image dimension probing, and param for getImage options, and new astro error

* add inferSize parameter to getImage, which probes remote image size, and respective types to picture and image component

* add fixture and tests

* add changeset

* attempt to fix pnpm-lock.yaml

* fix pnpm-lock.yaml again

* pnpm-lock spacing

* fix pnpm-lock AGAIN

* better description of error for docgen

* improve failed to probe error message and correct required dimensions error

* increase timeout for mdx tests

* increasing mdx timeout to 2min to see if it passes, will reduce if it does

* setting mdx timeout to 70 seconds

* Update packages/astro/src/assets/services/service.ts

Co-authored-by: Erika <3019731+Princesseuh@users.noreply.github.com>

* refactor to move logic to getImage instead of validateOptions and  to not add a third type to image and picture

* fix broken link created by docs PR

* remove the probe-image-size library due to its use of node APIs

* undo all changes to service.ts that were left  after moving inferSize logic to getImage

* update error message

* remove probe-image-size library all together, update error message, add vendored version of complete image-size library instead of refactored version

* Update .changeset/tame-cameras-change.md

Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>

* Update .changeset/tame-cameras-change.md

Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>

* reword the error message based on Sarah's previous review

* remove probe-image-size from pnpmlock

* fix lockfile?

* update error message name

* move image-size into vendor folder

* add eslint ignore to a line in image-size

* test if change to mdx test timeout was needed

* Update .changeset/tame-cameras-change.md

Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>

* update changset syntax

* patch parse heif to account for filetype block being out of order

---------

Co-authored-by: Florian Lefebvre <contact@florian-lefebvre.dev>
Co-authored-by: Erika <3019731+Princesseuh@users.noreply.github.com>
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
Co-authored-by: Emanuele Stoppa <my.burning@gmail.com>
2024-02-15 10:24:03 +01:00
..
afraid-seals-tan.md fix(dev): preload matched routes sequentially (#10116) 2024-02-14 17:27:53 -05:00
config.json Enter pre mode for Astro 4 beta 2023-11-16 21:53:20 +08:00
early-windows-accept.md Fixes regression on routing priority for multi-layer index pages (#10096) 2024-02-14 10:06:38 +00:00
empty-carrots-film.md Update to Vite 5.1 (#10120) 2024-02-15 17:20:38 +08:00
hip-cherries-behave.md Improve Node.js performance using an AsyncIterable (#9614) 2024-02-14 10:14:05 -05:00
hip-hotels-divide.md Refine content collection warnings (#10001) 2024-02-14 10:09:31 +00:00
lemon-cobras-swim.md Fixes regression on routing priority for multi-layer index pages (#10096) 2024-02-14 10:06:38 +00:00
lorem-ipsum-dolor Fix static build when out dir is not within the cwd (#9378) 2023-12-13 10:17:10 -05:00
lovely-yaks-obey.md feat(audits): Add UI with list of audits (#10074) 2024-02-14 14:46:36 +01:00
many-lobsters-accept.md Re-encode view-transition-names (#10099) 2024-02-14 14:07:31 +00:00
README.md Migrate to yarn monorepo (#157) 2021-04-30 16:33:35 -05:00
silent-hotels-approve.md Rename Astro app to astro:home (#10112) 2024-02-14 16:37:37 +01:00
tame-cameras-change.md Add inferSize to getImage so width and height are optional for remote images (#9976) 2024-02-15 10:24:03 +01:00
twelve-waves-matter.md Fix invalid URLs being returned from getRegistry, synchronize all copies (#10117) 2024-02-14 17:27:18 -05:00
twenty-plums-sell.md feat(audits): Add initial perf audits (#10015) 2024-02-14 14:01:53 +01:00

Changesets

Hello and welcome! This folder has been automatically generated by @changesets/cli, a build tool that works with multi-package repos, or single-package repos to help you version and publish your code. You can find the full documentation for it in our repository

We have a quick list of common questions to get you started engaging with this project in our documentation