summaryrefslogtreecommitdiff
path: root/.changeset/tricky-rabbits-count.md
diff options
context:
space:
mode:
Diffstat (limited to '.changeset/tricky-rabbits-count.md')
-rw-r--r--.changeset/tricky-rabbits-count.md36
1 files changed, 0 insertions, 36 deletions
diff --git a/.changeset/tricky-rabbits-count.md b/.changeset/tricky-rabbits-count.md
deleted file mode 100644
index a9d015b08..000000000
--- a/.changeset/tricky-rabbits-count.md
+++ /dev/null
@@ -1,36 +0,0 @@
----
-'astro': major
----
-
-Remove deprecated `Astro` global APIs, including `Astro.resolve`, `Astro.fetchContent`, and `Astro.canonicalURL`.
-
-#### `Astro.resolve`
-
-You can resolve asset paths using `import` instead. For example:
-
-```astro
----
-import 'style.css'
-import imageUrl from './image.png'
----
-
-<img src={imageUrl} />
-```
-
-See the [v0.25 migration guide](https://docs.astro.build/en/migrate/#deprecated-astroresolve) for more information.
-
-#### `Astro.fetchContent`
-
-Use `Astro.glob` instead to fetch markdown files, or migrate to the [Content Collections](https://docs.astro.build/en/guides/content-collections/) feature.
-
-```js
-let allPosts = await Astro.glob('./posts/*.md');
-```
-
-#### `Astro.canonicalURL`
-
-Use `Astro.url` instead to construct the canonical URL.
-
-```js
-const canonicalURL = new URL(Astro.url.pathname, Astro.site);
-```