Releases: zavoloklom/docker-compose-linter
Releases · zavoloklom/docker-compose-linter
v3.1.0
3.1.0 (2025-07-24)
Features
Code Refactoring
- move helper functions from formatters to utils (b658fc6)
Tests
Dependencies
- dev: bump @eslint/js from 9.28.0 to 9.29.0 (0e64353)
- dev: bump @eslint/js from 9.29.0 to 9.30.1 (86462b1)
- dev: bump @rollup/plugin-commonjs from 28.0.3 to 28.0.5 (20f62b8)
- dev: bump @rollup/plugin-commonjs from 28.0.5 to 28.0.6 (4fed72b)
- dev: bump @rollup/plugin-typescript from 12.1.2 to 12.1.3 (0e14b44)
- dev: bump @rollup/plugin-typescript from 12.1.3 to 12.1.4 (c9c89a7)
- dev: bump @types/node from 22.15.18 to 22.15.31 (5dba50b)
- dev: bump @types/node from 22.15.31 to 22.15.32 (9d54729)
- dev: bump eslint from 9.28.0 to 9.29.0 (1136e18)
- dev: bump eslint-plugin-prettier from 5.4.1 to 5.5.0 (894df7f)
- dev: bump eslint-plugin-sonarjs from 3.0.2 to 3.0.3 (58d6dc3)
- dev: bump rollup from 4.43.0 to 4.44.2 (d0f9a84)
- dev: bump semantic-release from 24.2.5 to 24.2.6 (e342f64)
- dev: bump typescript-eslint from 8.34.0 to 8.34.1 (10b81bb)
Documentation
- add BenRoe as a contributor for ideas (38dc698), closes #220
- add GitLab CI Component usage example (0e9aa6a)
- add link to online version (1fe752e), closes #220
- add MegaLinter section (13fc2c5), closes #150
- add OhMyMndy as a contributor for code (7e55a15)
- add wesley-dean as a contributor for ideas (a961f75), closes #150
- fix GitLab CI Example (bd3be31)
- fix table format (c906e69)
- update GitHub Action usage example (6d6e913)
- update Support section (374cddd)
- update Supported Versions (19c3dac)
CI/CD
- add exit early if no release (1d727c5)
- add workflow_dispatch for CodeQL and Scorecard (029a28b)
- change codacy reporter script (ae3611c)
- deps: bump actions/download-artifact from 4.1.8 to 4.3.0 (9b1669f)
- deps: bump docker/build-push-action from 6.10.0 to 6.18.0 (25d6df2)
- deps: bump docker/login-action from 3.3.0 to 3.4.0 (adf8cdf)
- deps: bump docker/setup-buildx-action from 3.10.0 to 3.11.1 (177aa0b)
- deps: bump docker/setup-buildx-action from 3.8.0 to 3.10.0 (7950537)
- deps: bump github/codeql-action from 3.28.13 to 3.29.0 (f51951a)
- deps: bump github/codeql-action from 3.29.0 to 3.29.2 (ab96e14)
- deps: bump ossf/scorecard-action from 2.4.0 to 2.4.2 (c006a4a)
- deps: bump step-security/harden-runner from 2.11.0 to 2.12.1 (40edaa8)
- deps: bump step-security/harden-runner from 2.12.1 to 2.12.2 (6631244)
- fix release job (cb83a0d)
- restrict permissions for GITHUB_TOKEN (198fad8)
- update node version for debug step (20f286d)
Others
- add FUNDING file (4c05b38)
- apply security best practices (6f65d68)
- implement new eslint ruleset (@typescript-eslint/ban-ts-comment) (b88091d)
- implement new eslint ruleset (@typescript-eslint/naming-convention) (aeaadef)
- implement new eslint ruleset (func-style to Function Expression) (e297b97)
- implement new eslint ruleset (id-lenght) (4a78b74)
- implement new eslint ruleset (import/no-default-export) (0638679)
- implement new eslint ruleset (import/order) (7734abf)
- implement new eslint ruleset (no-console, camelcase, prefer-named-capture-group) (424b7f8)
- implement new eslint ruleset (no-magic-numbers) and refactor rules tests (a67fea5)
- implement new eslint ruleset (no-undefined) (51c10f0)
- implement new eslint ruleset (require-unicode-regexp) (7a7ef86)
- implement new eslint ruleset (unicorn/no-array-for-each) ([cc36fa1](https://github.com/zavoloklom/docker-compose-l...
v3.0.0
3.0.0 (2025-06-12)
⚠ BREAKING CHANGES
- update node version to 22.15
- update docker compose schema
- minimum node.js versions now ^20.19.0
Features
- add data field to message (74d2e47)
- add github annotations formatter and rdjson formatter for reviewdog (c596ab2)
- add option to disable rules from cli with
--disable-ruleflag (9d99184), closes #103 - service-image-require-explicit-tag: add lts to prohibited tags (d477301), closes #104
- update docker compose schema (5be01d8)
- update node version to 22.15 (a23a960)
Bug Fixes
Code Refactoring
- create config loader (a771313)
- extract parse/stringify helpers with shared YAML formatting options, fix line wrapping (8c52317), closes #136
- move rules types to separate file, add RuleName type, remove default config from linter (e95df79)
Tests
- add tests for Linter (28c2d95)
Dependencies
- bump yaml from 2.6.1 to 2.7.0 (f41fe6c)
- dev: bump @types/node from 20.17.10 to 20.17.11 (7cb36b1)
- dev: bump markdownlint-cli2 from 0.17.0 to 0.17.1 (ce89104)
- docker: bump alpine from 3.19 to 3.21 (3867f4e)
- docker: bump libstdc++ from 13.2 to 14.2 (1fa98d8)
- update npm dependencies (3769eb7)
- update npm dependencies (6a08912)
- update npm dependencies (e75fceb)
Documentation
- add GitHub Actions usage example (8ec71b8)
- add Horstage as a contributor for ideas (65da8bc)
- add s-weigand as a contributor for ideas (04ee454)
- add usage example for
pre-commitintegration (2a5390d)
CI/CD
- deps: update dependencies (6519ed7)
Others
v2.2.2
2.2.2 (2025-01-01)
Bug Fixes
Dependencies
- dev: bump @rollup/plugin-replace from 6.0.1 to 6.0.2 (d89c2b8)
- dev: bump @semantic-release/release-notes-generator (80fafe5)
- dev: bump markdownlint-cli2 from 0.16.0 to 0.17.0 (5a4efb3)
Documentation
- update
changelog:fixscript (e22c38d)
CI/CD
- deps: bump actions/checkout from 4.1.1 to 4.2.2 (42f0da7)
- deps: bump actions/upload-artifact from 4.4.3 to 4.5.0 (4628a66)
- deps: bump github/codeql-action from 3.27.9 to 3.28.0 (ad72e8f)
- deps: bump ossf/scorecard-action from 2.3.1 to 2.4.0 (25b17f8)
Others
- change commit message prefix for dependabot (fc12c00)
v2.2.1
2.2.1 (2024-12-18)
Bug Fixes
- skip YAML separators when searching for
dclintcomments and process the first non-empty line (a8de08e), closes #69
Dependencies
- dev: bump @commitlint/cli from 19.6.0 to 19.6.1 (b769851)
- dev: bump @rollup/plugin-commonjs from 28.0.1 to 28.0.2 (f70e576)
- dev: bump @rollup/plugin-node-resolve from 15.3.0 to 16.0.0 (6bd0206)
- dev: bump @rollup/plugin-typescript from 12.1.1 to 12.1.2 (5bb8940)
- dev: bump @stylistic/eslint-plugin from 2.11.0 to 2.12.1 (30cd5f2)
- dev: bump @types/node from 20.17.9 to 20.17.10 (8f20d9a)
- dev: bump c8 from 10.1.2 to 10.1.3 (91c027c)
- dev: bump eslint-import-resolver-typescript from 3.6.3 to 3.7.0 (7f91608)
CI/CD
v2.2.0
2.2.0 (2024-12-15)
Features
- move rules options to a separate property for better extensibility (929123a)
- rename rules-loader, add getRuleDefinition helper (292c6f9)
Code Refactoring
- change
Logger.initto return the initializedLoggerinstance (b80549d)
Tests
- move helper function to normalize strings to separate file (2c70a44)
Dependencies
Documentation
- add logo to README header (288246b)
- add TOC in README and rename sections (96f8711)
- change release reference in rules documentation (39f6745)
- fix all-contributors badge (cd3186b)
- fix json example for editor autocompletion with schema (64a04a6)
- make rules documentation more consistent (095133e)
- update Contacts section in README (9f963de)
- update rules descriptions (1fdbd1f)
Others
v2.1.0
v2.0.2
v2.0.1
2.0.1 (2024-12-06)
Bug Fixes
- npm package should not minify code (5de14dd)
CI/CD
- change dockerfile for multi-platform build on CI (3d05b2e)
Dependencies
- bump yaml from 2.6.0 to 2.6.1 (705da6c)
Documentation
Others
- change markdownlint config file extension for codacy (f0eb0ed)
- deps-dev: bump @stylistic/eslint-plugin from 2.10.1 to 2.11.0 (5954f00)
- deps-dev: bump @types/node from 20.17.6 to 20.17.7 (8943ce9)
- deps-dev: bump @types/node from 20.17.7 to 20.17.9 (b49decb)
- deps-dev: bump eslint-plugin-unicorn from 56.0.0 to 56.0.1 (42dc1dd)
- deps-dev: bump typescript from 5.6.3 to 5.7.2 (5c68de5)
- ignore warning in tests (95a427c)
- setup commitlint and husky git hooks (067bb49)
v2.0.0
2.0.0 (2024-11-22)
⚠ BREAKING CHANGES
- Renamed
bin/dclint.jstobin/dclint.cjs. - Docker entrypoint changed to use the compiled binary over the Node.js implementation.
New Rules
- no-unbound-port-interfaces-rule: require port bindings to include interface ip (cbf7739)
Features
- add Disabling Rules via Comments feature (9f2768a)
- change building system to rollup, compiling linter into a binary (dc0ebcf)
- cli: add
--max-warningsoption to enforce warning threshold (712a8df) - no-build-and-image-rule: add
checkPullPolicyoption to allow simultaneous usage ofbuildandimage(7a01d07) - require-quotes-in-ports-rule: handle "expose" section similar to "ports (601a50f)
- schema: update docker compose schema from source (f4e0a36)
Bug Fixes
- change handling ports when it is a yamlMa (2e1a97d)
- require-quotes-in-ports-rule: ensure single port values are wrapped in quotes (a7316a9)
Dependencies
- bump yaml from 2.5.1 to 2.6.0 (2924e3e)
- dev: bump @semantic-release/github from 11.0.0 to 11.0.1 (3cfe923)
- dev: bump @stylistic/eslint-plugin from 2.9.0 to 2.10.1 (5f8ccfe)
- dev: bump @types/node from 20.16.10 to 20.16.13 (39be7f5)
- dev: bump @types/node from 20.16.13 to 20.17.1 (44e2c80)
- dev: bump @types/node from 20.17.1 to 20.17.6 (7d3e5aa)
- dev: bump ava from 6.1.3 to 6.2.0 (e726cac)
- dev: bump markdownlint-cli2 from 0.14.0 to 0.15.0 (a6e10ae)
- dev: bump semantic-release from 24.1.2 to 24.2.0 (844a516)
- dev: bump tsimp from 2.0.11 to 2.0.12 (7ae8289)
- dev: bump tslib from 2.7.0 to 2.8.0 (3ce911b)
- dev: bump tslib from 2.8.0 to 2.8.1 (870a37a)
- dev: bump typescript from 5.5.4 to 5.6.3 (37033c5)
Documentation
- no-unbound-port-interfaces-rule: rename rule and add documentation (6649594)
CI/CD
- add Hadolint check (5918926)
Others
v1.0.7
1.0.7 (2024-10-26)
Others
- deps-dev: bump @semantic-release/github from 10.3.5 to 11.0.0 (fcf7151)
- deps-dev: bump @stylistic/eslint-plugin from 2.8.0 to 2.9.0 (73e3f13)
- deps-dev: bump @types/node from 20.16.5 to 20.16.10 (2599b91)
- deps-dev: bump eslint-plugin-import from 2.30.0 to 2.31.0 (dbcd009)
- deps-dev: bump eslint-plugin-unicorn from 55.0.0 to 56.0.0 (2a92689)
- deps-dev: bump esmock from 2.6.7 to 2.6.9 (98d2f92)
- deps-dev: bump semantic-release from 24.1.1 to 24.1.2 (cdc1963)
- update dependabot config (321fa32)