gedcom-ts 2026.6.2 → 2026.6.4

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,18 @@
2
2
 
3
3
  All notable changes of gedcom-ts
4
4
 
5
+ ## [2026.6.4] - 2026-06-13
6
+
7
+ ### Fixed
8
+
9
+ - **Noms exportés GEDCOM 7** : les guillemets du premier prénom (`1 NAME "Jean" /Dupont/`) n’apparaissent plus dans l’affichage ni les initiales après réimport — `personDisplayName`, `personInitialsFromPerson`, `formatPersonNameFromVariant` (voir README § `PersonNameVariant`).
10
+
11
+ ## [2026.6.3] - 2026-06-13
12
+
13
+ ### Changed
14
+
15
+ - **Import / export GEDZIP** : retour à **fflate** seul (`unzip` / `zip` asynchrones) — suppression de `@zip.js/zip.js`.
16
+
5
17
  ## [2026.6.2] - 2026-06-12
6
18
 
7
19
  ### Fixed
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.2`** — parsing de dates GEDCOM (mois en minuscules). Version format **CalVer** `AAAA.M.micro` (e.g. `2026.6.2` = June 2026, micro release). See [CHANGELOG.md](CHANGELOG.md).
31
+ - Current release **`2026.6.4`** — affichage des prénoms GEDCOM 7 sans guillemets parasites après round-trip ; série **2026.6.x** (OBJE audio, GEDZIP fflate, dates insensibles à la casse). Version format **CalVer** `AAAA.M.micro` (e.g. `2026.6.4` = 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`)
@@ -552,7 +552,7 @@ function exportGed(readGed: ReadGed) {
552
552
 
553
553
  #### `ExportGedzipFile`
554
554
 
555
- Writes a `.zip` (GEDZIP) bundling the GEDCOM and all attached `MultimediaFile` payloads. Compression is streamed per entry (`ZipWriter` + `BlobReader`) so large archives are not built entirely in memory.
555
+ Writes a `.zip` (GEDZIP) bundling the GEDCOM and all attached `MultimediaFile` payloads. Built with **fflate** (`zip` async, level 9).
556
556
 
557
557
  ```ts
558
558
  import { ExportGedzipFile, Person } from "gedcom-ts";
@@ -604,6 +604,8 @@ Optional hints consumed by `Person.createPersonJson` when re-parsing a single in
604
604
 
605
605
  #### `PersonNameVariant`, `PersonNameTranslation`
606
606
 
607
+ GEDCOM 7 may quote the preferred given name in `1 NAME` (e.g. `"Jean" /Dupont/`). Since **2026.6.4**, `personDisplayName`, `personInitialsFromPerson`, and `formatPersonNameFromVariant` strip those quotes for UI display after import or export round-trip.
608
+
607
609
  Lossless representation of every `1 NAME` block of an individual (type, `NPFX`/`GIVN`/`SURN`/… parts, `TRAN` translations). `Person.nameVariants` keeps them in order so alias / translation data survive an import → export round-trip.
608
610
 
609
611
  ```ts
@@ -932,7 +934,7 @@ const primary = selectPrimaryNameVariant(person.nameVariants);
932
934
 
933
935
  #### `GEDCOM_LIBRARY_VERSION`
934
936
 
935
- CalVer string written in exported `HEAD`.`SOUR`.`VERS` (same value as the npm package version, e.g. `2026.6.2`).
937
+ CalVer string written in exported `HEAD`.`SOUR`.`VERS` (same value as the npm package version, e.g. `2026.6.4`).
936
938
 
937
939
  ```ts
938
940
  import { GEDCOM_LIBRARY_VERSION } from "gedcom-ts";
@@ -33,7 +33,7 @@ export interface BookletPersonEntry {
33
33
  readonly parents: readonly BookletRelationRef[];
34
34
  readonly unions: readonly BookletUnionEntry[];
35
35
  }
36
- export declare function personDisplayName(person: Person): string;
36
+ export { personDisplayName } from "../utils/gedcom/personName";
37
37
  export declare function personDatesLabel(person: Person, locale?: BookletLocale): string;
38
38
  export declare function bookletSexFromPerson(person: Person): BookletSex;
39
39
  export declare function buildBookletPersonEntry(person: Person, ged: ReadGed, sosa: number | null, locale?: BookletLocale): BookletPersonEntry;