Skip to content

Latest commit

 

History

History
393 lines (250 loc) · 19.3 KB

CHANGELOG.md

File metadata and controls

393 lines (250 loc) · 19.3 KB

Changelog

All notable changes to this project will be documented in this file.

The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.

[Unreleased]

Added

Changed

Deleted

[1.6.5] - 2024-10-18

Changed

[1.6.4] - 2024-10-04

Deleted

  • deletion of deprecated python EC34 and EC69 rules

[1.6.3] - 2024-07-26

Added

  • #308 Implementing EC24 in Java

[1.6.2] - 2024-07-17

Added

  • C# #54 [EC92] [C#] Use string.Length instead of comparison with empty string
  • C# #61 [EC91] [C#] Use Where before OrderBy

Changed

  • Python #282 Depreciate unrelevant EC69 rule for Python

Deleted

[1.6.1] - 2024-06-13

Added

  • C# #66 [EC93] [C#] Return Task directly
  • JAVA #323 [EC94] [Java] Use orElseGet instead of orElse

[1.6.0] - 2024-06-03

Added

  • #293 [EC513] Swift port
  • #310 EC515 Swift port
  • #306 Swift port of rule EC514
  • #315 Add rule EC530 for javascript
  • #321 Add rule EC522 for javascript (avoid brightness override)
  • Python #26 [EC89] [Python] Avoid unlimited cache

Changed

  • #318 Implement the rule EC523 for React Native

Deleted

  • #318 Merge the rule EC8 with EC523

[1.5.4] - 2024-05-24

Added

  • #298 Add HTML rule EC36 (Avoid autoplay for videos and audio content)
  • C# #36 [EC86] [C#] GC.Collect should not be called
  • C# #42 [EC87] [C#] Use collection indexer
  • C# #44 [EC88] [C#] Dispose resource asynchronously

Changed

  • mobile #302 Big cleanup / sorting of mobile related rules
  • C# #304 [EC81] [C#] Fix type in json spec to allow import into Sonarqube

[1.5.3] - 2024-05-03

Changed

  • PHP #23 Deprecation of EC22 rule for PHP (waiting for measurement) - correction

[1.5.2] - 2024-05-02

Changed

  • PHP #23 Deprecation of EC22 rule for PHP (waiting for measurement)

[1.5.1] - 2024-04-29

Added

  • Swift rules cleanup and updates (removed duplicated rules, added [EC602])
  • C# #18 [EC81] [C#] Specify struct layout
  • C# #285 [EC82] [C#] Variable can be made constant
  • C# #286 [EC83] [C#] Replace Enum ToString() with nameof
  • C# #27 [EC84] [C#] Avoid async void methods
  • C# #34 [EC85] [C#] Make type sealed

[1.5.0] - 2024-02-02

Added

  • #269 Add new Javascript rule EC31 (Prefer lighter formats for image files)

Changed

Deleted

  • #272 Remove deprecated java rules EC4, EC53, EC63 and EC75

[1.4.7] - 2024-01-11

Changed

  • #123 Rule EC7 not implementable neither Java nor PHP
  • Depreciation of rule EC34 for Python and PHP to replace it by EC35

[1.4.6] - 2023-12-30

Changed

  • #266 enable automatic publish of ecocode-rules-specifications to Maven Central

[1.4.5] - 2023-12-30

Deleted

  • #182 delete java plugin sources because it was moved to new repository ecoCode-java

[1.4.4] - 2023-12-29

Changed

  • RULES.md upgrades
  • technical upgrade for maven central publication

Deleted

  • #182 disable java plugin beacasue moved to new repository ecoCode-java

[1.4.3] - 2023-12-19

Added

  • #248 EC2 : Add tests to prove there is no problem with 'instanceof' operator

Changed

  • #123 Complete resources for EC7 rule for Python language
  • Update ecocode-rules-specifications to 0.0.10

Deleted

  • #4 Deprecate rule EC66 for Python because not applicable (see details inside issue)
  • #240 Deprecate rule EC53 for Java because of no good arguments and not enough green measures
  • #258 Deprecate rule EC63 for Java because there are already 3 native Sonarqube rules that cover the same use cases
  • #259 Deprecate rule EC75 for Java because not applicable since JDK8

[1.4.2] - 2023-12-05

Added

  • #224 Add Swift rules from ecocode-ios to ecocode-rules-specifications

Changed

  • Update ecocode-rules-specifications to 0.0.9

Deleted

  • #243 Deprecate rule EC4 for Java because not applicable

[1.4.1] - 2023-12-04

Changed

  • ios#3 Move iOS rules into centralized rules repository
  • android#67 Move Android rules into centralized rules repository
  • ios#3 Move iOS rules into centralized rules repository
  • #103 Upgrade RULES.md: set proposed HTML rule "HTML page must contain a doctype tag" as refused with link to the justification
  • #106 Upgrade RULES.md : rule EC67 not relevant neither for Python nor Rust
  • #112 Updating EC1 rule to add controls on streams
  • #128 Adding EC35 rule for Python and PHP : EC35 rule replaces EC34 with a specific use case ("file not found" sepcific)
  • #132 Upgrade RULES.md: set proposed Python rule "Use numpy array instead of standard list" as refused with link to the justification
  • #136 Upgrade rule EC53 for Python : no implementation possible for python
  • #140 Upgrade rule EC3 for Python : no implementation possible for python
  • #185 Add build number to manifest
  • #216 Upgrade rule EC2 for Java : Multiple if-else statement improvment
  • #225 Upgrade licence system and licence headers of Java files
  • #247 Upgrade rule EC2 for Java : float and double types deleted because of non compatibility with rule

