Releases: elliotchance/gedcom
Releases · elliotchance/gedcom
v39.6.0
v39.5.3
If spouse is already nil, short-circuit out. (#311) This fixes a bug from a previous patch in #310.
v39.5.2
Add FAMS code in individual nodes when made a spouse in a family. (#310)
v39.5.1
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
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
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
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
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
CLI: Added "version" command (#298) Fixes #296
v39.0.2
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