Recent Releases of undate

undate - v0.5.1

Correct CITATION.cff file for validity, so Zenodo can generate DOIs for new versions

Full Changelog: https://github.com/dh-tech/undate-python/compare/0.5...0.5.1

- Python
Published by rlskoeser 10 months ago

undate - v0.5

What's Changed

  • Hotfix v0.3.1 by @rlskoeser in https://github.com/dh-tech/undate-python/pull/106
  • Release v0.4 by @rlskoeser in https://github.com/dh-tech/undate-python/pull/118
  • docs: add taylor-arnold as a contributor for review, and ideas by @allcontributors in https://github.com/dh-tech/undate-python/pull/126
  • Improve readme by @rlskoeser in https://github.com/dh-tech/undate-python/pull/131
  • Configure codecov to check for 100% unit test coverage by @rlskoeser in https://github.com/dh-tech/undate-python/pull/133
  • Potential fix for code scanning alert no. 2: Workflow does not contain permissions by @rlskoeser in https://github.com/dh-tech/undate-python/pull/134
  • PGP dates by @rlskoeser in https://github.com/dh-tech/undate-python/pull/125
  • Implement UnInt and UnDelta for uncertain date durations by @rlskoeser in https://github.com/dh-tech/undate-python/pull/129
  • Add duration logic for uncertain years by @rlskoeser in https://github.com/dh-tech/undate-python/pull/135
  • Release v0.5 by @rlskoeser in https://github.com/dh-tech/undate-python/pull/139

Full Changelog: https://github.com/dh-tech/undate-python/compare/0.4...0.5

- Python
Published by rlskoeser 11 months ago

undate - v0.4

  • Undate is now Calendar aware / Calendar explicit; default is Gregorian
    • New BaseCalendarConverter class, with additional methods required for calendar converters
    • HebrewDateConverter: Parsing and calendar conversion for Hebrew/Anno Mundi
    • IslamicDateConverter: Parsing and calendar conversion for Islamic/Hijri
    • GregorianDateConverter: basic Gregorian calendar logic
    • undate.Calendar class to track Undate object calendar, and match with calendar converters
  • BaseDateConverter class now includes nested/descendant subclasses when looking for available converters
  • Undate.to_undate method to convert supported date objects to Undate (datetime.date, datetime.datetime, and internal undate.date.Date class)
  • UndateInterval improvements
    • Can be initialized with Undate objects or any type supported by Undate.to_undate
    • New method for contains (in), to determine if another interval or date is contained by an interval
    • New method intersection to determine the overlap between two UndateInterval objects
  • EDTF parser : fixed day parsing for some unsupported cases
  • Dropped support for Python 3.9
  • Reorganized examples folder to avoid unnecessary nesting
    • ISMI data has been updated from older JSON data to examples in RDF (turtle)

What's Changed

(auto-generated list of changes) * Citation file by @rlskoeser in https://github.com/dh-tech/undate-python/pull/70 * Reorganize and improve documentation by @rlskoeser in https://github.com/dh-tech/undate-python/pull/81 * Add example usage to the readme #75 by @rlskoeser in https://github.com/dh-tech/undate-python/pull/82 * Check notebooks in CI check workflow #76 by @rlskoeser in https://github.com/dh-tech/undate-python/pull/83 * Configure mypy pre-commit check by @rlskoeser in https://github.com/dh-tech/undate-python/pull/91 * Consolidate setup.cfg and pyproject.toml; drop tox; revamp sphinx docs by @rlskoeser in https://github.com/dh-tech/undate-python/pull/88 * Update contributor documentation with branching guidelines by @rlskoeser in https://github.com/dh-tech/undate-python/pull/94 * Revise optional dependency groups so dev implies test by @rlskoeser in https://github.com/dh-tech/undate-python/pull/96 * Test against python 3.13 by @rlskoeser in https://github.com/dh-tech/undate-python/pull/97 * Use numpy datetime64 instead of datetime.date #77 by @rlskoeser in https://github.com/dh-tech/undate-python/pull/84 * Make EDTF parser available as undate formatter; handle 5+ digit years by @rlskoeser in https://github.com/dh-tech/undate-python/pull/89 * preliminary str parse and format methods by @rlskoeser in https://github.com/dh-tech/undate-python/pull/90 * Rename formatters submodule and classes to converters by @rlskoeser in https://github.com/dh-tech/undate-python/pull/101 * EDTF demo/validation notebook by @rlskoeser in https://github.com/dh-tech/undate-python/pull/98 * Release v0.3 by @rlskoeser in https://github.com/dh-tech/undate-python/pull/103 * updated ismi sample data for development branch by @robcast in https://github.com/dh-tech/undate-python/pull/104 * Add converter for hebrew calendar based on hijri calendar by @rlskoeser in https://github.com/dh-tech/undate-python/pull/108 * Add support for converting from Hijri calendar to undate and undate interval by @rlskoeser in https://github.com/dh-tech/undate-python/pull/107 * Document that duration calculation is inclusive / closed interval by @rlskoeser in https://github.com/dh-tech/undate-python/pull/111 * Move interval object and tests into separate files by @rlskoeser in https://github.com/dh-tech/undate-python/pull/115 * Find all converter subclasses / descendants by @rlskoeser in https://github.com/dh-tech/undate-python/pull/110 * Interval logic improvements: type/range validation, intersection method, contains/in functionality by @rlskoeser in https://github.com/dh-tech/undate-python/pull/114 * Try using uv for unit test workflow by @rlskoeser in https://github.com/dh-tech/undate-python/pull/113 * Support conversion from internal Date class to Undate #119 by @rlskoeser in https://github.com/dh-tech/undate-python/pull/122 * Use islamic for Islamic/Hijri calendar classes #120 by @rlskoeser in https://github.com/dh-tech/undate-python/pull/123 * Reorganize examples and update readme / contents #121 by @rlskoeser in https://github.com/dh-tech/undate-python/pull/124

