Skip to content

Releases: sbaudoin/yamllint

v1.6.1

10 Dec 15:19
Compare
Choose a tag to compare
  • Fixes #64
  • Fixes an issues with the 'quoted-strings' rule

v1.6.0

12 Nov 15:16
Compare
Choose a tag to compare

Rules improvements and fixes:

  • Add new rule to detect undeclared, duplicated or unused anchors
  • Allow whitespace after the shebang marker
  • Don't crash on redundant closing brackets or braces
  • Fixed the way DOS files are handled
  • Prevent error when space before is mandatory in the 'colons' rule
  • Added type: platform config option to the 'new-lines' rule
  • Add a new rule 'float-values' to check floating-point numbers
  • Add forbid-in-block-sequences option to the 'empty-values' rule
  • Fix failing test for missing space after colon in the 'key-duplicates' rule
  • Prevent detection of 8 and 9 as octal values
  • Added allow-quoted-quotes option to the 'quoted-strings' rule
  • Add ignore-from-file configuration option. This allows the externalisation of file filter. Be careful that the syntax in such filters still remain regex (GitHub-like filters are not yet supported).
  • Fix indent-sequences in nested collections ('indentation' rule)
  • Add --list-files command line option to the batch script
  • The batch now also looks for configuration file in parent directories
  • Fix spurious "missing document end" errors

Fixed some code smells.

Added explicit Java module descriptor.

Added missing JavaDoc.

Updated some dependencies to the latest versions and removed some other dangling dependencies.

v1.5.0

02 Jan 20:08
Compare
Choose a tag to compare

Rules improvements and fixes:

  • Added forbid: non-empty option to the 'braces' rule
  • Added forbid: non-empty option to the 'brackets' rule
  • Fixed the rule 'quoted-strings' for explicit octal recognition
  • Fixed the 'line_length' rule to skip all hash signs starting comment

Fixed some code smells.

Now the library uses ServiceLoader to load rule classes instead of Reflections.

Updated the dependencies to the latest versions.

v1.4.0

20 Jun 20:09
Compare
Choose a tag to compare

Interface improvements:

  • Implements #34, new constructors with new InputStream & CharSequence methods
  • New run methods with a Reader as the YAML input

Rules improvements:

  • Rules now hold default values for their options
  • New forbid option for the braces rule
  • New forbid option for the brackets rule
  • New ignore-shebangs option for the comments rule
  • The rules can validate their configuration
  • Support rule list options
  • New required, extra-required and extra-allowed options for the QuotedStrings rule
  • New allowed-values and check-keys options for the truthy rule

Fixed some code smells.

v1.3.1

07 Nov 22:25
Compare
Choose a tag to compare

Various fixes, including a potential NPE

v1.3.0

07 Nov 17:05
Compare
Choose a tag to compare

Various improvements and bug fixing (#19, #24, #26)
The API now offers the possibility to process a java.io.InputStream and to pass a custom instance of org.yaml.snakeyaml.Yaml (#20)
The Shell script offers new features (#23):

  • New ption --no-warnings to show only the errors
  • New, improved output formats: 'colored', 'github', 'auto' (which becomes the default format)
  • Ability to read YAML from standard input, allowing the script to be embedded in Shell pipelines
  • In standard and colored outputs, the message now includes the detailed for syntax error (#15)

v1.2.2

10 Feb 17:01
Compare
Choose a tag to compare

Fixes issues #11 and #12

v1.2.1

09 Mar 14:43
Compare
Choose a tag to compare

Fixes issue #8

v1.2.0

16 Jan 21:59
Compare
Choose a tag to compare
  • New quoted strings rule to check that all strings are quoted the same way
  • Fixes issue #5

v1.1.0

30 Oct 21:06
Compare
Choose a tag to compare

This is a major issue that fixes issue #3: users are strongly encouraged to use this version as soon as possible