@speclynx/apidom-reference 2.13.1 → 3.0.0

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
@@ -3,6 +3,16 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ # [3.0.0](https://github.com/speclynx/apidom/compare/v2.13.1...v3.0.0) (2026-03-05)
7
+
8
+ ### Features
9
+
10
+ - introduce new memory efficient meta data management ([#129](https://github.com/speclynx/apidom/issues/129)) ([82ae0d7](https://github.com/speclynx/apidom/commit/82ae0d7cc2e9ee7037c3d9681817add2ca18dc92))
11
+
12
+ ### BREAKING CHANGES
13
+
14
+ - meta data use to be elements before, now they are simple primitives
15
+
6
16
  ## [2.13.1](https://github.com/speclynx/apidom/compare/v2.13.0...v2.13.1) (2026-02-28)
7
17
 
8
18
  ### Bug Fixes
package/README.md CHANGED
@@ -346,9 +346,9 @@ const parseResultFiltered = await parse('/path/to/arazzo.json', {
346
346
  // Access parsed source descriptions
347
347
  for (const element of parseResult) {
348
348
  if (element.classes.includes('source-description')) {
349
- console.log(toValue(element.meta.get('name'))); // e.g., 'petStore'
350
- console.log(toValue(element.meta.get('type'))); // e.g., 'openapi'
351
- console.log(toValue(element.meta.get('retrievalURI'))); // e.g., '/path/to/petstore.json'
349
+ console.log(element.meta.get('name')); // e.g., 'petStore'
350
+ console.log(element.meta.get('type')); // e.g., 'openapi'
351
+ console.log(element.meta.get('retrievalURI')); // e.g., '/path/to/petstore.json'
352
352
  }
353
353
  }
354
354
  ```
@@ -380,7 +380,7 @@ if (parsedDoc.errors.length > 0) {
380
380
  console.log('Parsing failed:', parsedDoc.errors);
381
381
  } else {
382
382
  console.log(parsedDoc.api.element); // e.g., 'openApi3_1'
383
- console.log(toValue(parsedDoc.meta.get('retrievalURI'))); // URI where it was fetched from
383
+ console.log(parsedDoc.meta.get('retrievalURI')); // URI where it was fetched from
384
384
  }
385
385
  ```
386
386
 
@@ -1889,7 +1889,7 @@ if (dereferencedDoc.errors.length > 0) {
1889
1889
  console.log('Dereferencing failed:', dereferencedDoc.errors);
1890
1890
  } else {
1891
1891
  console.log(dereferencedDoc.api.element); // e.g., 'openApi3_1'
1892
- console.log(toValue(dereferencedDoc.meta.get('retrievalURI'))); // URI where it was fetched from
1892
+ console.log(dereferencedDoc.meta.get('retrievalURI')); // URI where it was fetched from
1893
1893
  }
1894
1894
  ```
1895
1895