diff --git a/HISTORY.md b/HISTORY.md index 20aa79ea8..b5ca2a0d6 100644 --- a/HISTORY.md +++ b/HISTORY.md @@ -1,6 +1,25 @@ # Release Notes -### v1.17.3 - 2024-12-17 +## v1.17.4 - 2025-01-20 + +### New Features + +* Update the warning that's displayed when using HMA on complex schemas - Issue [#2277](https://github.com/sdv-dev/SDV/issues/2277) by @R-Palazzo + +### Bugs Fixed + +* Release Notes generator is creating new notes incorrectly - Issue [#2348](https://github.com/sdv-dev/SDV/issues/2348) by @amontanez24 +* Support the ability to pass in `None` for both `get_column_plot` and `get_column_pair_plot` - Issue [#2343](https://github.com/sdv-dev/SDV/issues/2343) by @R-Palazzo +* Metadata `anonymize` doesn't produce the right `METADATA_SPEC_VERSION` - Issue [#2304](https://github.com/sdv-dev/SDV/issues/2304) by @R-Palazzo +* GaussianCopula `get_learned_distributions` crashes if nothing was learned - Issue [#2297](https://github.com/sdv-dev/SDV/issues/2297) by @R-Palazzo +* Sampling with HMA Synthesizer generates many `SingleTableMetadata` deprecation warnings - Issue [#2290](https://github.com/sdv-dev/SDV/issues/2290) by @R-Palazzo + +### Maintenance + +* Include stack trace when sampling errors are surfaced - Issue [#2326](https://github.com/sdv-dev/SDV/issues/2326) by @amontanez24 +* Combine `static_code_analysis.yml` with `release_notes.yml` - Issue [#2305](https://github.com/sdv-dev/SDV/issues/2305) by @R-Palazzo + +## v1.17.3 - 2024-12-17 ### Maintenance diff --git a/static_code_analysis.txt b/static_code_analysis.txt index 0c64474c5..bd5e43b1f 100644 --- a/static_code_analysis.txt +++ b/static_code_analysis.txt @@ -1,18 +1,6 @@ -Run started:2024-12-17 20:19:16.200992 +Run started:2025-01-17 16:23:18.747664 Test results: ->> Issue: [B105:hardcoded_password_string] Possible hardcoded password: '# Release Notes - -' - Severity: Low Confidence: Medium - CWE: CWE-259 (https://cwe.mitre.org/data/definitions/259.html) - More Info: https://bandit.readthedocs.io/en/1.7.7/plugins/b105_hardcoded_password_string.html - Location: ./scripts/release_notes_generator.py:134:12 -133 -134 token = '# Release Notes\n\n' -135 split_index = history.find(token) + len(token) + 1 - --------------------------------------------------- >> Issue: [B110:try_except_pass] Try, Except, Pass detected. Severity: Low Confidence: High CWE: CWE-703 (https://cwe.mitre.org/data/definitions/703.html) @@ -43,6 +31,16 @@ Test results: 17 assert path.exists(), 'The expected file was not found.' 18 module_path = path.parent +-------------------------------------------------- +>> Issue: [B306:blacklist] Use of insecure and deprecated function (mktemp). + Severity: Medium Confidence: High + CWE: CWE-377 (https://cwe.mitre.org/data/definitions/377.html) + More Info: https://bandit.readthedocs.io/en/1.7.7/blacklists/blacklist_calls.html#b306-mktemp-q + Location: ./sdv/logging/utils.py:23:19 +22 else: +23 tmp_path = tempfile.mktemp(dir=store_path, suffix='.yml') +24 shutil.copyfile(config_path, tmp_path) + -------------------------------------------------- >> Issue: [B110:try_except_pass] Try, Except, Pass detected. Severity: Low Confidence: High @@ -59,29 +57,29 @@ Test results: Severity: Low Confidence: High CWE: CWE-703 (https://cwe.mitre.org/data/definitions/703.html) More Info: https://bandit.readthedocs.io/en/1.7.7/plugins/b110_try_except_pass.html - Location: ./sdv/multi_table/hma.py:354:12 -353 index.append(foreign_key_value) -354 except Exception: -355 # Skip children rows subsets that fail -356 pass -357 + Location: ./sdv/multi_table/hma.py:355:12 +354 index.append(foreign_key_value) +355 except Exception: +356 # Skip children rows subsets that fail +357 pass +358 -------------------------------------------------- Code scanned: - Total lines of code: 12942 + Total lines of code: 12855 Total lines skipped (#nosec): 0 Total potential issues skipped due to specifically being disabled (e.g., #nosec BXXX): 0 Run metrics: Total issues (by severity): Undefined: 0 - Low: 6 - Medium: 0 + Low: 5 + Medium: 1 High: 0 Total issues (by confidence): Undefined: 0 Low: 0 - Medium: 2 - High: 4 + Medium: 1 + High: 5 Files skipped (0):