Releases: aimscrape/scrapling-schema
Releases · aimscrape/scrapling-schema
v1.1.3
v1.1.2
Full Changelog: v1.1.1...v1.1.2
v1.1.1
Full Changelog: v1.1.0...v1.1.1
v1.1.0
[1.1.0] - 2026-03-05
Added
attr: "innerHTML"for HTML content extraction (replaces the legacyhtml: trueflag).
Changed
typeis now required for every field.- Arrays must be declared with a typed generic:
type: "array<string>",type: "array<integer>",type: "array<number>",type: "array<boolean>", ortype: "array<object>"(plaintype: "array"is rejected). - String outputs are stripped automatically;
innerHTMLis never stripped. - Numeric/boolean coercion is driven by
type(no conversion transforms). defaultValueis a field-level key (same level ascss/type/transform), not part of transforms.
Fixed
Removed
- Removed legacy field flags
text: trueandhtml: true. - Removed
list: trueanditems: { type: ... }in favor oftype: "array<...>". - Removed
options.defaults/text_transform. - Removed transforms:
strip,to_int,to_float, and{ default: ... }. - Python typed spec: removed
Field.listand theDefaulttransform helper.
v0.1.1
Full Changelog: https://github.com/aimscrape/scrapling-schema/commits/v0.1.1