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

Version Packages #238

merged 2 commits into from
Dec 30, 2024

Conversation

github-actions[bot]
Copy link
Contributor

This PR was opened by the Changesets release GitHub action. When you're ready to do a release, you can merge this and publish to npm yourself or setup this action to publish automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to main, this PR will be updated.

Releases

[email protected]

Major Changes

  • 85e6fb4: When installed as an integration, the and 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:

    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.

@martrapp martrapp merged commit 8c80325 into main Dec 30, 2024
4 checks passed
@martrapp martrapp deleted the changeset-release/main branch December 30, 2024 16:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant