Release notes
*Sourced from [browser-sync's releases](https://github.com/BrowserSync/browser-sync/releases).*
> ## 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
>
> ```sh
> npm i -g browser-sync@2.25.0
> browser-sync . --listen localhost
> ```
>
>
> ## Bug fixes
> **fix**
> - Update opn to latest release b6ba0ddced02f746536042571d0b311185a50e63
> - scroll - add missing init method for window.name method of scroll restoring - fixes [#1586](https://github-redirect.dependabot.com/BrowserSync/browser-sync/issues/1586) [#1457](https://github-redirect.dependabot.com/BrowserSync/browser-sync/issues/1457) [#1457](https://github-redirect.dependabot.com/BrowserSync/browser-sync/issues/1457) 9e96603e2f8e859a5ae6fe921c7380787c706896
> - proxy Port gets unnecesarily rewritten in Proxy - fixes [#1577](https://github-redirect.dependabot.com/BrowserSync/browser-sync/issues/1577) 48286e0d09e35b06b5736be674ffe52105ba0a86
>
> **deps**
> - easy-extender@2.3.4 cypress@3.1.0 supertest@3.1.0 a6578a3adcc310386c10957e5dd3fdcd8d3b9a21
>
>
> ## v2.24.5
> **fix**
> - update following npm audit - fixes [#1559](https://github-redirect.dependabot.com/BrowserSync/browser-sync/issues/1559) dd70eba92b61f99bf9d67a6fcd825ee1d6e91964
> - TypeError when watchOptions.ignored is not an array - fixes [#1563](https://github-redirect.dependabot.com/BrowserSync/browser-sync/issues/1563) 90e7306a13a17a4624fe1e4817445e75a9d4bfae
>
Commits
- [`ec7b82d`](https://github.com/BrowserSync/browser-sync/commit/ec7b82dd6f38aa62f33c69d050b6079f44e52982) v2.26.0
- [`f83ba7e`](https://github.com/BrowserSync/browser-sync/commit/f83ba7e7210b89469ab63b680c065704e02ceca9) lerna whitespace to allow publish
- [`d7ca182`](https://github.com/BrowserSync/browser-sync/commit/d7ca1822bfd500adc2528d0045f67fe8fea5496e) v2.25.3-alpha.0
- [`257fba6`](https://github.com/BrowserSync/browser-sync/commit/257fba6d3fa3b4e77f526912a395625efcdebcb3) fix: Removing default logger prefix [BS] - fixes [#1607](https://github-redirect.dependabot.com/BrowserSync/browser-sync/issues/1607)
- [`cc8dfad`](https://github.com/BrowserSync/browser-sync/commit/cc8dfadb8cc385b200b7c821798cf94abcbc3050) v2.25.2-alpha.0
- [`d4c58b8`](https://github.com/BrowserSync/browser-sync/commit/d4c58b82e036a188d2d6ea1bba804dcd0bff6346) Merge branch 'master' into 1591-prevent-reload
- [`abc0124`](https://github.com/BrowserSync/browser-sync/commit/abc0124d27f2da980cc3736870257c37d6f3487d) Merge branch 'johanblumenberg-patch-1'
- [`dacfc8b`](https://github.com/BrowserSync/browser-sync/commit/dacfc8bcedbd1f8e27a3ad4944aee44ff7f73533) fix: proxy: case insensitive matching of cookie domain - fixes [#1606](https://github-redirect.dependabot.com/BrowserSync/browser-sync/issues/1606)
- [`11729cc`](https://github.com/BrowserSync/browser-sync/commit/11729cc0a398d276a66d1883d1273f2fd3c1d36e) fix: bump chokidar fixing fsevents build - closes [#1613](https://github-redirect.dependabot.com/BrowserSync/browser-sync/issues/1613)
- [`9eafa03`](https://github.com/BrowserSync/browser-sync/commit/9eafa035ad043a056b3b86c5401695ff8da4e3f1) v2.25.1-alpha.0
- Additional commits viewable in [compare view](https://github.com/BrowserSync/browser-sync/compare/v2.24.4...v2.26.0)
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot ignore this [patch|minor|major] version` will close this PR and stop Dependabot creating any more for this minor/major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
- `@dependabot use these labels` will set the current labels as the default for future PRs for this repo and language
- `@dependabot use these reviewers` will set the current reviewers as the default for future PRs for this repo and language
- `@dependabot use these assignees` will set the current assignees as the default for future PRs for this repo and language
- `@dependabot use this milestone` will set the current milestone as the default for future PRs for this repo and language
- `@dependabot badge me` will comment on this PR with code to add a "Dependabot enabled" badge to your readme
Additionally, you can set the following in your Dependabot [dashboard](https://app.dependabot.com):
- Update frequency (including time of day and day of week)
- Automerge options (never/patch/minor, and dev/runtime dependencies)
- Pull request limits (per update run and/or open at any time)
- Out-of-range updates (receive only lockfile updates, if desired)
- Security updates (receive only security updates, if desired)
Finally, you can contact us by mentioning @dependabot.
Bumps browser-sync from 2.24.4 to 2.26.0.
Release notes
*Sourced from [browser-sync's releases](https://github.com/BrowserSync/browser-sync/releases).* > ## 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 > > ```sh > npm i -g browser-sync@2.25.0 > browser-sync . --listen localhost > ``` > > > ## Bug fixes > **fix** > - Update opn to latest release b6ba0ddced02f746536042571d0b311185a50e63 > - scroll - add missing init method for window.name method of scroll restoring - fixes [#1586](https://github-redirect.dependabot.com/BrowserSync/browser-sync/issues/1586) [#1457](https://github-redirect.dependabot.com/BrowserSync/browser-sync/issues/1457) [#1457](https://github-redirect.dependabot.com/BrowserSync/browser-sync/issues/1457) 9e96603e2f8e859a5ae6fe921c7380787c706896 > - proxy Port gets unnecesarily rewritten in Proxy - fixes [#1577](https://github-redirect.dependabot.com/BrowserSync/browser-sync/issues/1577) 48286e0d09e35b06b5736be674ffe52105ba0a86 > > **deps** > - easy-extender@2.3.4 cypress@3.1.0 supertest@3.1.0 a6578a3adcc310386c10957e5dd3fdcd8d3b9a21 > > > ## v2.24.5 > **fix** > - update following npm audit - fixes [#1559](https://github-redirect.dependabot.com/BrowserSync/browser-sync/issues/1559) dd70eba92b61f99bf9d67a6fcd825ee1d6e91964 > - TypeError when watchOptions.ignored is not an array - fixes [#1563](https://github-redirect.dependabot.com/BrowserSync/browser-sync/issues/1563) 90e7306a13a17a4624fe1e4817445e75a9d4bfae >Commits
- [`ec7b82d`](https://github.com/BrowserSync/browser-sync/commit/ec7b82dd6f38aa62f33c69d050b6079f44e52982) v2.26.0 - [`f83ba7e`](https://github.com/BrowserSync/browser-sync/commit/f83ba7e7210b89469ab63b680c065704e02ceca9) lerna whitespace to allow publish - [`d7ca182`](https://github.com/BrowserSync/browser-sync/commit/d7ca1822bfd500adc2528d0045f67fe8fea5496e) v2.25.3-alpha.0 - [`257fba6`](https://github.com/BrowserSync/browser-sync/commit/257fba6d3fa3b4e77f526912a395625efcdebcb3) fix: Removing default logger prefix [BS] - fixes [#1607](https://github-redirect.dependabot.com/BrowserSync/browser-sync/issues/1607) - [`cc8dfad`](https://github.com/BrowserSync/browser-sync/commit/cc8dfadb8cc385b200b7c821798cf94abcbc3050) v2.25.2-alpha.0 - [`d4c58b8`](https://github.com/BrowserSync/browser-sync/commit/d4c58b82e036a188d2d6ea1bba804dcd0bff6346) Merge branch 'master' into 1591-prevent-reload - [`abc0124`](https://github.com/BrowserSync/browser-sync/commit/abc0124d27f2da980cc3736870257c37d6f3487d) Merge branch 'johanblumenberg-patch-1' - [`dacfc8b`](https://github.com/BrowserSync/browser-sync/commit/dacfc8bcedbd1f8e27a3ad4944aee44ff7f73533) fix: proxy: case insensitive matching of cookie domain - fixes [#1606](https://github-redirect.dependabot.com/BrowserSync/browser-sync/issues/1606) - [`11729cc`](https://github.com/BrowserSync/browser-sync/commit/11729cc0a398d276a66d1883d1273f2fd3c1d36e) fix: bump chokidar fixing fsevents build - closes [#1613](https://github-redirect.dependabot.com/BrowserSync/browser-sync/issues/1613) - [`9eafa03`](https://github.com/BrowserSync/browser-sync/commit/9eafa035ad043a056b3b86c5401695ff8da4e3f1) v2.25.1-alpha.0 - Additional commits viewable in [compare view](https://github.com/BrowserSync/browser-sync/compare/v2.24.4...v2.26.0)Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase
.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot ignore this [patch|minor|major] version` will close this PR and stop Dependabot creating any more for this minor/major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) - `@dependabot use these labels` will set the current labels as the default for future PRs for this repo and language - `@dependabot use these reviewers` will set the current reviewers as the default for future PRs for this repo and language - `@dependabot use these assignees` will set the current assignees as the default for future PRs for this repo and language - `@dependabot use this milestone` will set the current milestone as the default for future PRs for this repo and language - `@dependabot badge me` will comment on this PR with code to add a "Dependabot enabled" badge to your readme Additionally, you can set the following in your Dependabot [dashboard](https://app.dependabot.com): - Update frequency (including time of day and day of week) - Automerge options (never/patch/minor, and dev/runtime dependencies) - Pull request limits (per update run and/or open at any time) - Out-of-range updates (receive only lockfile updates, if desired) - Security updates (receive only security updates, if desired) Finally, you can contact us by mentioning @dependabot.