summaryrefslogtreecommitdiff
path: root/packages
diff options
context:
space:
mode:
Diffstat (limited to 'packages')
-rw-r--r--packages/astro-rss/CHANGELOG.md8
-rw-r--r--packages/astro-rss/package.json2
-rw-r--r--packages/astro/CHANGELOG.md95
-rw-r--r--packages/astro/package.json6
-rw-r--r--packages/integrations/cloudflare/CHANGELOG.md49
-rw-r--r--packages/integrations/cloudflare/package.json2
-rw-r--r--packages/integrations/deno/CHANGELOG.md49
-rw-r--r--packages/integrations/deno/package.json2
-rw-r--r--packages/integrations/image/CHANGELOG.md10
-rw-r--r--packages/integrations/image/package.json2
-rw-r--r--packages/integrations/mdx/CHANGELOG.md6
-rw-r--r--packages/integrations/mdx/package.json2
-rw-r--r--packages/integrations/netlify/CHANGELOG.md53
-rw-r--r--packages/integrations/netlify/package.json2
-rw-r--r--packages/integrations/node/CHANGELOG.md49
-rw-r--r--packages/integrations/node/package.json2
-rw-r--r--packages/integrations/preact/CHANGELOG.md6
-rw-r--r--packages/integrations/preact/package.json2
-rw-r--r--packages/integrations/svelte/CHANGELOG.md6
-rw-r--r--packages/integrations/svelte/package.json2
-rw-r--r--packages/integrations/tailwind/CHANGELOG.md6
-rw-r--r--packages/integrations/tailwind/package.json2
-rw-r--r--packages/integrations/vercel/CHANGELOG.md49
-rw-r--r--packages/integrations/vercel/package.json2
-rw-r--r--packages/integrations/vue/CHANGELOG.md10
-rw-r--r--packages/integrations/vue/package.json2
-rw-r--r--packages/markdown/remark/CHANGELOG.md8
-rw-r--r--packages/markdown/remark/package.json2
-rw-r--r--packages/telemetry/CHANGELOG.md6
-rw-r--r--packages/telemetry/package.json2
30 files changed, 427 insertions, 17 deletions
diff --git a/packages/astro-rss/CHANGELOG.md b/packages/astro-rss/CHANGELOG.md
index 9c0990095..12519ca64 100644
--- a/packages/astro-rss/CHANGELOG.md
+++ b/packages/astro-rss/CHANGELOG.md
@@ -1,5 +1,13 @@
# @astrojs/rss
+## 1.0.2
+
+### Patch Changes
+
+- [#4842](https://github.com/withastro/astro/pull/4842) [`812658ad2`](https://github.com/withastro/astro/commit/812658ad2ab3732a99e35c4fd903e302e723db46) Thanks [@bluwy](https://github.com/bluwy)! - Add missing dependencies, support strict dependency installation (e.g. pnpm)
+
+- [#4842](https://github.com/withastro/astro/pull/4842) [`812658ad2`](https://github.com/withastro/astro/commit/812658ad2ab3732a99e35c4fd903e302e723db46) Thanks [@bluwy](https://github.com/bluwy)! - Remove path-browserify dependency
+
## 1.0.1
### Patch Changes
diff --git a/packages/astro-rss/package.json b/packages/astro-rss/package.json
index 1b61354af..132e031ff 100644
--- a/packages/astro-rss/package.json
+++ b/packages/astro-rss/package.json
@@ -1,7 +1,7 @@
{
"name": "@astrojs/rss",
"description": "Add RSS feeds to your Astro projects",
- "version": "1.0.1",
+ "version": "1.0.2",
"type": "module",
"types": "./dist/index.d.ts",
"author": "withastro",
diff --git a/packages/astro/CHANGELOG.md b/packages/astro/CHANGELOG.md
index f7f53164e..ee6ba106c 100644
--- a/packages/astro/CHANGELOG.md
+++ b/packages/astro/CHANGELOG.md
@@ -1,5 +1,100 @@
# astro
+## 1.4.0
+
+### Minor Changes
+
+- [#4907](https://github.com/withastro/astro/pull/4907) [`01c1aaa00`](https://github.com/withastro/astro/commit/01c1aaa00397c7fdc7a3ef7fb0212eb43aad6238) Thanks [@matthewp](https://github.com/matthewp)! - Order Astro styles last, to override imported styles
+
+ This fixes CSS ordering so that imported styles are placed _higher_ than page/component level styles. This means that if you do:
+
+ ```astro
+ ---
+ import '../styles/global.css';
+ ---
+
+ <style>
+ body {
+ background: limegreen;
+ }
+ </style>
+ ```
+
+ The `<style>` defined in this component will be placed _below_ the imported CSS. When compiled for production this will result in something like this:
+
+ ```css
+ /* /src/styles/global.css */
+ body {
+ background: blue;
+ }
+
+ /* /src/pages/index.astro */
+ body:where(.astro-12345) {
+ background: limegreen;
+ }
+ ```
+
+ Given Astro's 0-specificity hashing, this change effectively makes it so that Astro styles "win" when they have the same specificity as global styles.
+
+- [#4876](https://github.com/withastro/astro/pull/4876) [`d3091f89e`](https://github.com/withastro/astro/commit/d3091f89e92fcfe1ad48daca74055d54b1c853a3) Thanks [@matthewp](https://github.com/matthewp)! - Adds the Astro.cookies API
+
+ `Astro.cookies` is a new API for manipulating cookies in Astro components and API routes.
+
+ In Astro components, the new `Astro.cookies` object is a map-like object that allows you to get, set, delete, and check for a cookie's existence (`has`):
+
+ ```astro
+ ---
+ type Prefs = {
+ darkMode: boolean;
+ };
+
+ Astro.cookies.set<Prefs>(
+ 'prefs',
+ { darkMode: true },
+ {
+ expires: '1 month',
+ }
+ );
+
+ const prefs = Astro.cookies.get<Prefs>('prefs').json();
+ ---
+
+ <body data-theme={prefs.darkMode ? 'dark' : 'light'}></body>
+ ```
+
+ Once you've set a cookie with Astro.cookies it will automatically be included in the outgoing response.
+
+ This API is also available with the same functionality in API routes:
+
+ ```js
+ export function post({ cookies }) {
+ cookies.set('loggedIn', false);
+
+ return new Response(null, {
+ status: 302,
+ headers: {
+ Location: '/login',
+ },
+ });
+ }
+ ```
+
+ See [the RFC](https://github.com/withastro/rfcs/blob/main/proposals/0025-cookie-management.md) to learn more.
+
+### Patch Changes
+
+- [#4897](https://github.com/withastro/astro/pull/4897) [`fd9d323a6`](https://github.com/withastro/astro/commit/fd9d323a68c0f0cbb3b019e0a05e2c33450f3d33) Thanks [@bluwy](https://github.com/bluwy)! - Support Vue JSX
+
+- [#4892](https://github.com/withastro/astro/pull/4892) [`ff7ba0ee0`](https://github.com/withastro/astro/commit/ff7ba0ee0fd652a92f5d06d9b644dd646cebe65c) Thanks [@matthewp](https://github.com/matthewp)! - Prevent multiple rendering of head content
+
+- [#4842](https://github.com/withastro/astro/pull/4842) [`812658ad2`](https://github.com/withastro/astro/commit/812658ad2ab3732a99e35c4fd903e302e723db46) Thanks [@bluwy](https://github.com/bluwy)! - Add missing dependencies, support strict dependency installation (e.g. pnpm)
+
+- [#4891](https://github.com/withastro/astro/pull/4891) [`87a7cf48e`](https://github.com/withastro/astro/commit/87a7cf48e7198ab94aa6310e58e9f30fd234c429) Thanks [@matthewp](https://github.com/matthewp)! - Hoist hydration scripts out of slot templates
+
+- Updated dependencies [[`812658ad2`](https://github.com/withastro/astro/commit/812658ad2ab3732a99e35c4fd903e302e723db46), [`812658ad2`](https://github.com/withastro/astro/commit/812658ad2ab3732a99e35c4fd903e302e723db46)]:
+ - @astrojs/markdown-remark@1.1.3
+ - @astrojs/telemetry@1.0.1
+
## 1.3.1
### Patch Changes
diff --git a/packages/astro/package.json b/packages/astro/package.json
index de6483e9d..31e9473d9 100644
--- a/packages/astro/package.json
+++ b/packages/astro/package.json
@@ -1,6 +1,6 @@
{
"name": "astro",
- "version": "1.3.1",
+ "version": "1.4.0",
"description": "Astro is a modern site builder with web best practices, performance, and DX front-of-mind.",
"type": "module",
"author": "withastro",
@@ -97,8 +97,8 @@
"dependencies": {
"@astrojs/compiler": "^0.25.0",
"@astrojs/language-server": "^0.26.2",
- "@astrojs/markdown-remark": "^1.1.2",
- "@astrojs/telemetry": "^1.0.0",
+ "@astrojs/markdown-remark": "^1.1.3",
+ "@astrojs/telemetry": "^1.0.1",
"@astrojs/webapi": "^1.1.0",
"@babel/core": "^7.18.2",
"@babel/generator": "^7.18.2",
diff --git a/packages/integrations/cloudflare/CHANGELOG.md b/packages/integrations/cloudflare/CHANGELOG.md
index bfaa56013..b694af33f 100644
--- a/packages/integrations/cloudflare/CHANGELOG.md
+++ b/packages/integrations/cloudflare/CHANGELOG.md
@@ -1,5 +1,54 @@
# @astrojs/cloudflare
+## 2.1.0
+
+### Minor Changes
+
+- [#4876](https://github.com/withastro/astro/pull/4876) [`d3091f89e`](https://github.com/withastro/astro/commit/d3091f89e92fcfe1ad48daca74055d54b1c853a3) Thanks [@matthewp](https://github.com/matthewp)! - Adds the Astro.cookies API
+
+ `Astro.cookies` is a new API for manipulating cookies in Astro components and API routes.
+
+ In Astro components, the new `Astro.cookies` object is a map-like object that allows you to get, set, delete, and check for a cookie's existence (`has`):
+
+ ```astro
+ ---
+ type Prefs = {
+ darkMode: boolean;
+ };
+
+ Astro.cookies.set<Prefs>(
+ 'prefs',
+ { darkMode: true },
+ {
+ expires: '1 month',
+ }
+ );
+
+ const prefs = Astro.cookies.get<Prefs>('prefs').json();
+ ---
+
+ <body data-theme={prefs.darkMode ? 'dark' : 'light'}></body>
+ ```
+
+ Once you've set a cookie with Astro.cookies it will automatically be included in the outgoing response.
+
+ This API is also available with the same functionality in API routes:
+
+ ```js
+ export function post({ cookies }) {
+ cookies.set('loggedIn', false);
+
+ return new Response(null, {
+ status: 302,
+ headers: {
+ Location: '/login',
+ },
+ });
+ }
+ ```
+
+ See [the RFC](https://github.com/withastro/rfcs/blob/main/proposals/0025-cookie-management.md) to learn more.
+
## 2.0.0
### Major Changes
diff --git a/packages/integrations/cloudflare/package.json b/packages/integrations/cloudflare/package.json
index b3745557c..d38017176 100644
--- a/packages/integrations/cloudflare/package.json
+++ b/packages/integrations/cloudflare/package.json
@@ -1,7 +1,7 @@
{
"name": "@astrojs/cloudflare",
"description": "Deploy your site to cloudflare pages functions",
- "version": "2.0.0",
+ "version": "2.1.0",
"type": "module",
"types": "./dist/index.d.ts",
"author": "withastro",
diff --git a/packages/integrations/deno/CHANGELOG.md b/packages/integrations/deno/CHANGELOG.md
index b54fa7e08..a09614516 100644
--- a/packages/integrations/deno/CHANGELOG.md
+++ b/packages/integrations/deno/CHANGELOG.md
@@ -1,5 +1,54 @@
# @astrojs/node
+## 1.1.0
+
+### Minor Changes
+
+- [#4876](https://github.com/withastro/astro/pull/4876) [`d3091f89e`](https://github.com/withastro/astro/commit/d3091f89e92fcfe1ad48daca74055d54b1c853a3) Thanks [@matthewp](https://github.com/matthewp)! - Adds the Astro.cookies API
+
+ `Astro.cookies` is a new API for manipulating cookies in Astro components and API routes.
+
+ In Astro components, the new `Astro.cookies` object is a map-like object that allows you to get, set, delete, and check for a cookie's existence (`has`):
+
+ ```astro
+ ---
+ type Prefs = {
+ darkMode: boolean;
+ };
+
+ Astro.cookies.set<Prefs>(
+ 'prefs',
+ { darkMode: true },
+ {
+ expires: '1 month',
+ }
+ );
+
+ const prefs = Astro.cookies.get<Prefs>('prefs').json();
+ ---
+
+ <body data-theme={prefs.darkMode ? 'dark' : 'light'}></body>
+ ```
+
+ Once you've set a cookie with Astro.cookies it will automatically be included in the outgoing response.
+
+ This API is also available with the same functionality in API routes:
+
+ ```js
+ export function post({ cookies }) {
+ cookies.set('loggedIn', false);
+
+ return new Response(null, {
+ status: 302,
+ headers: {
+ Location: '/login',
+ },
+ });
+ }
+ ```
+
+ See [the RFC](https://github.com/withastro/rfcs/blob/main/proposals/0025-cookie-management.md) to learn more.
+
## 1.0.1
### Patch Changes
diff --git a/packages/integrations/deno/package.json b/packages/integrations/deno/package.json
index 0f716927d..4b2752e7d 100644
--- a/packages/integrations/deno/package.json
+++ b/packages/integrations/deno/package.json
@@ -1,7 +1,7 @@
{
"name": "@astrojs/deno",
"description": "Deploy your site to a Deno server",
- "version": "1.0.1",
+ "version": "1.1.0",
"type": "module",
"types": "./dist/index.d.ts",
"author": "withastro",
diff --git a/packages/integrations/image/CHANGELOG.md b/packages/integrations/image/CHANGELOG.md
index fd79d8690..7a8bcc07b 100644
--- a/packages/integrations/image/CHANGELOG.md
+++ b/packages/integrations/image/CHANGELOG.md
@@ -1,5 +1,15 @@
# @astrojs/image
+## 0.8.1
+
+### Patch Changes
+
+- [#4906](https://github.com/withastro/astro/pull/4906) [`ec55745ae`](https://github.com/withastro/astro/commit/ec55745ae5454207fa0405170588d898b49b9a48) Thanks [@tony-sull](https://github.com/tony-sull)! - Updates the default image service to use format-specific quality defaults
+
+- [#4842](https://github.com/withastro/astro/pull/4842) [`812658ad2`](https://github.com/withastro/astro/commit/812658ad2ab3732a99e35c4fd903e302e723db46) Thanks [@bluwy](https://github.com/bluwy)! - Specify sharp as optional peer dependency
+
+- [#4842](https://github.com/withastro/astro/pull/4842) [`812658ad2`](https://github.com/withastro/astro/commit/812658ad2ab3732a99e35c4fd903e302e723db46) Thanks [@bluwy](https://github.com/bluwy)! - Add missing dependencies, support strict dependency installation (e.g. pnpm)
+
## 0.8.0
### Minor Changes
diff --git a/packages/integrations/image/package.json b/packages/integrations/image/package.json
index e1db1fe53..ab5ee315e 100644
--- a/packages/integrations/image/package.json
+++ b/packages/integrations/image/package.json
@@ -1,7 +1,7 @@
{
"name": "@astrojs/image",
"description": "Load and transform images in your Astro site.",
- "version": "0.8.0",
+ "version": "0.8.1",
"type": "module",
"types": "./dist/index.d.ts",
"author": "withastro",
diff --git a/packages/integrations/mdx/CHANGELOG.md b/packages/integrations/mdx/CHANGELOG.md
index 6820d8c69..0dd9087d0 100644
--- a/packages/integrations/mdx/CHANGELOG.md
+++ b/packages/integrations/mdx/CHANGELOG.md
@@ -1,5 +1,11 @@
# @astrojs/mdx
+## 0.11.3
+
+### Patch Changes
+
+- [#4842](https://github.com/withastro/astro/pull/4842) [`812658ad2`](https://github.com/withastro/astro/commit/812658ad2ab3732a99e35c4fd903e302e723db46) Thanks [@bluwy](https://github.com/bluwy)! - Add missing dependencies, support strict dependency installation (e.g. pnpm)
+
## 0.11.2
### Patch Changes
diff --git a/packages/integrations/mdx/package.json b/packages/integrations/mdx/package.json
index 6109cdc64..addb2d7e2 100644
--- a/packages/integrations/mdx/package.json
+++ b/packages/integrations/mdx/package.json
@@ -1,7 +1,7 @@
{
"name": "@astrojs/mdx",
"description": "Use MDX within Astro",
- "version": "0.11.2",
+ "version": "0.11.3",
"type": "module",
"types": "./dist/index.d.ts",
"author": "withastro",
diff --git a/packages/integrations/netlify/CHANGELOG.md b/packages/integrations/netlify/CHANGELOG.md
index e2ac69e4f..adc4116cb 100644
--- a/packages/integrations/netlify/CHANGELOG.md
+++ b/packages/integrations/netlify/CHANGELOG.md
@@ -1,5 +1,58 @@
# @astrojs/netlify
+## 1.1.0
+
+### Minor Changes
+
+- [#4876](https://github.com/withastro/astro/pull/4876) [`d3091f89e`](https://github.com/withastro/astro/commit/d3091f89e92fcfe1ad48daca74055d54b1c853a3) Thanks [@matthewp](https://github.com/matthewp)! - Adds the Astro.cookies API
+
+ `Astro.cookies` is a new API for manipulating cookies in Astro components and API routes.
+
+ In Astro components, the new `Astro.cookies` object is a map-like object that allows you to get, set, delete, and check for a cookie's existence (`has`):
+
+ ```astro
+ ---
+ type Prefs = {
+ darkMode: boolean;
+ };
+
+ Astro.cookies.set<Prefs>(
+ 'prefs',
+ { darkMode: true },
+ {
+ expires: '1 month',
+ }
+ );
+
+ const prefs = Astro.cookies.get<Prefs>('prefs').json();
+ ---
+
+ <body data-theme={prefs.darkMode ? 'dark' : 'light'}></body>
+ ```
+
+ Once you've set a cookie with Astro.cookies it will automatically be included in the outgoing response.
+
+ This API is also available with the same functionality in API routes:
+
+ ```js
+ export function post({ cookies }) {
+ cookies.set('loggedIn', false);
+
+ return new Response(null, {
+ status: 302,
+ headers: {
+ Location: '/login',
+ },
+ });
+ }
+ ```
+
+ See [the RFC](https://github.com/withastro/rfcs/blob/main/proposals/0025-cookie-management.md) to learn more.
+
+### Patch Changes
+
+- [#4842](https://github.com/withastro/astro/pull/4842) [`812658ad2`](https://github.com/withastro/astro/commit/812658ad2ab3732a99e35c4fd903e302e723db46) Thanks [@bluwy](https://github.com/bluwy)! - Add missing dependencies, support strict dependency installation (e.g. pnpm)
+
## 1.0.4
### Patch Changes
diff --git a/packages/integrations/netlify/package.json b/packages/integrations/netlify/package.json
index 3818cc3e8..4e30dca2d 100644
--- a/packages/integrations/netlify/package.json
+++ b/packages/integrations/netlify/package.json
@@ -1,7 +1,7 @@
{
"name": "@astrojs/netlify",
"description": "Deploy your site to Netlify",
- "version": "1.0.4",
+ "version": "1.1.0",
"type": "module",
"types": "./dist/index.d.ts",
"author": "withastro",
diff --git a/packages/integrations/node/CHANGELOG.md b/packages/integrations/node/CHANGELOG.md
index fadb07533..045b370e7 100644
--- a/packages/integrations/node/CHANGELOG.md
+++ b/packages/integrations/node/CHANGELOG.md
@@ -1,5 +1,54 @@
# @astrojs/node
+## 1.1.0
+
+### Minor Changes
+
+- [#4876](https://github.com/withastro/astro/pull/4876) [`d3091f89e`](https://github.com/withastro/astro/commit/d3091f89e92fcfe1ad48daca74055d54b1c853a3) Thanks [@matthewp](https://github.com/matthewp)! - Adds the Astro.cookies API
+
+ `Astro.cookies` is a new API for manipulating cookies in Astro components and API routes.
+
+ In Astro components, the new `Astro.cookies` object is a map-like object that allows you to get, set, delete, and check for a cookie's existence (`has`):
+
+ ```astro
+ ---
+ type Prefs = {
+ darkMode: boolean;
+ };
+
+ Astro.cookies.set<Prefs>(
+ 'prefs',
+ { darkMode: true },
+ {
+ expires: '1 month',
+ }
+ );
+
+ const prefs = Astro.cookies.get<Prefs>('prefs').json();
+ ---
+
+ <body data-theme={prefs.darkMode ? 'dark' : 'light'}></body>
+ ```
+
+ Once you've set a cookie with Astro.cookies it will automatically be included in the outgoing response.
+
+ This API is also available with the same functionality in API routes:
+
+ ```js
+ export function post({ cookies }) {
+ cookies.set('loggedIn', false);
+
+ return new Response(null, {
+ status: 302,
+ headers: {
+ Location: '/login',
+ },
+ });
+ }
+ ```
+
+ See [the RFC](https://github.com/withastro/rfcs/blob/main/proposals/0025-cookie-management.md) to learn more.
+
## 1.0.1
### Patch Changes
diff --git a/packages/integrations/node/package.json b/packages/integrations/node/package.json
index 490384e27..ffe8c07d8 100644
--- a/packages/integrations/node/package.json
+++ b/packages/integrations/node/package.json
@@ -1,7 +1,7 @@
{
"name": "@astrojs/node",
"description": "Deploy your site to a Node.js server",
- "version": "1.0.1",
+ "version": "1.1.0",
"type": "module",
"types": "./dist/index.d.ts",
"author": "withastro",
diff --git a/packages/integrations/preact/CHANGELOG.md b/packages/integrations/preact/CHANGELOG.md
index f0050cab6..adc14708e 100644
--- a/packages/integrations/preact/CHANGELOG.md
+++ b/packages/integrations/preact/CHANGELOG.md
@@ -1,5 +1,11 @@
# @astrojs/preact
+## 1.1.1
+
+### Patch Changes
+
+- [#4842](https://github.com/withastro/astro/pull/4842) [`812658ad2`](https://github.com/withastro/astro/commit/812658ad2ab3732a99e35c4fd903e302e723db46) Thanks [@bluwy](https://github.com/bluwy)! - Add missing dependencies, support strict dependency installation (e.g. pnpm)
+
## 1.1.0
### Minor Changes
diff --git a/packages/integrations/preact/package.json b/packages/integrations/preact/package.json
index 2aa24cac9..7c6e5a3f6 100644
--- a/packages/integrations/preact/package.json
+++ b/packages/integrations/preact/package.json
@@ -1,7 +1,7 @@
{
"name": "@astrojs/preact",
"description": "Use Preact components within Astro",
- "version": "1.1.0",
+ "version": "1.1.1",
"type": "module",
"types": "./dist/index.d.ts",
"author": "withastro",
diff --git a/packages/integrations/svelte/CHANGELOG.md b/packages/integrations/svelte/CHANGELOG.md
index 6dca1811f..60f1056d4 100644
--- a/packages/integrations/svelte/CHANGELOG.md
+++ b/packages/integrations/svelte/CHANGELOG.md
@@ -1,5 +1,11 @@
# @astrojs/svelte
+## 1.0.1
+
+### Patch Changes
+
+- [#4842](https://github.com/withastro/astro/pull/4842) [`812658ad2`](https://github.com/withastro/astro/commit/812658ad2ab3732a99e35c4fd903e302e723db46) Thanks [@bluwy](https://github.com/bluwy)! - Add missing dependencies, support strict dependency installation (e.g. pnpm)
+
## 1.0.0
### Major Changes
diff --git a/packages/integrations/svelte/package.json b/packages/integrations/svelte/package.json
index ed8bf4ebd..bed9faa2d 100644
--- a/packages/integrations/svelte/package.json
+++ b/packages/integrations/svelte/package.json
@@ -1,6 +1,6 @@
{
"name": "@astrojs/svelte",
- "version": "1.0.0",
+ "version": "1.0.1",
"description": "Use Svelte components within Astro",
"type": "module",
"types": "./dist/index.d.ts",
diff --git a/packages/integrations/tailwind/CHANGELOG.md b/packages/integrations/tailwind/CHANGELOG.md
index 03136dfcc..e43b6365a 100644
--- a/packages/integrations/tailwind/CHANGELOG.md
+++ b/packages/integrations/tailwind/CHANGELOG.md
@@ -1,5 +1,11 @@
# @astrojs/tailwind
+## 2.0.2
+
+### Patch Changes
+
+- [#4842](https://github.com/withastro/astro/pull/4842) [`812658ad2`](https://github.com/withastro/astro/commit/812658ad2ab3732a99e35c4fd903e302e723db46) Thanks [@bluwy](https://github.com/bluwy)! - Add missing dependencies, support strict dependency installation (e.g. pnpm)
+
## 2.0.1
### Patch Changes
diff --git a/packages/integrations/tailwind/package.json b/packages/integrations/tailwind/package.json
index 6b2a6cdc3..46833acd3 100644
--- a/packages/integrations/tailwind/package.json
+++ b/packages/integrations/tailwind/package.json
@@ -1,7 +1,7 @@
{
"name": "@astrojs/tailwind",
"description": "Tailwind + Astro Integrations",
- "version": "2.0.1",
+ "version": "2.0.2",
"type": "module",
"types": "./dist/index.d.ts",
"author": "withastro",
diff --git a/packages/integrations/vercel/CHANGELOG.md b/packages/integrations/vercel/CHANGELOG.md
index 29237528e..f6a5c7779 100644
--- a/packages/integrations/vercel/CHANGELOG.md
+++ b/packages/integrations/vercel/CHANGELOG.md
@@ -1,5 +1,54 @@
# @astrojs/vercel
+## 2.1.0
+
+### Minor Changes
+
+- [#4876](https://github.com/withastro/astro/pull/4876) [`d3091f89e`](https://github.com/withastro/astro/commit/d3091f89e92fcfe1ad48daca74055d54b1c853a3) Thanks [@matthewp](https://github.com/matthewp)! - Adds the Astro.cookies API
+
+ `Astro.cookies` is a new API for manipulating cookies in Astro components and API routes.
+
+ In Astro components, the new `Astro.cookies` object is a map-like object that allows you to get, set, delete, and check for a cookie's existence (`has`):
+
+ ```astro
+ ---
+ type Prefs = {
+ darkMode: boolean;
+ };
+
+ Astro.cookies.set<Prefs>(
+ 'prefs',
+ { darkMode: true },
+ {
+ expires: '1 month',
+ }
+ );
+
+ const prefs = Astro.cookies.get<Prefs>('prefs').json();
+ ---
+
+ <body data-theme={prefs.darkMode ? 'dark' : 'light'}></body>
+ ```
+
+ Once you've set a cookie with Astro.cookies it will automatically be included in the outgoing response.
+
+ This API is also available with the same functionality in API routes:
+
+ ```js
+ export function post({ cookies }) {
+ cookies.set('loggedIn', false);
+
+ return new Response(null, {
+ status: 302,
+ headers: {
+ Location: '/login',
+ },
+ });
+ }
+ ```
+
+ See [the RFC](https://github.com/withastro/rfcs/blob/main/proposals/0025-cookie-management.md) to learn more.
+
## 2.0.1
### Patch Changes
diff --git a/packages/integrations/vercel/package.json b/packages/integrations/vercel/package.json
index b1323f360..1d57806ba 100644
--- a/packages/integrations/vercel/package.json
+++ b/packages/integrations/vercel/package.json
@@ -1,7 +1,7 @@
{
"name": "@astrojs/vercel",
"description": "Deploy your site to Vercel",
- "version": "2.0.1",
+ "version": "2.1.0",
"type": "module",
"author": "withastro",
"license": "MIT",
diff --git a/packages/integrations/vue/CHANGELOG.md b/packages/integrations/vue/CHANGELOG.md
index ab1f293db..b7ff6d03e 100644
--- a/packages/integrations/vue/CHANGELOG.md
+++ b/packages/integrations/vue/CHANGELOG.md
@@ -1,5 +1,15 @@
# @astrojs/vue
+## 1.1.0
+
+### Minor Changes
+
+- [#4897](https://github.com/withastro/astro/pull/4897) [`fd9d323a6`](https://github.com/withastro/astro/commit/fd9d323a68c0f0cbb3b019e0a05e2c33450f3d33) Thanks [@bluwy](https://github.com/bluwy)! - Support Vue JSX
+
+### Patch Changes
+
+- [#4842](https://github.com/withastro/astro/pull/4842) [`812658ad2`](https://github.com/withastro/astro/commit/812658ad2ab3732a99e35c4fd903e302e723db46) Thanks [@bluwy](https://github.com/bluwy)! - Add missing dependencies, support strict dependency installation (e.g. pnpm)
+
## 1.0.2
### Patch Changes
diff --git a/packages/integrations/vue/package.json b/packages/integrations/vue/package.json
index 707747f75..7f80497b4 100644
--- a/packages/integrations/vue/package.json
+++ b/packages/integrations/vue/package.json
@@ -1,6 +1,6 @@
{
"name": "@astrojs/vue",
- "version": "1.0.2",
+ "version": "1.1.0",
"description": "Use Vue components within Astro",
"type": "module",
"types": "./dist/index.d.ts",
diff --git a/packages/markdown/remark/CHANGELOG.md b/packages/markdown/remark/CHANGELOG.md
index b5fc07cfc..ee78042e2 100644
--- a/packages/markdown/remark/CHANGELOG.md
+++ b/packages/markdown/remark/CHANGELOG.md
@@ -1,5 +1,13 @@
# @astrojs/markdown-remark
+## 1.1.3
+
+### Patch Changes
+
+- [#4842](https://github.com/withastro/astro/pull/4842) [`812658ad2`](https://github.com/withastro/astro/commit/812658ad2ab3732a99e35c4fd903e302e723db46) Thanks [@bluwy](https://github.com/bluwy)! - Fix non-hoisted remark/rehype plugin loading
+
+- [#4842](https://github.com/withastro/astro/pull/4842) [`812658ad2`](https://github.com/withastro/astro/commit/812658ad2ab3732a99e35c4fd903e302e723db46) Thanks [@bluwy](https://github.com/bluwy)! - Add missing dependencies, support strict dependency installation (e.g. pnpm)
+
## 1.1.2
### Patch Changes
diff --git a/packages/markdown/remark/package.json b/packages/markdown/remark/package.json
index 36b702d93..d64af8519 100644
--- a/packages/markdown/remark/package.json
+++ b/packages/markdown/remark/package.json
@@ -1,6 +1,6 @@
{
"name": "@astrojs/markdown-remark",
- "version": "1.1.2",
+ "version": "1.1.3",
"type": "module",
"author": "withastro",
"license": "MIT",
diff --git a/packages/telemetry/CHANGELOG.md b/packages/telemetry/CHANGELOG.md
index e632bd87d..1fae15a62 100644
--- a/packages/telemetry/CHANGELOG.md
+++ b/packages/telemetry/CHANGELOG.md
@@ -1,5 +1,11 @@
# @astrojs/telemetry
+## 1.0.1
+
+### Patch Changes
+
+- [#4842](https://github.com/withastro/astro/pull/4842) [`812658ad2`](https://github.com/withastro/astro/commit/812658ad2ab3732a99e35c4fd903e302e723db46) Thanks [@bluwy](https://github.com/bluwy)! - Add missing dependencies, support strict dependency installation (e.g. pnpm)
+
## 1.0.0
### Major Changes
diff --git a/packages/telemetry/package.json b/packages/telemetry/package.json
index ae9dbc612..bf45c1560 100644
--- a/packages/telemetry/package.json
+++ b/packages/telemetry/package.json
@@ -1,6 +1,6 @@
{
"name": "@astrojs/telemetry",
- "version": "1.0.0",
+ "version": "1.0.1",
"type": "module",
"types": "./dist/types/index.d.ts",
"author": "withastro",