browser-sync

Keep multiple browsers & devices in sync when building websites. https://browsersync.io

APACHE-2.0 License

Downloads
2.9M
Stars
12.2K
Committers
109

Bot releases are hidden (Show)

browser-sync - v3.0.3

Published by shakyShane 23 days ago

browser-sync - v3.0.2 Latest Release

Published by shakyShane 10 months ago

What's Changed

New Contributors

Full Changelog: https://github.com/BrowserSync/browser-sync/compare/v3.0.1...v3.0.2

browser-sync - v3.0.1

Published by shakyShane 10 months ago

⚠️ Breaking

What's Changed

Full Changelog: https://github.com/BrowserSync/browser-sync/compare/v2.29.3...v3.0.1

browser-sync - v2.29.1

Published by shakyShane over 1 year ago

browser-sync - The one that fixes snippetOptions

Published by shakyShane over 1 year ago

What's Changed

Full Changelog: https://github.com/BrowserSync/browser-sync/compare/v2.29.2...v2.29.3

browser-sync - The one that restores IE11 support 💪

Published by shakyShane over 1 year ago

What's Changed

esbuild does not support down-level transpiling as far as IE11 - so when I switched to it, it accidentally broke IE11 support 😢

This is an important issue for me - many devs that support old browsers like IE11 are doing so because their projects are used in public services, or internal applications. Not every developer out there has the luxury of supporting evergreen-only browsers.

So, IE11 will work once again 🎉. Please use the issues thread to make me aware of any problem that's preventing you from using Browsersync in your day job 💪 (and be sure to thumbs-up the issues you want to see resolved)

# IE11 works, again
npm install browser-sync@latest

Full Changelog: https://github.com/BrowserSync/browser-sync/compare/v2.28.3...v2.29.0

browser-sync - the one that finally removes `document.write`

Published by shakyShane over 1 year ago

What's Changed

Full Changelog: https://github.com/BrowserSync/browser-sync/compare/v2.27.12...v2.28.0

browser-sync - 2.27.9

Published by shakyShane over 2 years ago

What's Changed

A bug prevented the help output from displaying - it was introduced when the CLI parser yargs was updated, and is now fixed :)

Full Changelog: https://github.com/BrowserSync/browser-sync/compare/v2.27.8...v2.27.9

browser-sync - 2.27.8

Published by shakyShane over 2 years ago

browser-sync - added `snippet: boolean` option

Published by shakyShane over 3 years ago

This release adds a feature to address https://github.com/BrowserSync/browser-sync/issues/1882

Sometimes you don't want Browsersync to auto-inject it's connection snippet into your HTML - now you can disable it globally via either a CLI param or the new snippet option :)

browser-sync . --no-snippet

or in any Browsersync configuration

const config = {
  snippet: false,
};

the original request was related to Eleventy usage, so here's how that would look

eleventyConfig.setBrowserSyncConfig({
  snippet: false,
});
browser-sync - upgraded dependencies

Published by shakyShane over 3 years ago

This is a maintenance release to address 2 security related issues (socket.io & axios)

Happy Browsersync'in :)

browser-sync - 2.26.0 -> 2.26.3

Published by shakyShane about 6 years ago

fixes

  • application/wasm support - fixes #1598 d60cd916ff1c64a69fddaa5cd2ca1061f066266e
  • deps - ensure previous users of browser-sync-client are not affected by new structure - fixes #1615 0a2ff5a25d9e5ca7df7b1ec63a235f76a220ada6
  • npm audit fixes across all packages - fixes #1618 9f3fea4d0bef39b31c45e14cba669483f6e65448
browser-sync -

Published by shakyShane about 6 years ago

these notes describe the change from 2.24.6 -> 2.26.0

fixes

  • Removing default logger prefix [BS] - fixes #1607 257fba6d3fa3b4e77f526912a395625efcdebcb3
  • case-insensitive matching on domain key in proxy responses dacfc8bcedbd1f8e27a3ad4944aee44ff7f73533
  • bump chokidar fixing fsevents build - closes #1613 11729cc0a398d276a66d1883d1273f2fd3c1d36e
  • Unexpected Page Reload after Pausing in Debugger - fixes #1591 06ee1b7db8d3090f693dc8ba0650f3e7022463ae
  • scroll - add missing init method for window.name method of scroll restoring - fixes #1586 #1457 #1457 9e96603e2f8e859a5ae6fe921c7380787c706896
  • proxy Port gets unnecesarily rewritten in Proxy - fixes #1577 48286e0d09e35b06b5736be674ffe52105ba0a86

chore

  • move cypress to top-level dep 0d4ab8156b30bbdafbb202ee0f597d4ea5dc4d0b
  • package-lock files 900e23e321ffe2110068e3194b9d00d988ffb721
  • change API of option transforms ef12e9aa576d4395db9353d80761487ff4f82206

lerna

  • initial version 7c0ad4eaffbd1e1b9760277cce193692f0577bcd
  • more path updates c108af8ed973c74cdfecbf3cfb104e6b6c5e9bde
  • updated more stuff since the move to lerna 4ac3a49ce92b8eef8e6898962ae6aca1f48537c4
  • bring in server/client/ui d6198f92cccbb1945b5a0cff1a1a3328d3f505ce
  • add browser-sync-ui 325c7751cb583272fb69c56846dede9cf22c2d53