Full Changelog: https://github.com/dh-tech/undate-python/compare/0.3...0.4

- Python
Published by rlskoeser about 1 year ago

undate - v0.3

What's Changed

  • Citation file by @rlskoeser in https://github.com/dh-tech/undate-python/pull/70
  • Reorganize and improve documentation by @rlskoeser in https://github.com/dh-tech/undate-python/pull/81
  • Add example usage to the readme #75 by @rlskoeser in https://github.com/dh-tech/undate-python/pull/82
  • Check notebooks in CI check workflow #76 by @rlskoeser in https://github.com/dh-tech/undate-python/pull/83
  • Configure mypy pre-commit check by @rlskoeser in https://github.com/dh-tech/undate-python/pull/91
  • Consolidate setup.cfg and pyproject.toml; drop tox; revamp sphinx docs by @rlskoeser in https://github.com/dh-tech/undate-python/pull/88
  • Update contributor documentation with branching guidelines by @rlskoeser in https://github.com/dh-tech/undate-python/pull/94
  • Revise optional dependency groups so dev implies test by @rlskoeser in https://github.com/dh-tech/undate-python/pull/96
  • Test against python 3.13 by @rlskoeser in https://github.com/dh-tech/undate-python/pull/97
  • Use numpy datetime64 instead of datetime.date #77 by @rlskoeser in https://github.com/dh-tech/undate-python/pull/84
  • Make EDTF parser available as undate formatter; handle 5+ digit years by @rlskoeser in https://github.com/dh-tech/undate-python/pull/89
  • preliminary str parse and format methods by @rlskoeser in https://github.com/dh-tech/undate-python/pull/90
  • Rename formatters submodule and classes to converters by @rlskoeser in https://github.com/dh-tech/undate-python/pull/101
  • EDTF demo/validation notebook by @rlskoeser in https://github.com/dh-tech/undate-python/pull/98

Full Changelog: https://github.com/dh-tech/undate-python/compare/0.2...0.3

- Python
Published by rlskoeser over 1 year ago

undate - v0.2

v0.2

  • Undate and UndateInterval now include an optional label for named dates or time periods
  • Support partially known dates with missing digits (e.g. 1991-1?-10)
  • Rich comparison checks for Undate
    • improved equality check; now supports comparing Undate object with day precision to datetime.date
    • implementations and tests for comparison, sorting and contains (>, <, >=, <=, and in)
  • static method to initialize an Undate object from a datetime.date (used for comparisons)
  • Example Jupyter notebook comparing Undate duration calculation against dates and durations in the Shakespeare and Company Project events dataset
  • Preliminary support for parsing Extended Date Time Format (EDTF) level 0 and some of level 1 and transforming into Undate objects
  • Dropped support for python 3.8; added python 3.12
  • Python type improvements and preliminary type checking with mypy

