All notable changes to this project will be documented in this file. See standard-version for commit guidelines.
8.0.3 (2020-06-12)
- update deps
8.0.2 (2020-03-24)
- update deps
8.0.1 (2020-02-19)
- update deps
8.0.0 (2019-07-03)
- minimum require Node.js version is
10.13.0
.
7.1.0 (2019-07-03)
- Changed: minimum require Node.js version is
8.9.0
.
- Chore: migrate on
ip-regex
to avoid lodash vulnerable libraries
- Chore: minimum required
node-fs
version is now^7.0.1
.
- Chore: minimum required
nodejs
version is now>= 6.9.0
.
- Chore: minimum required
cosmiconfig
version is now^5.0.0
.
- Fix: throw error when
policy
option isnull
. - Chore: minimum required
meow
version is now^5.0.0
. - Chore: minimum required
node-fs
version is now^6.0.0
.
- Fix: allow empty values
Disallow
directive (according official spec). - Fix: don't generate empty
Clean-param
.
- Fix: typo in source code message errors.
- Chore: minimum required
cosmiconfig
version is now^4.0.0
.
- Chore: minimum required
node-fs
version is now^5.0.0
.
- Chore: minimum required
meow
version is now^4.0.0
.
- Changed: use `cosmiconfig for loading configuration.
- Feature: in CLI if the parent directory does not exist when you write
robots.txt
, it's created.
- Chore: update deps.
- Fixed:
is-absolute-url
package semver.
- Fixed:
host
options is now processed basedURL
. - Fixed: thrown error if the
host
option being IP address. - Fixed: clarified error message on multiple and not string the
userAgent
option. - Fixed:
Host
directive is now not containing80
port. - Fixed: thrown error if the
cleanParam
not string or array and if string not more than 500 characters. - Fixed: supported unicode characters in a
Allow
and aDisallow
directives. - Fixed: thrown error if the
sitemap
option not an array or a string and not an absolute URL.
- Chore: added CI test on
node.js
version7
. - Documentation: improve
README.md
and fix typos.
- Added:
crawlDelay
to eachpolice
item. - Added:
cleanParam
to eachpolice
item (used only Yandex bot). - Chore: used
remark-preset-lint-itgalaxy
preset. - Chore: updated
devDependencies
. - Chore: updated copyright year in
LICENSE
. - Chore: improved tests.
- Fixed: strict order directives for each
User-agent
. - Fixed: added newline after each
User-agent
. - Removed:
crawlDelay
fromoptions
. - Removed:
cleanParam
fromoptions
.