tag:github.com,2008:https://github.com/nickreynke/python-gedcom/releasesRelease notes from python-gedcom2026-02-13T09:45:38Ztag:github.com,2008:Repository/116797261/v1.1.02026-02-13T10:15:22Zv1.1.0<h2>What's Changed</h2>
<ul>
<li>Fix for to_gedcom_string() by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/KeithPetro/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/KeithPetro">@KeithPetro</a> in <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="453744082" data-permission-text="Title is private" data-url="https://github.com/nickreynke/python-gedcom/issues/29" data-hovercard-type="pull_request" data-hovercard-url="/nickreynke/python-gedcom/pull/29/hovercard" href="https://github.com/nickreynke/python-gedcom/pull/29">#29</a></li>
<li>Parse stream issue#32 by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/mameen/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/mameen">@mameen</a> in <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="568957359" data-permission-text="Title is private" data-url="https://github.com/nickreynke/python-gedcom/issues/37" data-hovercard-type="pull_request" data-hovercard-url="/nickreynke/python-gedcom/pull/37/hovercard" href="https://github.com/nickreynke/python-gedcom/pull/37">#37</a></li>
<li>Get all names Issue#34 by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/mameen/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/mameen">@mameen</a> in <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="568976255" data-permission-text="Title is private" data-url="https://github.com/nickreynke/python-gedcom/issues/38" data-hovercard-type="pull_request" data-hovercard-url="/nickreynke/python-gedcom/pull/38/hovercard" href="https://github.com/nickreynke/python-gedcom/pull/38">#38</a></li>
<li>Dropped support of Python 2.7 / 3.4, added support for 3.5 to 3.8 and moved from <code>requirements.txt</code> to using Pipenv by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/nickreynke/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/nickreynke">@nickreynke</a> in <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="583545034" data-permission-text="Title is private" data-url="https://github.com/nickreynke/python-gedcom/issues/40" data-hovercard-type="pull_request" data-hovercard-url="/nickreynke/python-gedcom/pull/40/hovercard" href="https://github.com/nickreynke/python-gedcom/pull/40">#40</a></li>
<li>feature/docs by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/nickreynke/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/nickreynke">@nickreynke</a> in <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="585588707" data-permission-text="Title is private" data-url="https://github.com/nickreynke/python-gedcom/issues/41" data-hovercard-type="pull_request" data-hovercard-url="/nickreynke/python-gedcom/pull/41/hovercard" href="https://github.com/nickreynke/python-gedcom/pull/41">#41</a></li>
<li>2.0.0.dev1 by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/nickreynke/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/nickreynke">@nickreynke</a> in <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="585593861" data-permission-text="Title is private" data-url="https://github.com/nickreynke/python-gedcom/issues/42" data-hovercard-type="pull_request" data-hovercard-url="/nickreynke/python-gedcom/pull/42/hovercard" href="https://github.com/nickreynke/python-gedcom/pull/42">#42</a></li>
<li>fix(parser.py): remove call to deleted method is_family() by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/joephayes/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/joephayes">@joephayes</a> in <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="698721311" data-permission-text="Title is private" data-url="https://github.com/nickreynke/python-gedcom/issues/58" data-hovercard-type="pull_request" data-hovercard-url="/nickreynke/python-gedcom/pull/58/hovercard" href="https://github.com/nickreynke/python-gedcom/pull/58">#58</a></li>
<li>refactor: remove legacy dependencies and migrate to <code>uv</code> by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/nickreynke/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/nickreynke">@nickreynke</a> in <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="3936277872" data-permission-text="Title is private" data-url="https://github.com/nickreynke/python-gedcom/issues/66" data-hovercard-type="pull_request" data-hovercard-url="/nickreynke/python-gedcom/pull/66/hovercard" href="https://github.com/nickreynke/python-gedcom/pull/66">#66</a></li>
</ul>
<h2>New Contributors</h2>
<ul>
<li><a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/KeithPetro/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/KeithPetro">@KeithPetro</a> made their first contribution in <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="453744082" data-permission-text="Title is private" data-url="https://github.com/nickreynke/python-gedcom/issues/29" data-hovercard-type="pull_request" data-hovercard-url="/nickreynke/python-gedcom/pull/29/hovercard" href="https://github.com/nickreynke/python-gedcom/pull/29">#29</a></li>
<li><a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/mameen/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/mameen">@mameen</a> made their first contribution in <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="568957359" data-permission-text="Title is private" data-url="https://github.com/nickreynke/python-gedcom/issues/37" data-hovercard-type="pull_request" data-hovercard-url="/nickreynke/python-gedcom/pull/37/hovercard" href="https://github.com/nickreynke/python-gedcom/pull/37">#37</a></li>
</ul>
<p><strong>Full Changelog</strong>: <a class="commit-link" href="https://github.com/nickreynke/python-gedcom/compare/v1.0.0...v1.1.0"><tt>v1.0.0...v1.1.0</tt></a></p>nickreynketag:github.com,2008:Repository/116797261/v2.0.0-dev32020-08-07T07:16:20Zv2.0.0-dev3No content.nickreynketag:github.com,2008:Repository/116797261/v2.0.0-dev22020-08-07T07:07:47Zv2.0.0-dev2No content.nickreynketag:github.com,2008:Repository/116797261/v2.0.0-dev12020-08-07T07:05:00Zv2.0.0-dev1No content.nickreynketag:github.com,2008:Repository/116797261/v2.0.0-dev02020-08-07T06:50:52Zv2.0.0-dev0<p>Bump version: 1.0.0 → 2.0.0-dev0</p>nickreynketag:github.com,2008:Repository/116797261/v2.0.0-012020-08-07T06:25:08Zv2.0.0-01<p>Bump version: 2.0.0 → 2.0.0-01</p>nickreynketag:github.com,2008:Repository/116797261/v1.0.02019-04-02T14:43:17Zv1.0.0<h3>Changes:</h3>
<ul>
<li>Added <code>CHANGELOG.md</code></li>
<li>Set source code encoding to UTF-8 explicitly, since for Python 2 ASCII would be the default. For Python 3 the default is UTF-8.</li>
<li>Separated code of <code>__init__.py</code> into individual files, updating the package structure (<a href="https://github.com/nickreynke/python-gedcom/issues/15" data-hovercard-type="issue" data-hovercard-url="/nickreynke/python-gedcom/issues/15/hovercard">#15</a>)
<ul>
<li>Resulted in a new <code>parser.py</code> file containing the actual parser, a <code>element.py</code> containing the elements the parser can parse and a <code>tags.py</code> containing the used GEDCOM tags</li>
</ul>
</li>
<li>Separated code of new <code>element.py</code> into individual modules extending the <code>Element</code> class within new submodule <code>element</code> to better<br>
differentiate between the type of <code>Element</code>s the parser parses (e.g. <code>FamilyElement</code>, <code>IndividualElement</code>, ...)</li>
<li>Added <code>helpers.py</code> containing helper functions like a <code>@deprecated</code> annotation to annotate methods or classes as<br>
deprecated. (The helpers may be removed when its contents are no longer used within the project.)</li>
<li>GEDCOM file is no longer parsed within constructor of <code>Parser</code> class (the actual parser; it was named <code>Gedcom</code> before).<br>
The new way to parse is as follows:
<div class="highlight highlight-source-python notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="# from gedcom import Gedcom <- Old way of importing the parser
from gedcom.parser import Parser
file_path = '' # Path to your `.ged` file
# The old way would be to supply the `Parser` (or `Gedcom`) class the `file_path` as its first parameter on initialization
gedcom_parser = Parser()
# The new way to parse a GEDCOM file
gedcom_parser.parse_file(file_path)
# ..."><pre><span class="pl-c"># from gedcom import Gedcom <- Old way of importing the parser</span>
<span class="pl-k">from</span> <span class="pl-s1">gedcom</span>.<span class="pl-s1">parser</span> <span class="pl-k">import</span> <span class="pl-v">Parser</span>
<span class="pl-s1">file_path</span> <span class="pl-c1">=</span> <span class="pl-s">''</span> <span class="pl-c"># Path to your `.ged` file</span>
<span class="pl-c"># The old way would be to supply the `Parser` (or `Gedcom`) class the `file_path` as its first parameter on initialization</span>
<span class="pl-s1">gedcom_parser</span> <span class="pl-c1">=</span> <span class="pl-en">Parser</span>()
<span class="pl-c"># The new way to parse a GEDCOM file</span>
<span class="pl-s1">gedcom_parser</span>.<span class="pl-c1">parse_file</span>(<span class="pl-s1">file_path</span>)
<span class="pl-c"># ...</span></pre></div>
</li>
</ul>
<h3>Deprecations:</h3>
<ul>
<li><code>get_individual()</code> method within <code>Element</code> class. Use <code>to_gedcom_string()</code> instead.</li>
<li><code>given_match()</code> method within <code>IndividualElement</code> class. Use <code>given_name_match()</code> instead.</li>
<li><code>get_burial()</code> method within <code>IndividualElement</code> class. Use <code>get_burial_data()</code> instead.</li>
<li><code>get_burial()</code> method within <code>IndividualElement</code> class. Use <code>get_burial_data()</code> instead.</li>
<li><code>get_census()</code> method within <code>IndividualElement</code> class. Use <code>get_census_data()</code> instead.</li>
</ul>
<h3>Migrating from v0.2.x to v1.0.0:</h3>
<p>The old way of importing the <code>gedcom</code> package was like this: <code>from gedcom import Gedcom</code>.</p>
<p>The new package code is separated into individual modules within the package. So <code>Parser</code> (the actual parser which was named <code>Gedcom</code>) would be imported like this:<br>
<code>from gedcom.parser import Parser</code>, since the <code>Parser</code> class lies within the module <code>parser</code> within the package <code>gedcom</code>.</p>
<p>Same procedure for the <code>Element</code> class: <code>from gedcom.element.element import Element</code>, since the <code>Element</code> class lies<br>
within the package <code>gedcom</code>, the subpackage <code>element</code> and the module <code>element</code>.</p>
<p>This allows for better maintainability and scalability.</p>
<p>If there are any questions or you encounter a bug please open an issue <a href="https://github.com/nickreynke/python-gedcom/issues">here</a>.</p>nickreynketag:github.com,2008:Repository/116797261/v0.2.5dev2018-12-15T10:45:09Zv0.2.5dev<p>Changes:</p>
<ul>
<li>Updated project structure (<a href="https://github.com/nickreynke/python-gedcom/issues/18" data-hovercard-type="issue" data-hovercard-url="/nickreynke/python-gedcom/issues/18/hovercard">#18</a>)</li>
<li>Fixed <code>setup.py</code> outputting correct markdown when reading the <code>README.md</code> (<a href="https://github.com/nickreynke/python-gedcom/issues/16" data-hovercard-type="issue" data-hovercard-url="/nickreynke/python-gedcom/issues/16/hovercard">#16</a>)</li>
<li>Applied Flake8 code style and <strong>added explicit error handling</strong></li>
<li>Set up test suite</li>
</ul>nickreynketag:github.com,2008:Repository/116797261/v0.2.4dev2018-12-11T20:36:57Zv0.2.4dev<p>Changes:</p>
<ul>
<li>Made <code>surname_match</code> and <code>given_match</code> case insensitive (<a href="https://github.com/nickreynke/python-gedcom/issues/10" data-hovercard-type="issue" data-hovercard-url="/nickreynke/python-gedcom/issues/10/hovercard">#10</a>)</li>
<li>Added new <code>is_child</code> method (<a href="https://github.com/nickreynke/python-gedcom/issues/10" data-hovercard-type="issue" data-hovercard-url="/nickreynke/python-gedcom/issues/10/hovercard">#10</a>)</li>
</ul>nickreynketag:github.com,2008:Repository/116797261/v0.2.3dev2018-11-28T06:16:47Zv0.2.3dev<p>Changes:</p>
<ul>
<li>Assemble Marriages properly (<a href="https://github.com/nickreynke/python-gedcom/issues/9" data-hovercard-type="issue" data-hovercard-url="/nickreynke/python-gedcom/issues/9/hovercard">#9</a>)</li>
<li>Return the top NAME record instead of the last one (<a href="https://github.com/nickreynke/python-gedcom/issues/9" data-hovercard-type="issue" data-hovercard-url="/nickreynke/python-gedcom/issues/9/hovercard">#9</a>)</li>
</ul>nickreynke