feature

  • adding 'listen' option to restrict binding of interfaces d6419160382fc45c739cac20679b9d7bbbcfee5b

docs

  • emphasize a couple of points - fixes #1461 cf0febd978b20e9c8b9bc0a8aa262e3b54972b98
  • added additional note about httpModule option - fixes #1485 16487adbc282f13b774d597ee729c57eec377cd1

deps

browser-sync - the `listen` option release

Published by shakyShane about 6 years ago

Browsersync can now be used in more restrictive areas, ones where you cannot simply bind to all addresses on the host (such as schools or universities) - this is enabled via the listen option.

For backwards compatibility reasons, we actually cannot use the host option to acheive this (even though that would make the most sense), as it would break some people's existing setups.

This is mainly because in the past, host was not used to determine an address to bind to, but rather just as a way of changing the urls Browsersync displays to the user. :( :( :(

It was a big mistake, but now with the sheer size of the user base we have, every tiny change to any existing option causes some kind of breakage. I'm not prepared to do that again with host.

So, instead we're back to the old method of instead adding a new option, that I've called listen. It's the only way we can acheive the goal without breaking existing users who are using host for other reasons.

The idea is that you'd only ever use the listen option if you want to restrict the address being bound to. For example, the following will serve files from the current directory, but behind the scenes Browsersync will only bind to localhost (this does mean that other features such as external urls will not work any more, but if you need this listen option in the first place, that will not be a concern for you)

npm i -g [email protected]
browser-sync . --listen localhost
browser-sync - Bug fixes

Published by shakyShane about 6 years ago

fix

  • Update opn to latest release b6ba0ddced02f746536042571d0b311185a50e63
  • scroll - add missing init method for window.name method of scroll restoring - fixes #1586 #1457 #1457 9e96603e2f8e859a5ae6fe921c7380787c706896
  • proxy Port gets unnecesarily rewritten in Proxy - fixes #1577 48286e0d09e35b06b5736be674ffe52105ba0a86

deps

browser-sync -

Published by shakyShane over 6 years ago

fix

  • update following npm audit - fixes #1559 dd70eba92b61f99bf9d67a6fcd825ee1d6e91964
  • TypeError when watchOptions.ignored is not an array - fixes #1563 90e7306a13a17a4624fe1e4817445e75a9d4bfae
browser-sync - Bug fix

Published by shakyShane over 6 years ago

fix

  • Remote Debug tools do not work - fixes #1556 a6d39e6e89f6a12e9a16e08b3bc71d76cc30f344
browser-sync - bug fixes

Published by shakyShane over 6 years ago

2.24.0 was a very large release - and with that, a handful of patch releases inevitably follow. Please move straight to 2.24.3 :)

fixes

  • Don’t always add "defaultIgnorePatterns" - fixes #1543 cc5118cf5382761f85bb34e3b40563046a3fdeb9
  • handle windows-style paths on the client - fixes #1553 11538454ff545fe8e540ddedc020c818736a828b
  • remove source-maps from client - fixes #1551 9cef9c11d008bee60b54f7219f53fa54d49a5eb1
  • support bs.reload('*.css') - fixes #1550 568e64e3f936c66ebee63a1f45832c42d742d232
  • (client) use correct npm lifecycle hook for prepublish - fixes #1549 b37e11ce6b60a05ef8c6064d69df069f56e9ebec
browser-sync - 2.24.0

Published by shakyShane over 6 years ago

Features

  • (client) rewrite to Typescript + RxJS 99a69ce9303ebf7a8077f18872705f2150e3353d
  • (client) make initial options available in initial payload 9d9dfb143e235b2d06af3a38d9097b8d98c9dbaf
  • (client) added injectNotification option & defaulted to false 06608fbe8d7e01fba19987f7de745af62535b57b
  • (client-js) allow functions in client:js hook 480378649db2b87b4c627ddc6ef772d0307115e5
  • (http-protocol) support POST requests over HTTP Protocol e4754c94a922263bf7f8c7e498a8214c3a33d66a

Fixes

  • (client, rxjs) fix imports to avoid the entire library being bundled b8685bcf5bcd4add21208eee4e6a6492437667b5
  • (cli) remove watch boolean when false b41f602bdae17db9ed4f5418719c4003646c0335

Dependencies

Tests

  • add cypress for integration tests 31bace2977a6489580d45e16dd0fe5a3ffa3ec87

misc

  • Resolved warning in tsconfig. 1c9ae4302debcfb63c9e93999c6c1ad60aff8972
  • Merge pull request #1547 from jgravois/patchbump localtunnel to resolve security vuln nag 8a957e9d954e500ffa35b2f3c2757cd449a12f86
  • bump localtunnel to resolve security vuln nag 31956ab67f919fa2c2787305ccce1d3e6cc9d1dd
  • Merge pull request #1544 from SergiuNegara/fix/steam-docs-spellingFix stream docs spelling 78c3854330a4cf58a97fee6cd0f41b81c476b531
  • Fix stream docs spellingChange teh to the 4ce533cec469c8ca45c9c6bca3bcfa8e52041369
browser-sync - Bug fix

Published by shakyShane over 6 years ago

  • fix(client): CSS injection broken in older browsers due to use of Array.from - fixes #1539 66dd19cd4f75a54d42e8c36711a06b9f7066052c