This release only removes findings. Four checks reported against documents
that their own schema accepts, all of them because a requirement introduced by
one VAST version was applied to every version. Nothing new fires, so a tag that
passed on 0.11.1 still passes. Tags that failed on attributes their spec never
required now pass, or report warnings instead of errors.
Fixed
-
A VAST 1.0 document is named as one instead of being called malformed.
VAST 1.0's root element is<VideoAdServingTemplate>, so every 1.0 tag
collectedVAST-2.0-root-elementat error severity, message "Root element
must be<VAST>". That describes a document written to a published IAB spec
as broken. Legacy 1.0 tags are still served, and the four samples IAB ships in
its own VAST 1-2.0 sample set are all of this shape.The rule now recognises the root, reports it as a warning naming the version
("Document is VAST 1.0 ... superseded by VAST 2.0 and is not validated
further"), and stops. VAST 1.0 has its own element vocabulary (<Video>,
<URL>inside<Impression>), so continuing would report every element of a
correct 1.0 document as unknown. -
<Mezzanine>attributes are required from 4.1, not from 4.0. VAST 4.0
declares<Mezzanine>as a barexs:anyURIelement with no attributes at all
(<xs:element name="Mezzanine" type="xs:anyURI">).delivery,type,
widthandheightarrive in 4.1, where it becomes a complexType. A 4.0
document with a mezzanine URL produced four errors for attributes its schema
does not define. The fourVAST-4.1-mezzanine-*rules are now gated on 4.1+. -
<Icon>placement attributes drop to warning on 4.x. VAST 3.0 §2.3.6.4
marksprogram,width,height,xPositionandyPositionrequired, and
they stay errors there. The 4.1 and 4.2 XSDs declare all five without ause
attribute, which makes them optional, and the 4.3 Icon attribute table has no
required column at all. A player still needs dimensions and position to place
an icon, so 4.x omissions are still reported, as warnings. -
vendorandapiFrameworkdrop to warning on 4.0. VAST 4.0 introduced
<AdVerifications>withvendoron<Verification>andapiFrameworkon
<JavaScriptResource>bothuse="optional"in vast4.xsd. The requirement is
4.1 prose (the 4.1 and 4.2 schemas still say optional; it only reaches the
schema in the 4.4 draft).VAST-4.1-verification-vendorand
VAST-4.1-js-resource-apiframeworkstay errors from 4.1 and are warnings on
4.0.Default severities in the rule catalog are unchanged: they describe the
version that made the attribute required, andRULES.mdlists defaults.
Changed
-
Every in-repo version number now equals the released tag. They had drifted
across 0.5.0 (server.json), 0.6.2 (crates and npm), 0.9.1 (Chrome) and
0.10.1 (VS Code) while every published artifact carried the tag, because CI
stamps the tag into each of them at build time and never pushes the result.
Nothing shipped was ever wrong. The stale values only misled readers of the
repo, and made a localcargo run --versionreport 0.6.2.RELEASE.mdis the cause and is rewritten: it asked for manual VS Code and
Chrome version bumps that CI overwrites, so those numbers were maintained by
hand and published by nobody. It now states the tag as the single source,
lists which job stamps which file, and drops the manual steps.Two earlier entries name extension versions that were never published
(0.9.0/0.8.0 in 0.10.0, 0.10.0/0.9.0 in 0.11.0). The Marketplace received
0.10.0 and 0.11.0. Left as written rather than rewriting released notes. -
README.mdshowedvastlint-core = "0.1"as the dependency snippet and
ROADMAP.mdstill described the core library as v0.8. Both now say 0.11.