Skip to content

Releases: elliotchance/gedcom

v39.6.0

06 Nov 18:55
ce42a66

Choose a tag to compare

Add major version to module path (#337)

* Update module path to include major version
* Update imports
* Upgrade dependencies

v39.5.3

09 May 15:10
9061dca

Choose a tag to compare

If spouse is already nil, short-circuit out. (#311)

This fixes a bug from a previous patch in #310.

v39.5.2

08 May 04:17
e015efa

Choose a tag to compare

Add FAMS code in individual nodes when made a spouse in a family. (#310)

v39.5.1

18 Apr 21:08
7e19583

Choose a tag to compare

Fix missing "Age" in publish events (#306)

The age of the individual at that event would not show if the death date
was missing. This is because it would consider the event always after
their death, which is normally hidden from publish events.

Also fixed a bug where the places map (also in publish) was global.

Fixes #295

v39.5.0

18 Apr 18:12
3899fa0

Choose a tag to compare

Document context for copying nodes (#305)

A bug was found in DeepCopy (or really anything that ends up copying a
node) that some nodes (such as the husband, wife or child) cannot be
created without a FamilyNode. The bug was that the FamilyNode was not
being tracked at a high enough level so duplicated nodes would not
inherit it correctly. Even though there was already code to do that, it
wasn't working correctly.

This lead to a greater look at how the APIs work and I realised that the
document must be provided in many cases because any process that
directly or indirectly needs to copy a node will need this proper
context.

Even though this patch breaks several of the existing APIs (by adding a
document parameter) none of the behaviour has changed. If you are
unsure when updating the library you should create a new document and
pass it in for that parameter.

Fixes #301

v39.4.0

18 Apr 16:30
8660d4b

Choose a tag to compare

Adding "gedcom warnings" (#304)

Since the refactoring into a single CLI tool the warnings were kind of
forgotten about. It is possible to get the warnings through query, but
that's difficult and problematic. This makes the warnings command a
first class citizen:

  gedcom warnings myfile.ged

https://github.com/elliotchance/gedcom/wiki/Warnings

v39.3.0

16 Apr 04:28
e4c8c86

Choose a tag to compare

Adding NodesWithTagPath() to q (#303)

NodesWithTagPath returns all of the nodes that have an exact tag path.
The number of nodes returned can be zero and tag must match the tag path
completely and exactly.

Find all Death nodes that belong to all individuals:

    .Individuals | NodesWithTagPath("DEAT")

From the individuals find all the Date nodes within only the Birth nodes.

    .Individuals | NodesWithTagPath("BIRT", "DATE")

Combine all of the birth and death dates:

    Births are .Individuals | NodesWithTagPath("BIRT", "DATE") | {type: "birth", date: .String};
    Deaths are .Individuals | NodesWithTagPath("DEAT", "DATE") | {type: "death", date: .String};
    Combine(Births, Deaths)

Fixes #300

v39.2.0

02 Feb 12:31
dab3a99

Choose a tag to compare

Added "-no-duplicate-names" (#299)

Also provides RemoveDuplicateNamesFilter filter function, and fixes a bug with returning children from a filter function being mistakenly truncated.

Fixes #297

v39.1.0

29 Jan 11:57
975ad33

Choose a tag to compare

CLI: Added "version" command (#298)

Fixes #296

v39.0.2

27 Jan 06:46
33ed4b9

Choose a tag to compare

Publish: Fix missing additional names (#294)

Names would not show as additional names if they were "Normal" names (ie. not married name, etc). Now it shows all names excluding the first name.

Fixes #275