ata-validator 1.0.0 → 1.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -2,6 +2,12 @@
2
2
 
3
3
  All notable changes to ata-validator are documented here. The format follows [Keep a Changelog](https://keepachangelog.com/), and this project adheres to semantic versioning.
4
4
 
5
+ ## 1.0.1 - 2026-07-16
6
+
7
+ ### Fixed
8
+
9
+ - `version()` reported 0.10.4 on platforms with a native prebuild: the `ATA_VERSION` constant in `include/ata.h` had not been bumped since 0.10.4 and the native answer takes precedence over `lib/version.js`. The header now carries the real version and the version-sync test checks it, so it cannot drift again.
10
+
5
11
  ## 1.0.0 - 2026-07-15
6
12
 
7
13
  1.0 is a stability commitment, not a feature release. The API surface, the error result shape, and the error code registry are now covered by the semver guarantees in [docs/STABILITY.md](docs/STABILITY.md).
package/include/ata.h CHANGED
@@ -8,16 +8,16 @@
8
8
  #include <variant>
9
9
  #include <vector>
10
10
 
11
- #define ATA_VERSION "0.10.4"
11
+ #define ATA_VERSION "1.0.1"
12
12
 
13
13
  namespace ata {
14
14
 
15
- inline constexpr uint32_t VERSION_MAJOR = 0;
16
- inline constexpr uint32_t VERSION_MINOR = 10;
17
- inline constexpr uint32_t VERSION_REVISION = 4;
15
+ inline constexpr uint32_t VERSION_MAJOR = 1;
16
+ inline constexpr uint32_t VERSION_MINOR = 0;
17
+ inline constexpr uint32_t VERSION_REVISION = 1;
18
18
 
19
19
  inline constexpr std::string_view version() noexcept {
20
- return "0.10.4";
20
+ return ATA_VERSION;
21
21
  }
22
22
 
23
23
  enum class error_code : uint8_t {
package/lib/version.js CHANGED
@@ -7,4 +7,4 @@
7
7
  //
8
8
  // Kept in lockstep with package.json by `tests/test_version_sync.js`.
9
9
 
10
- module.exports = '1.0.0';
10
+ module.exports = '1.0.1';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ata-validator",
3
- "version": "1.0.0",
3
+ "version": "1.0.1",
4
4
  "description": "JSON Schema validation with first-class TypeScript and zero runtime cost. AOT compile to per-schema ESM modules with zero validator dependency. Generic Validator<T> for TypeBox/Zod/Valibot composition. Optional runtime API. Standard Schema V1 compatible.",
5
5
  "main": "index.js",
6
6
  "module": "index.mjs",