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

Version Packages #238

Merged
merged 2 commits into from
Dec 30, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
29 changes: 0 additions & 29 deletions .changeset/rotten-moles-draw.md

This file was deleted.

32 changes: 32 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,37 @@
# The Bag of Tricks for Astro's View Transitions

## 2.0.0 - 2024-12-30

### Major Changes

- 85e6fb4: When installed as an integration, the <Linter /> and <LoadingIndicator /> components will no longer be auto-installed on all pages. The `autoLint` and `loadingIndicator` options in the `vtbot()` integration in your astro-config file now default to `false` instead of `true`. These options will be completely removed in a future release.

## What's Changing?

- If you use astro-vtbot as a library and haven't installed it as an Astro integration: Nothing changes for you.
- If you have installed it as an integration and have explicitly opted out of the linter and loading indicator: remove these settings: `{autoLint: false, loadingIndicator: false}` from your astro-config file.
- If you have installed it as an integration and called vtbot({...}) with one option or no parameter at all:
To ensure continued functionality, explicitly add the `<Linter />` and/or `<LoadingIndicator />` components to the pages that need them. Ideally, include them in your common `layout.astro` file for consistency across your site. Make sure that the call to `vtbot()` in you astro-config file does not set any options.

### Temporary Workaround

You can restore the previous behavior by enabling the deprecated options, but note that they will be removed soon:

```ts
import vtbot from 'astro-vtbot';

export default defineConfig({
integrations: [
vtbot({
autoLint: true,
loadingIndicator: true,
}),
],
});
```

Take action now to ensure smooth transitions and avoid future disruptions.

## 1.10.7 - 2024-11-15

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"publishConfig": {
"access": "public"
},
"version": "1.10.7",
"version": "2.0.0",
"description": "The 👜 Bag of Tricks ✨ for Astro's View Transitions",
"homepage": "https://events-3bg.pages.dev/",
"bugs": {
Expand Down
Loading