Releases: jbenner-radham/node-readme-md-cli
Releases · jbenner-radham/node-readme-md-cli
v0.20.0
Changed
- The required Node.js version is now
>=20.5.0. - The license over to the BSD 3-Clause License.
Fixed
- A bug where various methods on the
GitHubUrlclass were returning false positives for non-GitHub URLs. - A bug which could cause the app to crash when creating various badges if an invalid repository URL was processed.
v0.19.1
Security
- Addressed a ReDoS vulnerability in the
cross-spawnmodule, which is a dependency of dependencies.
v0.19.0
Changed
v0.18.0
v0.17.0
Added
- Detection of
LICENSE.rstlicense files. - Detection of lowercase license files (e.g.,
license,license.md,license.rst,license.txt). - Interactive mode. Now when
readme-mdis invoked from the command line you will be prompted with questions. This behavior is negated when running in a CI environment or if the--non-interactiveflag is used.
Fixed
- An issue where the default Git branch would not be detected.
v0.16.0
Added
- The "shortcut syntax" for the
repositoryproperty inpackage.jsonis now supported. See here for reference.
Changed
- The license badge alt text to be more descriptive.
v0.15.0
Added
- Documented the
descriptionconfig option indoc/README.md. - Detection of pnpm.
- A
prefer-npmconfig option, which can have a Boolean value. Setting this totruewill cause the examples in the "Install" and "Testing" sections to always use npm. Defaults tofalse. - A
prefer-semicolonsconfig option, which can have a Boolean value. This parameter decides whether statements in the autogenerated "Usage" section should be terminated by a semicolon. Defaults totrue. - A
quote-typeconfig option, which can have a value of either "double" or "single". This parameter decides what quote type to use in the autogenerated "Usage" section. Defaults to "single".
Changed
- Upgraded
meowandreadme-mddependencies. - Updated the generated alt text for badge images to be more descriptive.
- If no
.config/readme-md/sections/usage.mdfile is present a basic "Usage" section will now be autogenerated.
Security
- Addressed three vulnerabilities in dependencies of dependencies by rebuilding the lockfile.
v0.14.0
Changed
- Updated "Usage" section of
README.md. - Configuration (e.g.,
.config/readme-md/config.yaml) variables are now normalized as camelCase internally which means config variables can be in the form of camelCase, kebab-case, snake_case, etc. - Upgraded
yarn-lockfile-existsdependency which improves filepath logic for Windows environments. - The required Node.js version is now ^18.19.0 || >=20.5.0.
Fixed
- Fix typo in 0.13.0 section of changelog.
v0.13.0
Added
- The GitHub Actions badge option has been added to the
readme-md initconfig.
Changed
- Change over to ES Modules from CommonJS.
- The minimum required Node.js is now v16.
- Generated fenced code blocks for shell script (e.g., the Install and Testing sections) no longer have a dollar sign prefix.
- For packages which are MIT licensed the value "(Expat)" is no longer suffixed in the generated License section.
- Passing no license or an empty license will now output "To be documented." in the body of the License section.
- Project config now supports and prioritizes
.config/readme-md/config.yamlfiles. The search order goes like so:config.yamlthenconfig.yml. - The filepath logic for has been changed to better accommodate Windows environments.
- The alt tags for badge images are now in title case where appropriate.
Removed
- Removed support for Travis-CI badges.