Skip to content

Releases: Applelo/vite-plugin-browser-sync

v7.0.0

12 Apr 09:42

Choose a tag to compare

Warning

This version supports only Vite 7 and Vite 8. If you cannot upgrade, use the latest version 5.0 of this plugin.

Breaking change

  • Drop support for Vite 6 and Node 18
  • Drop support for JSR (no support for pnpm catalog)

What's Changed

  • Support Vite 8
  • Update dependencies

v6.0.0

04 Nov 19:12

Choose a tag to compare

Breaking change

What's Changed

  • Update dependencies
  • Use tdown instead of tsup

v5.0.0

22 Aug 16:42

Choose a tag to compare

Warning

This version supports only Vite 6 and Vite 7. If you cannot upgrade, use the latest version 4.0 of this plugin.

Breaking Changes

  • Drop support for Vite 5

What's Changed

  • Support Vite 7
  • Update to pnpm 10
  • Update dependencies
  • Remove deprecated option bs

Full Changelog: v4.0.0...v5.0.0

v4.0.0

15 Dec 20:59
f687afc

Choose a tag to compare

Warning

Please upgrade your project at least to Node 18 (Node 20 or 22 if you can). This version supports only Vite 5 and Vite 6. Node 14 and Node 16 are not supported by the plugin anymore. If you cannot upgrade, use the latest version 3.0 of this plugin.

Breaking Changes

  • Drop supports for Node 14 and Node 16

What's Changed

  • Update dependencies
  • Fix issue with Vite 6

Full Changelog: v3.0.4...v4.0.0

v3.0.4

19 Jul 17:19
c20a631

Choose a tag to compare

What's Changed

  • Fix plugin not working on Astro #21
  • Update dependencies

Full Changelog: v3.0.3...v3.0.4

v3.0.3

05 Jun 21:13
60d7115

Choose a tag to compare

What's Changed

  • Update dependencies
  • Upgrade pnpm to 9
  • Drop test support for node 16.

Note

The next major version of the plugin will drop supports of Node 14 and Node 16 with Vite 6 release.

Full Changelog: v3.0.2...v3.0.3

v3.0.2

05 Apr 18:42

Choose a tag to compare

What's Changed

  • Update dependencies
  • Add JSR support

Full Changelog: v3.0.1...v3.0.2

v3.0.1

01 Mar 19:36
596dfed

Choose a tag to compare

What's Changed

  • Fix browsersync overrides on buildWatch and preview #16
  • Update LICENSE #15
  • Update dependencies

Full Changelog: v3.0.0...v3.0.1

v3.0.0

02 Feb 19:33
b55cf98

Choose a tag to compare

Breaking changes

The plugin now supports preview and build watch mode. To support this, I have change the structure of the option between the 2.x and 3.x version.
You just need to wrap your previous configuration with a dev object.

Below an example of the option configuration:

// vite.config.js / vite.config.ts
import VitePluginBrowserSync from 'vite-plugin-browser-sync'

export default {
  plugins: [
    VitePluginBrowserSync({
      dev: {
        bs: {
          ui: {
            port: 8080
          },
          notify: false
        }
      }
    })
  ]
}

Refer to the readme for more example of configuration.

What's Changed

  • Add support on build watch and preview mode (#11)
  • Update BrowserSync to 3.0.0
  • Rewrite plugin code (and test) from the ground up
  • Change licence to MIT (#12)
  • Change options structure

Full Changelog: v2.0.1...v3.0.0

v2.0.1

07 Dec 20:22
19c2469

Choose a tag to compare

What's Changed

  • Use updated BrowserSync typings #9
  • Update the project to ESM module

Full Changelog: v2.0.0...v2.0.1