Skip to content

Commit e8e685c

Browse files
committed
chore: changelog and version bump for path validation (Item 7)
1 parent a8d4f7b commit e8e685c

3 files changed

Lines changed: 17 additions & 3 deletions

File tree

CHANGELOG.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,20 @@ All notable changes to this project will be documented in this file.
55
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
66
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
77

8+
## [Unreleased]
9+
10+
### Security
11+
12+
- `Pipeline.from_sql_files()` and `Pipeline.from_json_file()` now validate paths:
13+
directory traversal, disallowed extensions, and symbolic links are rejected.
14+
15+
### Changed
16+
17+
- **BREAKING:** `Pipeline.from_sql_files()` and `Pipeline.from_json_file()` reject
18+
symlinked paths, glob patterns that escape the directory, and files whose
19+
extension is not `.sql`/`.json`. Pass `allow_symlinks=True` to opt back into
20+
following symbolic links.
21+
822
## [0.0.3] - 2025-12-29
923

1024
### Added

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ build-backend = "hatchling.build"
44

55
[project]
66
name = "clgraph"
7-
version = "0.0.3"
7+
version = "0.0.4"
88
description = "Column lineage and pipeline dependency analysis for SQL"
99
readme = "README.md"
1010
requires-python = ">=3.10"

uv.lock

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)