Skip to content

Latest commit

 

History

History
178 lines (121 loc) · 8.52 KB

File metadata and controls

178 lines (121 loc) · 8.52 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

  • upgrade internal libraries versions

Deleted

[2.3.0] - 2026-03-06

Added

  • #110 Correction of NullPointerException in GCI2 rule
  • #82 Add rule GCI112 @dataclass(slots=True) should be declared on data classes
  • #108 Add rule GCI109 Avoid using exceptions for control flow
  • #109 Add rule GCI110 Avoid wildcard imports
  • #122 Add rule GCI111 Logging format, prefer using %s
  • #23 Correction of false positive in GCI4 with TypeVar

Changed

  • compatibility updates for SonarQube 25.12.0
  • upgrade libraries versions
  • update integration tests system to use the new component "creedengo-integration-test"
  • optimization of GCI101 rule implementation + correction of TI
  • technical optimization for dynamic versionning in maven (for next releases)

[2.2.0] - 2025-09-01

Added

  • #73 Add rule GCI100 Disable Gradient For model eval, a rule specific to PyTorch and AI/ML
  • #77 Add rule GCI104 AvoidCreatingTensorUsingNumpyOrNativePython, a rule specific to AI/ML code
  • #70 Add rule GCI108 Prefer Append Left (a rule to prefer the use of append over insert for list, using deques)
  • #78 Add rule GCI105 on String Concatenation. This rule may also apply to other rules
  • #74 Add rule GCI101 Avoid Conv Bias Before Batch Normalization, a rule specific to Deeplearning
  • #75 Add rule GCI102 avoid non pinned memory for dataloader. This rule is specific to PyTorch and so AI
  • #68 Data : Add rule GCI107 Avoid Iterative Matrix Operations. Use vectorization by the usage of the built-in functions of TensorFlow, NumPy or Pandas

[2.1.0] - 2025-08-02

Added

  • #69 Data : Add rule GCI99 Avoid CSV Format
  • #76 Add rule GCI103 Dictionary Items Unused. A rule specifying that dictionary iteration should consider the pertinence of the element used.
  • #79 Add rule GCI106 Avoid SQRT in a loop
  • #71 Data / AI : Add rule GCI96 Require Usecols Argument in Pandas Read Functions
  • #72 Add rule GCI97 Optimize square computation (scalar vs vectorized method)

Changed

  • compatibility updates for SonarQube 25.5.0
  • upgrade libraries versions
  • correction of technical problem with Integration tests (because of Maven format in technical answer to "sonar-orchestrator-junit5" library)
  • update from jdk 11 to 17
  • Add Lombok annotation processing inside maven-compiler plugin, to fix compile error on Arm64 architecture

[2.0.1] - 2025-03-14

Changed

  • #42 Correction of dead link
  • update some libraries versions / TU corrections / README.md correction (compatibility)
  • update sonarqube version to 25.3.0
  • upgrade actions/upload-artifact and actions/download-artifact from v3 to v4

[2.0.0] - 2024-12-12

Changed

  • #43 Strong renaming plugin from ecocode-python to creedengo-python (and maven groupid from io.ecocode to org.green-code-initiative)

[1.5.0] - 2024-10-04

Changed

  • refactoring docker system
  • #29 Add test to ensure all Rules are registered
  • #24 Set correct required language because the plugin wasn't loaded anymore - retro-compatibility modifications (9.9.0 to 10.7 and not compatible before 9.9.0) AND add support for > 10.5 Sonarqube version (up to 10.7.0)
  • update some maven plugin versions and library versions to be up-to-date
  • correction of SonarCloud issues

Deleted

  • deletion of EC69 rule because of already deprecated (see RULES.md file)

[1.4.4] - 2024-07-18

Added

  • #26 [EC89] Avoid unlimited cache

Changed

  • #22 Depreciation of EC69 rule for python because not relevant (after analysis)

Deleted

  • #22 Delete deprecated EC66 rule for Python

[1.4.3] - 2024-05-15

Added

  • #18 Add support for SonarQube 10.4 " DownloadOnlyWhenRequired" feature
  • Add Support for SonarQube 10.4.1

Changed

  • #17 EC7 - correction setter problem on constructor method
  • check Sonarqube 10.4.1 compatibility + update docker files and README.md / NOT OK with 10.5.x (issue created)

[1.4.2] - 2024-01-11

Changed

  • #14 Correction of error with deprecated EC34 rule
  • Update ecocode-rules-specifications to 1.4.7

[1.4.1] - 2024-01-05

Added

  • Add 10.3 SonarQube compatibility

Changed

  • #5 Upgrade licence system and licence headers of Java files
  • #6 Adding EC35 rule : EC35 rule replaces EC34 with a specific use case ("file not found" specific)
  • #7 Add build number to manifest
  • #123 Improve unit tests for EC7 rule
  • Update ecocode-rules-specifications to 1.4.6
  • README.md upgrade : docker test environment
  • #10 Correction of NullPointException in EC2 rule

Deleted

  • #4 Deprecate rule EC66 for Python because not applicable (see details inside issue)

[1.4.0] - 2023-08-08

Added

  • Python rules moved from ecocode repository to current repository
  • #142 new Python rule : Multiple if-else statement + refactoring implementation
  • #205 compatibility with SonarQube 10.1

Comparison list

unreleased 2.3.0 2.2.0 2.1.0 2.0.1 2.0.0 1.5.0 1.4.4 1.4.3 1.4.2 1.4.1 1.4.0