v0.0.2
What's new in v0.0.2
Expanded validator coverage (E011–E018)
Seven new error codes covering previously undetected spec violations:
- E011–E017 fill gaps in the MapLibre v8 spec: missing required fields, invalid enum values, malformed source/layer combinations, and more
- E018 validates paint and layout property value types — catches wrong types (string where number expected, etc.) and invalid CSS color strings using a full color parser
Ref layer validation
Layers that use ref to inherit from another layer are now validated: paint and layout properties are checked against the referenced layer's type, not skipped. Previously, ref layers were largely invisible to the validator.
Fix: ref layers without explicit type
Ref layers legally omit type (they inherit it). The validator no longer emits a false-positive type-missing error for these layers.
New linter rules (W013–W018)
Six new warning codes for best-practice checks:
- W013 — symbol layer missing
text-fieldoricon-image(empty symbol layer) - W014 — background layer with fully transparent color (invisible layer)
- W015 — paint stop values out of order in step/interpolate expressions
- W016 — color property overridden by a pattern fill (pattern makes the color unreachable)
- W017 — same for line layers
- W018 — heatmap layer missing
heatmap-colorexpression (defaults to invisible output)
Commits
70b9691 fix(ci): move commit list generation out of matrix into prepare job
95cf91a fix(ci): fix aarch64-linux cross-compilation in release workflow
4b3a3b3 fix: make layer_type optional to handle ref layers without type field
c389859 feat(linter): add W016/W017/W018 pattern-overrides-color and heatmap checks
6cacbda chore: replace manual modulo check with is_multiple_of()
6637561 chore: fix all clippy warnings
c9bac49 feat(linter): add W013/W014/W015 symbol and background layer checks
c9f3cc8 feat(validator): validate inherited paint/layout on ref layers
40381be fix(validator): change gradient properties to Any (require expressions per spec)
b1d33df chore: run cargo fmt on project
fcdf4f2 ci(release): add commit list to release summary
cbf2c67 ci: improve rust and release workflows
0152894 test(validator): add missing PropType::Array unit tests for E018
b5e8482 docs(validators): add E018 paint/layout value validation
2275c9a fix(validator): guard E018 against unknown props and Array-typed expression false positives
3af07f7 feat(validator): wire paint/layout value validation, emit E018
c6b0b86 feat(validator): add PropType table and validate_prop_value for E018
661b42e build: add csscolorparser for paint value color validation
107504a feat(validator): fill all known spec gaps (E011–E017)