v1.0.1
Schema formats
Two new ways to register ajv formats so custom-tag schemas can use { "format": "..." } value rules:
createLinter({ formats })— programmatic hook, passed through toloadSchemaRegistryandajv.addFormat.formatsModulein.htmlmustache.jsonc— relative path to a JS/TS module whose default export isRecord<string, SchemaFormat>. The CLI and the language server dynamically import it once per process. Load failures surface ascustomTagSchemadiagnostics.
loadConfigFile and loadConfigFileForPath are now async (the dynamic import happens during config load).
Documentation
- Worked example in the README showing how to express parent-conditional child-attribute constraints in plain JSON Schema 2020-12 (no DSL extensions). Solves the recurring "when parent has attr X, child of tag Y must not have attr Z" pattern.
- Notes on the trust boundary
formatsModuleintroduces (the CLI / extension runs that file in-process).
Internal
- ADR directory removed.