diff --git a/.changelog/0c0c814add3c4ce5983eb3a6d0430de4.md b/.changelog/0c0c814add3c4ce5983eb3a6d0430de4.md deleted file mode 100644 index 24340ae..0000000 --- a/.changelog/0c0c814add3c4ce5983eb3a6d0430de4.md +++ /dev/null @@ -1,4 +0,0 @@ ---- -type: minor ---- -New provider: Bunny DNS \ No newline at end of file diff --git a/.changelog/3e80c9a9167b4d0ea3eb95f8b46b177a.md b/.changelog/3e80c9a9167b4d0ea3eb95f8b46b177a.md deleted file mode 100644 index c637a10..0000000 --- a/.changelog/3e80c9a9167b4d0ea3eb95f8b46b177a.md +++ /dev/null @@ -1,4 +0,0 @@ ---- -type: none ---- -Fixes for geo-data.py action \ No newline at end of file diff --git a/.changelog/44274039f47d4df0946a45fb9c228d3f.md b/.changelog/44274039f47d4df0946a45fb9c228d3f.md deleted file mode 100644 index e81e06f..0000000 --- a/.changelog/44274039f47d4df0946a45fb9c228d3f.md +++ /dev/null @@ -1,4 +0,0 @@ ---- -type: none ---- -update markdown tables \ No newline at end of file diff --git a/.changelog/4af5a11fb21842ffb627d5ee4d80fb14.md b/.changelog/4af5a11fb21842ffb627d5ee4d80fb14.md deleted file mode 100644 index ece6385..0000000 --- a/.changelog/4af5a11fb21842ffb627d5ee4d80fb14.md +++ /dev/null @@ -1,4 +0,0 @@ ---- -type: minor ---- -Templating processor added diff --git a/.changelog/72ba948357fb41ea948a25b8c8454131.md b/.changelog/72ba948357fb41ea948a25b8c8454131.md deleted file mode 100644 index 2e83193..0000000 --- a/.changelog/72ba948357fb41ea948a25b8c8454131.md +++ /dev/null @@ -1,4 +0,0 @@ ---- -type: none ---- -Cron action for geo-data.py \ No newline at end of file diff --git a/.changelog/acae8de42da4482ea06e380586010eb8.md b/.changelog/acae8de42da4482ea06e380586010eb8.md deleted file mode 100644 index 8c7aeb5..0000000 --- a/.changelog/acae8de42da4482ea06e380586010eb8.md +++ /dev/null @@ -1,4 +0,0 @@ ---- -type: none ---- -fix markdown format \ No newline at end of file diff --git a/.changelog/acc2596fb367494db070e6c06abf705a.md b/.changelog/acc2596fb367494db070e6c06abf705a.md deleted file mode 100644 index 2f3525b..0000000 --- a/.changelog/acc2596fb367494db070e6c06abf705a.md +++ /dev/null @@ -1,4 +0,0 @@ ---- -type: none ---- -Adding changelog management infra and doc \ No newline at end of file diff --git a/.changelog/ad02e7c6359a43f59a92cf53c8b13e8c.md b/.changelog/ad02e7c6359a43f59a92cf53c8b13e8c.md deleted file mode 100644 index 57b89f2..0000000 --- a/.changelog/ad02e7c6359a43f59a92cf53c8b13e8c.md +++ /dev/null @@ -1,4 +0,0 @@ ---- -type: none ---- -requirements-dev.txt requirements.txt \ No newline at end of file diff --git a/.changelog/c981d53176e142ba94d885a13e608faa.md b/.changelog/c981d53176e142ba94d885a13e608faa.md deleted file mode 100644 index 67d5bb5..0000000 --- a/.changelog/c981d53176e142ba94d885a13e608faa.md +++ /dev/null @@ -1,4 +0,0 @@ ---- -type: minor ---- -Update geo-data, Türkiye \ No newline at end of file diff --git a/.changelog/ff12d7ab1c614a15b3ce8c6bba3407fb.md b/.changelog/ff12d7ab1c614a15b3ce8c6bba3407fb.md deleted file mode 100644 index 2a6bc1d..0000000 --- a/.changelog/ff12d7ab1c614a15b3ce8c6bba3407fb.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -type: minor -pr: 1251 ---- -Correct type-o in name of AcmeManagingProcessor, backwards compatible alias in place \ No newline at end of file diff --git a/CHANGELOG.md b/CHANGELOG.md index d69254e..7eadfef 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,11 @@ +## 1.12.0 - 2025-06-25 - Automated changelogs + +Minor: +* Templating processor added [#1259](https://github.com/octodns/octodns/pull/1259) +* Update geo-data, Türkiye [#1263](https://github.com/octodns/octodns/pull/1263) +* New provider: Bunny DNS [#1262](https://github.com/octodns/octodns/pull/1262) +* Correct type-o in name of AcmeManagingProcessor, backwards compatible alias in place [#1251](https://github.com/octodns/octodns/pull/1251) + ## v1.11.0 - 2025-02-03 - Cleanup & deprecations with meta planning * Deprecation warning for Source.populate w/o the lenient param, to be removed diff --git a/octodns/__init__.py b/octodns/__init__.py index d49222c..5340737 100644 --- a/octodns/__init__.py +++ b/octodns/__init__.py @@ -1,4 +1,4 @@ 'OctoDNS: DNS as code - Tools for managing DNS across multiple providers' # TODO: remove __VERSION__ w/2.x -__version__ = __VERSION__ = '1.11.0' +__version__ = __VERSION__ = '1.12.0' diff --git a/script/changelog b/script/changelog index dc622f4..046c3ea 100755 --- a/script/changelog +++ b/script/changelog @@ -115,6 +115,8 @@ class _ChangeMeta: @classmethod def get(cls, filepath, data): + if 'pr' in data: + return data['pr'], datetime(year=1970, month=1, day=1) if cls._pr_cache is None: result = run( [ @@ -148,12 +150,7 @@ class _ChangeMeta: return cls._pr_cache[filepath] except KeyError: # couldn't find a PR with the changelog file in it - try: - # if a PR number was specified in the changelog entry use it - return data['pr'], datetime(year=1970, month=1, day=1) - except KeyError: - # otherwise just give up - return None, datetime(year=1970, month=1, day=1) + return None, datetime(year=1970, month=1, day=1) def _get_changelogs(): @@ -182,7 +179,7 @@ def _get_changelogs(): } ) - ordering = {'major': 0, 'minor': 1, 'patch': 2, 'none': 3, '': 3} + ordering = {'major': 3, 'minor': 2, 'patch': 1, 'none': 0, '': 0} ret.sort(key=lambda c: (ordering[c['type']], c['time']), reverse=True) return ret