Skip to content

Latest commit

 

History

History
324 lines (228 loc) · 10.3 KB

CHANGELOG.md

File metadata and controls

324 lines (228 loc) · 10.3 KB

Change Log

v0.13.0 (2023-10-01)

Rules Added

  • MD055 - Tables: Each row must start and end with a '|' (PR #464)
  • MD056 - Tables: Number of columns is the same for all rows (PR #464)
  • MD057 - Tables: In the second row every column must have at least '---', possibly surrounded with alignment ':' chars (PR #464)

Added

  • Add SARIF output (PR #459)
  • Document DCO process better (PRs #448 and #449)

Changed

  • MD009 - Allow exactly 2 trailing spaces by default (PR #452)
  • MD033 - Add allowed_elements parameter (PR #450)
  • Updated build instructions (PR #431)

Fixed

  • MD027 - handle anchor elements correctly (PR #463)
  • Fix examples for RULES.md for MD007 (PR #462)
  • Fix links to use https instead of http (PR #447)
  • Make RULES.md comply with our own rules (PR #439)
  • Fix docker builds (#429)

v0.12.0 (2022-10-17)

Rules Added

  • MD047 - File should end with a blank line

Added

  • New 'docs' method on rules to provide a URL and longer description
  • docker_image-based pre-commit

Changed

  • Changed the default for MD007 to 3 spaces to match minimum spaces for ordered lists
  • Added option :ignore_code_blocks to rule MD010. If set to true, hard tabs in code blocks will be ignored.
  • Added option :ignore_code_blocks to rule MD013. If set to true, hard tabs in code blocks will be ignored. The option :code_blocks has been marked as deprecated in the documentation. If :code_blocks is set to false in the configuration, a deprecation warning is printed.
  • Improved documentation on custom rules and rulesets
  • Handle non-printable characters gracefully
  • Support configurable sublist styles for MD004

Fixed

  • Fixed directory argument with --git-recurse
  • Preserve empty lines at the end of a file

v0.11.0 (2020-08-22)

Fixed

  • Fixed crash when using -g
  • Fixed missing dependencies in docker image

v0.10.0 (2020-08-08)

Added

  • More examples of mdlrc and style files
  • Added CI for Rubocop and Markdownlint on our own repo

Fixed

  • Update Dockerfile to work with modern mdl
  • Update minimum version of kramdown for security advisory
  • Update minimum version of rubocop for security advisory

v0.9.0 (2020-02-21)

Changed

  • PR #302: Better error messages on missing styles
  • PR #297: Use require_relative to speed up requires
  • PR #155: Bumped alpine version in the Dockerfile

Fixed

  • PR #286: Fix crash in --json
  • PR #293: Handle codeblocks that are nested
  • PR #284: Fix handling of blockquoted list items

v0.8.0 (2019-11-08)

Changed

  • PR #282: Don't ship test / example files in the gem artifact

Fixed

  • PR #238: Handle newlines on Windows better

v0.7.0 (2019-10-24)

Added

  • Pull request and issue templates for users and contributors
  • Move to kramdown 2
  • Handle Kramdown TOC
  • Loosen various dependencies and move minimum ruby version to 2.4

v0.6.0 (2019-10-19)

Added

  • There are now CONTRIBUTING.md and MAINTAINERS.md docs
  • There is now a .pre-commit-hooks.yaml for those who want to use pre-commit.com

Changed

  • PR #248: Ignore blank line after front matter
  • PR #231: Only import JSON when necessary (#223)
  • PR #265: Use newere mixlib-cli
  • PR #246: Nicer error message when activating nonexistent rule
  • PR #241: Fix documentation on ignore_front_matter
  • PR #245: Update docs to use "MY" prefix for custom rule example
  • PR #256: Fix crash in MD039 when the link text is empty
  • PR #229: Reference Node.js markdownlint
  • PR #232: Added table of contents to RULES.md for easier navigation
  • PR #219: Fix typos in MD046 docs
  • PR #222: Fixed MD036 crash

Removed

v0.5.0 (2018-07-01)

Added

  • Add md042 to enforce code block style
  • JSON formatter/output

Changed

  • PR #200: allow different nesting on headers duplication check
  • MD036 - Ignore multi-line emphasized paragraphs, and emphasized paragraphs that end in punctuation (#140)

Fixed

  • PR #168: fix issue numbers false positives
  • Fix issue #102: lint MD039 checking for nodes inside link text

v0.4.0 (2016-08-22)

Added

  • Ignore yaml front matter option (#130, #143)

Changed

  • Allow top level header rules (MD002, MD025, MD041) to be configurable (#142)

Fixed

  • Read UTF-8 files correctly even if locale is set to C (#135, #146, #147, #148)
  • Fix issues loading .mdlrc file (#126, #129, #133, #148)
  • Fix erroneous triggering of MD022/MD023 in some cases (#144)
  • Detect codeblock lines correctly when ignoring them (#141)

v0.3.1 (2016-03-20)

Fixed

  • Fix error on starting mdl

v0.3.0 (2016-03-19)

Rules added

  • MD041 - First line in file should be a top level header

Added

  • You can now load your own custom rules with the -u option. See rules.rb for an example of what a rules file looks like. Use the -d option if you don't want to load markdownlint's default ruleset.
  • You can now refer to rules by human-readable/writable aliases, such as 'ul-style' instead of 'MD004'. See RULES.md for a list of the rule aliases. You can pass the -a option to display rule aliases instead of MDxxx rule IDs.

Changed

  • MD003 - An additional header style, setext_with_atx, was added to require setext style headers for levels 1 and 2, but allow atx style headers for levels 3 and above (i.e. header levels that can't be expressed with setext style headers)
  • MD013 - You now have the option to exclude code blocks and tables from the line length limit check.

Fixed

  • Crash with MD034 and pipe character (#93, #97)
  • MD031 failed on nested code blocks (#100, #109)
  • MD037 crashes on
  • with underscores (#83)
  • Regression introduced in v0.2.1 - ignoring rules/tags on the command line caused a crash (#108)
  • MD027 false positive when line starts with a backtick (#105)

Merged pull requests

v0.2.1 (2015-04-13)

Fixed

  • Incorrect parsing of rules/tags specification in .mdlrc (#81)
  • Exception on image links with MD039 (#82)
  • MD037 flags on two words beginning with underscores on the same line. (#83)

Known issues

  • Exception on some lines with raw html list items in them (#83)

v0.2.0 (2015-04-13)

Rules added

  • MD033 - Inline HTML
  • MD034 - Bare URL used
  • MD035 - Horizontal rule style
  • MD036 - Emphasis used instead of a header
  • MD037 - Spaces inside emphasis markers
  • MD038 - Spaces inside code span elements
  • MD039 - Spaces inside link text
  • MD040 - Fenced code blocks should have a language specified

Added

  • Trailing spaces rule should allow an excemption for deliberate <br/> insertion.
  • Rules can be excluded in .mdlrc and on the command line by specifying a rule as ~MD000.

Merged pull requests

v0.1.0 (2015-02-22)

Rules added

  • MD031 - Fenced code blocks should be surrounded by blank lines
  • MD032 - Lists should be surrounded by blank lines

Fixed

  • MD014 triggers when it shouldn't

Merged pull requests

v0.0.1 (2014-09-07)

Rules added

  • MD001 - Header levels should only increment by one level at a time
  • MD002 - First header should be a h1 header
  • MD003 - Header style
  • MD004 - Unordered list style
  • MD005 - Inconsistent indentation for list items at the same level
  • MD006 - Consider starting bulleted lists at the beginning of the line
  • MD007 - Unordered list indentation
  • MD009 - Trailing spaces
  • MD010 - Hard tabs
  • MD011 - Reversed link syntax
  • MD012 - Multiple consecutive blank lines
  • MD013 - Line length
  • MD014 - Dollar signs used before commands without showing output
  • MD018 - No space after hash on atx style header
  • MD019 - Multiple spaces after hash on atx style header
  • MD020 - No space inside hashes on closed atx style header
  • MD021 - Multiple spaces inside hashes on closed atx style header
  • MD022 - Headers should be surrounded by blank lines
  • MD023 - Headers must start at the beginning of the line
  • MD024 - Multiple headers with the same content
  • MD025 - Multiple top level headers in the same document
  • MD026 - Trailing punctuation in header
  • MD027 - Multiple spaces after blockquote symbol
  • MD028 - Blank line inside blockquote
  • MD029 - Ordered list item prefix
  • MD030 - Spaces after list markers