Skip to content

Releases: BrowserSync/browser-sync

upgraded dependencies

24 Jan 18:56
Compare
Choose a tag to compare

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

Happy Browsersync'in :)

2.26.0 -> 2.26.3

13 Oct 12:49
Compare
Choose a tag to compare

fixes

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

v2.26.0

06 Oct 11:49
Compare
Choose a tag to compare

these notes describe the change from 2.24.6 -> 2.26.0

fixes

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

chore

  • move cypress to top-level dep 0d4ab81
  • package-lock files 900e23e
  • change API of option transforms ef12e9a

lerna

feature

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

docs

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

deps

  • npm audit for localtunnel - fixes #1587 27f2173
  • easy-extender@2.3.4 cypress@3.1.0 supertest@3.1.0 a6578a3

the `listen` option release

06 Oct 09:52
Compare
Choose a tag to compare

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 browser-sync@2.25.0
browser-sync . --listen localhost

Bug fixes

26 Aug 19:37
Compare
Choose a tag to compare

fix

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

deps

  • easy-extender@2.3.4 cypress@3.1.0 supertest@3.1.0 a6578a3

v2.24.5

24 Jun 20:28
Compare
Choose a tag to compare

fix

  • update following npm audit - fixes #1559 dd70eba
  • TypeError when watchOptions.ignored is not an array - fixes #1563 90e7306

Bug fix

03 May 20:31
Compare
Choose a tag to compare

fix

bug fixes

03 May 11:57
Compare
Choose a tag to compare

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 cc5118c
  • handle windows-style paths on the client - fixes #1553 1153845
  • remove source-maps from client - fixes #1551 9cef9c1
  • support bs.reload('*.css') - fixes #1550 568e64e
  • (client) use correct npm lifecycle hook for prepublish - fixes #1549 b37e11c

2.24.0

29 Apr 20:59
Compare
Choose a tag to compare

Features

  • (client) rewrite to Typescript + RxJS 99a69ce
  • (client) make initial options available in initial payload 9d9dfb1
  • (client) added injectNotification option & defaulted to false 06608fb
  • (client-js) allow functions in client:js hook 4803786
  • (http-protocol) support POST requests over HTTP Protocol e4754c9

Fixes

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

Dependencies

Tests

  • add cypress for integration tests 31bace2

misc

  • Resolved warning in tsconfig. 1c9ae43
  • Merge pull request #1547 from jgravois/patchbump localtunnel to resolve security vuln nag 8a957e9
  • bump localtunnel to resolve security vuln nag 31956ab
  • Merge pull request #1544 from SergiuNegara/fix/steam-docs-spellingFix stream docs spelling 78c3854
  • Fix stream docs spellingChange teh to the 4ce533c

Bug fix

20 Apr 06:30
Compare
Choose a tag to compare
  • fix(client): CSS injection broken in older browsers due to use of Array.from - fixes #1539 66dd19c