What's Changed (auto-generated)

  • Move tox config into setup.cfg #58 by @rlskoeser in https://github.com/dh-tech/undate-python/pull/59
  • Added label field to UndateInterval, added repr methods, and tests. by @jdamerow in https://github.com/dh-tech/undate-python/pull/52
  • dynamically import dateformatter subclasses by @rlskoeser in https://github.com/dh-tech/undate-python/pull/50
  • docs: add rlskoeser as a contributor for blog by @allcontributors in https://github.com/dh-tech/undate-python/pull/62
  • support partially known dates by @rlskoeser in https://github.com/dh-tech/undate-python/pull/36
  • preliminary date comparison methods by @rlskoeser in https://github.com/dh-tech/undate-python/pull/65
  • Preliminary edtf parsing (levels 0 and some of 1) with lark by @rlskoeser in https://github.com/dh-tech/undate-python/pull/67
  • Type cleanup based on errors reported by mypy by @rlskoeser in https://github.com/dh-tech/undate-python/pull/66
  • Release v0.2 by @rlskoeser in https://github.com/dh-tech/undate-python/pull/69

Full Changelog: https://github.com/dh-tech/undate-python/compare/0.1...0.2

- Python
Published by rlskoeser about 2 years ago

undate - v0.1

What's Changed

  • Initial data model by @rlskoeser in https://github.com/dh-tech/undate-python/pull/1
  • First version of a formatter/parser framework by @jdamerow in https://github.com/dh-tech/undate-python/pull/4
  • Feature/11 type hints by @ColeDCrawford in https://github.com/dh-tech/undate-python/pull/16
  • Create LICENSE.md by @jdamerow in https://github.com/dh-tech/undate-python/pull/18
  • First draft of a contributing.md file by @jdamerow in https://github.com/dh-tech/undate-python/pull/19
  • add ismi sample data (see #17) by @robcast in https://github.com/dh-tech/undate-python/pull/26
  • Initial setup.py for pip installation by @rlskoeser in https://github.com/dh-tech/undate-python/pull/27
  • Ensure years are always 4 digits by @rlskoeser in https://github.com/dh-tech/undate-python/pull/22
  • Implement python version text matrix; move black check to PR only by @rlskoeser in https://github.com/dh-tech/undate-python/pull/30
  • duration methods for undate and undate interval by @rlskoeser in https://github.com/dh-tech/undate-python/pull/24
  • docs: add rlskoeser as a contributor for code by @allcontributors in https://github.com/dh-tech/undate-python/pull/32
  • docs: add ColeDCrawford as a contributor for code by @allcontributors in https://github.com/dh-tech/undate-python/pull/33
  • docs: add robcast as a contributor for data by @allcontributors in https://github.com/dh-tech/undate-python/pull/34
  • docs: add jdamerow as a contributor for code by @allcontributors in https://github.com/dh-tech/undate-python/pull/35
  • docs: add jdamerow as a contributor for code, and review by @allcontributors in https://github.com/dh-tech/undate-python/pull/38
  • docs: add ColeDCrawford as a contributor for code, and review by @allcontributors in https://github.com/dh-tech/undate-python/pull/39
  • docs: add maltevogl as a contributor for test, and review by @allcontributors in https://github.com/dh-tech/undate-python/pull/41
  • docs: add jdamerow as a contributor for test by @allcontributors in https://github.com/dh-tech/undate-python/pull/42
  • docs: add ColeDCrawford as a contributor for test by @allcontributors in https://github.com/dh-tech/undate-python/pull/43
  • docs: add rlskoeser as a contributor for review, and test by @allcontributors in https://github.com/dh-tech/undate-python/pull/44
  • docs: add jdamerow as a contributor for eventOrganizing by @allcontributors in https://github.com/dh-tech/undate-python/pull/51
  • Addresses #28, #37 moved main files to src folder. Testing and sphinx… by @maltevogl in https://github.com/dh-tech/undate-python/pull/49
  • Setup code coverage reporting by @rlskoeser in https://github.com/dh-tech/undate-python/pull/45
  • docs: add maltevogl as a contributor for doc by @allcontributors in https://github.com/dh-tech/undate-python/pull/53
  • pytest-ordering + formatter uniqueness check by @rlskoeser in https://github.com/dh-tech/undate-python/pull/47
  • Document git flow by @rlskoeser in https://github.com/dh-tech/undate-python/pull/56
  • Setup for publishing on PyPI by @rlskoeser in https://github.com/dh-tech/undate-python/pull/60

New Contributors

  • @ColeDCrawford made their first contribution in https://github.com/dh-tech/undate-python/pull/16
  • @robcast made their first contribution in https://github.com/dh-tech/undate-python/pull/26
  • @allcontributors made their first contribution in https://github.com/dh-tech/undate-python/pull/32

Full Changelog: https://github.com/dh-tech/undate-python/commits/0.1

- Python
Published by rlskoeser about 3 years ago