npm install seagull@7.2.1 # or yarn add seagull@7.2.1 Due to the fix in circular references, you might now receive CIRCULAR_REF errors that were previously silent. This is a good thing—it prevents undefined behavior. Update your error handlers to catch this new error code. The most significant change is the removal of the $data keyword (JSON Schema extension for data references) in favor of native $dynamicRef . Also, the asynchronous API has changed:
In the ever-evolving landscape of software development, data validation remains a cornerstone of robust application architecture. Among the pantheon of tools available for JavaScript and Node.js, one name has consistently surfaced for its balance of performance, compliance, and developer experience: Seagull .
| Validator | Version | Ops/sec | Memory (RSS) | Compliance | | :--- | :--- | :--- | :--- | :--- | | | 7.2.1 | 14,832 ops/sec | 42 MB | 100% | | Seagull | 7.2.0 | 11,450 ops/sec | 51 MB | 99.8% | | Ajv | 8.12.0 | 13,100 ops/sec | 68 MB | 99.5% | | @cfworker/json-schema | 2.0.2 | 9,200 ops/sec | 55 MB | 98.1% |
implements a lazy evaluation tracker. In internal benchmarks, validating a complex schema with 500 dynamic properties saw a 73% reduction in validation time . For API gateways processing thousands of requests per second, this is a game-changer. 2. Fixed Recursive $ref Deadlock A subtle bug existed in the reference resolver when encountering circular references across multiple files (e.g., User.json referencing Group.json , which referenced back to User.json ). Version 7.2.0 would either throw a cryptic MaxStackSizeExceeded or hang indefinitely.
Seagull 7.2.1, JSON Schema validator, Node.js validation, Draft 2020-12, circular reference fix, TypeScript strict mode.
const validate = await seagull.compileAsync(schema);
npm install seagull@7.2.1 # or yarn add seagull@7.2.1 Due to the fix in circular references, you might now receive CIRCULAR_REF errors that were previously silent. This is a good thing—it prevents undefined behavior. Update your error handlers to catch this new error code. The most significant change is the removal of the $data keyword (JSON Schema extension for data references) in favor of native $dynamicRef . Also, the asynchronous API has changed:
In the ever-evolving landscape of software development, data validation remains a cornerstone of robust application architecture. Among the pantheon of tools available for JavaScript and Node.js, one name has consistently surfaced for its balance of performance, compliance, and developer experience: Seagull . Seagull 7.2.1
| Validator | Version | Ops/sec | Memory (RSS) | Compliance | | :--- | :--- | :--- | :--- | :--- | | | 7.2.1 | 14,832 ops/sec | 42 MB | 100% | | Seagull | 7.2.0 | 11,450 ops/sec | 51 MB | 99.8% | | Ajv | 8.12.0 | 13,100 ops/sec | 68 MB | 99.5% | | @cfworker/json-schema | 2.0.2 | 9,200 ops/sec | 55 MB | 98.1% | npm install seagull@7
implements a lazy evaluation tracker. In internal benchmarks, validating a complex schema with 500 dynamic properties saw a 73% reduction in validation time . For API gateways processing thousands of requests per second, this is a game-changer. 2. Fixed Recursive $ref Deadlock A subtle bug existed in the reference resolver when encountering circular references across multiple files (e.g., User.json referencing Group.json , which referenced back to User.json ). Version 7.2.0 would either throw a cryptic MaxStackSizeExceeded or hang indefinitely. The most significant change is the removal of
Seagull 7.2.1, JSON Schema validator, Node.js validation, Draft 2020-12, circular reference fix, TypeScript strict mode.
const validate = await seagull.compileAsync(schema);