Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 14 additions & 0 deletions CHANGELOG.MD
Original file line number Diff line number Diff line change
@@ -1,5 +1,19 @@
# ChangeLog

## [4.11.0]

#### Changed

- Requires `datafog-core>=1.4.0`. Core's text-mode email scanning trims label
syntax by default, so `email=alice@example.com` reports `alice@example.com`,
quoted values drop the wrapping quote, and `SUPPORT_EMAIL=` labels stay out
of the span. Two recorded native-corpus divergences (`json-escaped`,
`markdown-code-block`) resolve and are removed from the reviewed deltas. The
`unicode-chinese-name` delta stays: its corpus fixture contains literal `?`
characters, which are valid local-part characters, so the reviewed
expectation remains overlap-only. The Rust contract review file moves to
`rust-1.4.0.json` with no new deviations: every recorded case still matches.

## [4.10.0]

#### Added
Expand Down
2 changes: 1 addition & 1 deletion datafog/__about__.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = "4.10.0"
__version__ = "4.11.0"
4 changes: 2 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
core_deps = [
# Native engine, the default detection path. Exact upper bound: detection
# output is contract-versioned and must stay reproducible.
"datafog-core>=1.3.0,<2",
"datafog-core>=1.4.0,<2",
"pydantic>=2.0,<3.0",
"pydantic-settings>=2.0.0",
"typing-extensions>=4.0",
Expand Down Expand Up @@ -88,7 +88,7 @@

extras_require = {
# Retained for explicitness; the base install already pulls Core.
"rust": ["datafog-core>=1.3.0,<2"],
"rust": ["datafog-core>=1.4.0,<2"],
"nlp": nlp_deps,
"nlp-advanced": nlp_advanced_deps,
"ocr": ocr_deps,
Expand Down
10 changes: 1 addition & 9 deletions tests/contracts/native-corpus.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,15 +41,7 @@
},
"unicode-chinese-name": {
"offsets_shifted": true,
"reason": "Core's default email boundary set does not include a CJK prefix; ENV/SQL format handling covers the Latin cases it ships today"
},
"json-escaped": {
"offsets_shifted": true,
"reason": "Core treats '=' as an assignment boundary under format: env, not by default"
},
"markdown-code-block": {
"offsets_shifted": true,
"reason": "Core treats the opening quote as part of the token under format: sql, not by default"
"reason": "The corpus fixture itself contains eleven ASCII '?' characters (a mangled CJK name); '?' is a valid RFC local-part character, so the email span includes them in every engine. Overlap is the reviewed expectation."
}
}
}
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"core_version": "1.3.0",
"core_version": "1.4.0",
"cases": {
"scan-observation-invalid-card": {
"classification": "detector-difference",
Expand Down
2 changes: 1 addition & 1 deletion tests/rust_contract.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

from tests.contract_481 import FIXTURE, observe

DEVIATIONS = Path(__file__).parent / "contracts" / "rust-1.3.0.json"
DEVIATIONS = Path(__file__).parent / "contracts" / "rust-1.4.0.json"
TARGETS = {
"datafog:scan",
"datafog:redact",
Expand Down
Loading