Releases: Applelo/vite-plugin-browser-sync
v7.0.0
v6.0.0
Breaking change
- Drop CJS version
- Remove Astro Vite 5 support
What's Changed
- Update dependencies
- Use tdown instead of tsup
v5.0.0
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
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
v3.0.3
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
v3.0.1
v3.0.0
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