Releases: BrowserSync/browser-sync
upgraded dependencies
This is a maintenance release to address 2 security related issues (socket.io & axios)
Happy Browsersync'in :)
2.26.0 -> 2.26.3
v2.26.0
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
- initial version 7c0ad4e
- more path updates c108af8
- updated more stuff since the move to lerna 4ac3a49
- bring in server/client/ui d6198f9
- add browser-sync-ui 325c775
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
- [email protected] [email protected] [email protected] a6578a3
the `listen` option release
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
Bug fixes
v2.24.5
Bug fix
bug fixes
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
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
- upgrade [email protected] 0ad5f3a
- upgrade [email protected] f6ac69f
- upgrade [email protected] - fixes #1512 0e1dd37
- [email protected] 679fbbc
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
tothe
4ce533c