gedcom-ts 2026.6.0 → 2026.6.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 +6 -0
- package/README.md +3 -3
- package/dist/booklet.cjs +1 -1
- package/dist/booklet.mjs +1 -1
- package/dist/index.cjs +1 -1
- package/dist/index.mjs +1 -1
- package/dist/version.d.ts +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,12 @@
|
|
|
2
2
|
|
|
3
3
|
All notable changes of gedcom-ts
|
|
4
4
|
|
|
5
|
+
## [2026.6.1] - 2026-06-09
|
|
6
|
+
|
|
7
|
+
### Fixed
|
|
8
|
+
|
|
9
|
+
- **FORM / MEDI élargis** : TIFF, HEIC, BMP, SVG, MOV, MKV, DjVu, PDF, Office (DOCX, ODT, XLSX), CSV, HTML, SRT, etc. ; PDF et documents numériques → `MEDI ELECTRONIC` (conforme `enumset-MEDI` GEDCOM 7, plus `DOCUMENT`).
|
|
10
|
+
|
|
5
11
|
## [2026.6.0] - 2026-06-01
|
|
6
12
|
|
|
7
13
|
### Added
|
package/README.md
CHANGED
|
@@ -28,7 +28,7 @@ A graphical demo showcasing the public API (import a `.ged` / `.zip`, browse the
|
|
|
28
28
|
## Package
|
|
29
29
|
|
|
30
30
|
- NPM: [gedcom-ts](https://www.npmjs.com/package/gedcom-ts)
|
|
31
|
-
- Current release **`2026.6.
|
|
31
|
+
- Current release **`2026.6.1`** — audio / OBJE / oral history. Version format **CalVer** `AAAA.M.micro` (e.g. `2026.6.1` = June 2026, micro release). See [CHANGELOG.md](CHANGELOG.md).
|
|
32
32
|
- Entry points:
|
|
33
33
|
- **`gedcom-ts`** — import, model, edit layer, export, geocoding
|
|
34
34
|
- **`gedcom-ts/booklet`** — PDF livret (`pdf-lib` en peerDependency, chargé depuis `node_modules`)
|
|
@@ -898,7 +898,7 @@ const version = resolveDatasetVersion(headLines); // "7.0" | "5.5" | "unknown"
|
|
|
898
898
|
|
|
899
899
|
#### `guessMediaFormFromUri(uri)`
|
|
900
900
|
|
|
901
|
-
Best-effort media type detection from a path/URI or local `File` (`file.type` when set). Covers images, **audio** (mp3, **webm**, ogg, wav, m4a, flac, …), video,
|
|
901
|
+
Best-effort media type detection from a path/URI or local `File` (`file.type` when set). Covers images (incl. **tiff**, **heic**, svg), **audio** (mp3, **webm**, ogg, wav, m4a, flac, …), **video** (mp4, mov, mkv, …), subtitles (vtt, srt), and documents (pdf, djvu, docx, odt, xlsx, csv, html). Used to fill `OBJE`.`FILE`.`FORM`. Pair with `guessMediFromForm` for `MEDI` (`AUDIO`, `PHOTO`, `VIDEO`, `ELECTRONIC`, …). `refineGenericObjeForm` upgrades legacy `application/octet-stream` exports using the file extension.
|
|
902
902
|
|
|
903
903
|
```ts
|
|
904
904
|
import { guessMediaFormFromUri, guessMediaFormFromFile } from "gedcom-ts";
|
|
@@ -930,7 +930,7 @@ const primary = selectPrimaryNameVariant(person.nameVariants);
|
|
|
930
930
|
|
|
931
931
|
#### `GEDCOM_LIBRARY_VERSION`
|
|
932
932
|
|
|
933
|
-
CalVer string written in exported `HEAD`.`SOUR`.`VERS` (same value as the npm package version, e.g. `2026.6.
|
|
933
|
+
CalVer string written in exported `HEAD`.`SOUR`.`VERS` (same value as the npm package version, e.g. `2026.6.1`).
|
|
934
934
|
|
|
935
935
|
```ts
|
|
936
936
|
import { GEDCOM_LIBRARY_VERSION } from "gedcom-ts";
|