Skip to content

Commit

Permalink
chore: changeset
Browse files Browse the repository at this point in the history
  • Loading branch information
Princesseuh committed Sep 12, 2024
1 parent a92093b commit 669a7b3
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .changeset/fluffy-jars-live.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
'astro': major
---

Removes the `assets` property on `supportedAstroFeatures` for adapters, as it did not reflect reality properly in many cases.

Now, relating to assets, only a single `sharpImageService` property is available, determining if the adapter is compatible with the built-in sharp image service.
7 changes: 7 additions & 0 deletions .changeset/slimy-queens-hang.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
'astro': minor
---

The value of the different properties on `supportedAstroFeatures` for adapters can now be objects, with a `support` and `message` properties. The content of the `message` property will be shown in the Astro CLI when the adapter is not compatible with the feature, allowing one to give a better informational message to the user.

This is notably useful with the new `limited` value, to explain to the user why support is limited.
5 changes: 5 additions & 0 deletions .changeset/unlucky-bobcats-sit.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'astro': minor
---

Adds a new `limited` value for the different properties of `supportedAstroFeatures` for adapters, which indicates that the adapter is compatible with the feature, but with some limitations. This is useful for adapters that support a feature, but not in all cases or with all options.

0 comments on commit 669a7b3

Please sign in to comment.