[1.4.0] - 2023-08-08

Added

  • #205 compatibility with SonarQube 10.1
  • #210 Publish to Maven Central (module ecocode-rules-specifications)

Deleted

  • #182 Split repository : move Python module to new ecoCode-python repository
  • #182 Split repository : move Php module to new ecoCode-php repository

[1.3.1] - 2023-07-19

Added

  • #207 Add release tag analyzis on SonarCloud

Deleted

  • #211 Move JavaScript plugin to its dedicated repository

[1.3.0] - 2023-07-04

Added

  • #108 new Python rule EC66 : Use single quote (') instead of quotation mark (")
  • #109 new PHP rule EC3 : Getting the size of the collection in the loop. For further RULES.md file
  • #113 new Python rule EC10 : Use unoptimized vector images
  • #127 new Python rule EC404 : Usage of generator comprehension instead of list comprehension in for loop declaration
  • #190 Add Python rule: Use unoptimized vector images
  • #191 Update rule tags for Java, Python, and PHP plugins
  • #192 new Python rule EC203 : Detect unoptimized file formats
  • Add JavaScript rules from ecoCode ESLint plugin v0.2.0

Changed

  • #19 process changed for development environment installation : easier to initialize locally environment (check INSTALL.md file)
  • #187 upgrade librairies to SonarQube 10.0.0
  • #196 updating PHP files to make them following the coding standards (PSR-12)
  • #201 Clean-up plugins and dependencies
  • technical : upgrade of maven plugins versions

[1.2.1] - 2023-04-18

Changed

  • #180 correction of SonarQube review for MarketPlace (sonar plugin)

[1.2.0] - 2023-04-14

Added

  • #171 Add migration mechanism to support "issue re-keying"

Changed

  • #161 Remove unnecessary junit dependencies in pom.xml
  • #166 Correction of wrong message of rule EC63
  • #167 Use same kind for rules across different languages
  • #173 Update issue description of rule EC34 (try-catch)

[1.1.0] - 2023-04-03

Changed

  • #63 Update plugins to be compliant for SonarQube MarketPlace integration ( PR #79 )
  • #88 upgrade rules matrix with new ids + refactoring rules documentation (RULES.md)

Deleted

  • #85 Cleaning some useless classes on PHP plugin

[1.0.0] - 2023-03-24

Added

  • #44 Update the PHP description rules
  • #67 Add JavaScript plugin
  • add ecocode tag on all rules on Java, PHP, Python and javascript plugins

Changed

  • #40 Refactoring of package names (cnumr to greencodeinitiative)
  • #55 rename eco-conception tag of rules to eco-design
  • #58 check and upgrade compatibility to SonarQube 9.9
  • move common init scripts to ecoCode-common repository
  • modifying documentation and move CONTRIBUTING.md, CODE_STYLE.md and INSTALL.md to common doc in ecoCode-common repository
  • security / performance optimizations : correction of sonarcloud.io security hotspots (java / php, python) and move Pattern compilation to static attribute
  • #64 Python: ecoCode plugin with SonarQube, no code-smell detection
  • #65 Create a test project to check new plugin rule in real environment
  • #71 After an PHP analysis, no ecocode code smells appears in my Sonar project
  • #76 correction of SonarQube plugins homepage link broken
  • documentation upgrade

Deleted

  • cleaning old files (move them to ecoCode-archive repository)

[0.2.2] - 2023-01-19

Added

  • #23 Add images to the description files.
  • #46 Add CONTRIBUTING.MD, CODE_OF_CONDUCT.md and CODE_STYLE.md

Changed

  • #27 Fix [WARNING] Maven-shade-plugin overlapping classes and upgrade SonarRuntime.
  • #33 Update plugin description in code
  • #42 Fix Crash SonarQube analysis because of some ClassCast Exceptions
  • #48 correction SONAR issue info - delete public keyword on tests
  • Improve "build" GitHub actions to execute checks on branches from fork repositories

[0.2.1] - 2022-12-30

Changed

  • #22 Error when running sonar scan with ecocode

[0.2.0] - 2022-12-28

Added

  • #15 Upgrade some versions + sonar version from 9.3 to 9.8
  • #17 improve releasing system
  • #25 Release management vs maven packaging (not the same version)

Changed

  • documentation upgrade (internal)

[0.1.1] - 2022-12-20

Added

  • #161 adding tool to update tags of native rules with our custom tags

Changed

  • documentation upgrade (internal)
  • optimization/refactoring on pom.xml dependencies (internal)

[0.1.0] - 2022-12-14

Added

  • First official release of ecocode plugins : java plugin, php plugin and python plugin

Comparison List

unreleased 1.6.5 1.6.4 1.6.3 1.6.2 1.6.1 1.6.0 1.5.4 1.5.3 1.5.2 1.5.1 1.5.0 1.4.7 1.4.6 1.4.5 1.4.4 1.4.3 1.4.2 1.4.1 1.4.0 1.3.1 1.3.0 1.2.1 1.2.0 1.1.0 1.0.0 0.2.2 0.2.1 0.2.0 0.1.1 0.1.0