cznic/public/: fred-regal-3.4.0 metadata and description

Simple index

Regal - registry auxiliary library

author Jan Musílek
author_email jan.musilek@nic.cz
classifiers
  • Development Status :: 2 - Pre-Alpha
  • Intended Audience :: Developers
  • License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)
  • Operating System :: OS Independent
  • Programming Language :: Python
  • Programming Language :: Python :: 3.9
  • Programming Language :: Python :: 3.10
  • Programming Language :: Python :: 3.11
  • Programming Language :: Python :: 3.12
  • Programming Language :: Python :: 3.13
  • Topic :: Internet
  • Topic :: Software Development :: Libraries
  • Topic :: Software Development :: Libraries :: Python Modules
  • Topic :: Utilities
  • Typing :: Typed
license GPLv3+
provides_extras types
requires_dist
  • asyncstdlib~=3.9
  • backports.strenum; python_version < "3.11"
  • cryptography>=42
  • fred-api-registry~=7.1.3
  • fred-frgal~=4.1
  • fred-types~=2.2
  • idna~=3.0
  • protobuf
  • pydantic~=2.0
  • doc8; extra == "quality"
  • mypy; extra == "quality"
  • ruff; extra == "quality"
  • freezegun; extra == "test"
  • testfixtures; extra == "test"
  • types-protobuf; extra == "types"
requires_python ~=3.9

Because this project isn't in the mirror_whitelist, no releases from root/pypi are included.

File Tox results History
fred_regal-3.4.0-py3-none-any.whl
Size
107 KB
Type
Python Wheel
Python
3
fred_regal-3.4.0.tar.gz
Size
96 KB
Type
Source

Client library for FRED registry backend

Learn more about the project and our community on the FRED’s home page

ChangeLog

Unreleased

3.4.0 (2025-07-03)

  • Add ContactClient.batch_get (#204)
  • Fix NOOP annotation (#206)
  • Fix BaseId decoding (#207)
  • Add missing exception Raises: docstrings (#202, #203)

Experimental API

  • Add ContactClient.list_by_state (#199)
  • Add DomainClient.update (#205)
  • Replace DuplicateContact with InvalidSequence (#200)

3.3.1 (2025-06-30)

  • Pin fred-api-registry version to 7.1.2

3.3.0 (2025-06-16)

  • Add DomainClient.check_auction (#196).
  • Add DomainClient.check_fqdn (#197).
  • Add DomainClient.list_by_registrants* (#198).

3.2.0 (2025-06-03)

  • Backported changes from 2.3.2 (see below)

Experimental API

  • Add SearchContact.suggest_contacts method (#195)

2.3.2 (2025-05-29)

  • Remove pytz dependency (#177).
  • Fix deleting emails in contact update (#178).
  • Forbid mixing arguments in ContactClient.update_state (#180).
  • Document InvalidData in ContactClient.update (#192).
  • Mark by_registrar argument required (#193).
  • Acutally return Id types where annotated (#179).
  • Add missing deprecation warnings (#186).
  • Better error message for invalid order by (#176).

3.1.1 (2025-05-16)

  • Fix breaking exception changes (#189)

3.1.0 (2025-05-14)

  • Upgrade to fred-api-registry ~= 7.1.0 (#183)
  • Add contact list filter by additional identifier (#184)

Experimental API

  • Add create domain method (#181)
  • Add delete domain method (#182)

3.0.0 (2025-03-13)

  • Drop support for frgal 3 (#129).
  • Use enum decoders (#175).
  • Replace TypedDict with pydantic models (#91).
  • Replace IntEnum by StrEnum (#87).
  • Separate PlaceAddress and Address (#40).
  • Change Address code attributes type (#139).
  • Drop aliases from DomainContactRole (#159).
  • Cleanup clients’ __init__ and drop service (#135).
  • Change history return values (#86).
  • Drop object name from service methods (#93).
  • Rename several get_ methods to list_ (#100).
  • Rename model base fields (#25).
  • Change get_state return value (#50).
  • Change internal default in get_state (#112).
  • Silence ExtraArgumentWarning in get methods (#102).
  • Drop auth_info (#89, #147).
  • Drop list_states (#113).
  • Rename list to list_by_contact in domain client (#123).
  • Drop argument refs_only from DomainClient.list_by_nsset (#158).
  • Drop duplicate config in models (#99).
  • Merge methods for zone access info (#34).
  • Refactor get_epp_credentials (#97).
  • Drop old types (#90).
  • Add object alias tests (#95).
  • Fix API 5.6.0 in regal 2.0 (#132).
  • Fix annotations and formatting.

2.3.1 (2025-03-10)

  • Add snapshot_id to batch_get methods (#173).
  • Document exceptions on add_auth_info methods (#174).

2.3.0 (2025-02-19)

  • Switch to API 7.0 (#172).
  • Support fred-frgal 4 (#160).
  • Add ContactClient.update (#164, #166).
  • Add update state methods (#167).
  • Add snapshot_id to get and list methods (#168).
  • Add auth info methods (#165).
  • Add publish flags definition (#169).
  • Support string as log_entry_id (#163).
  • Fix wording of refs_only warning (#170).
  • Drop note about an experimental API from 1.6.
  • Fix ruff format.

2.2.2 (2025-01-07)

  • Handle empty responses for batch_get (#162).
  • Fix mypy.

2.2.1 (2024-12-04)

  • Fix DnsKey DS record for high alg number (#161).

2.2.0 (2024-11-28)

  • Switch to API 6.0 (#156).
  • Add batch_get methods to DomainClient, KeysetClient and NssetClient (#145).
  • Add domains_count to Keyset and Nsset (#148).
  • Add ContactClient.list_merge_candidates (#142).
  • Add ContactClient.merge (#143).
  • Add DomainClient.list_by_contact* (#144).
  • Add DomainClient.list_by_keyset* (#144).
  • Update DomainClient.list_by_nsset* (#144).
  • Add DomainContactRole member aliases (#157).
  • Add KeysetClient.list_by_contact* (#144).
  • Add NssetClient.list_by_contact* (#144).
  • Add forward compatible methods to clients (#150, #152, #154, #155).

2.1.1 (2024-12-04)

  • Fix DS record for high alg number (#161).

2.1.0 (2024-11-19)

  • Add DS record computation from DnsKey (#153).
  • Add list_nssets filter for not linked (#151).
  • Add support for list results (#146).
  • Drop aioitertools in favor of asyncstdlib (#149).

2.0.0 (2024-09-24)

  • Upgrade to pydantic 2 (#105).

1.8.1 (2024-09-12)

  • Fix InvalidData string representation (#136).
  • Fix contact create with partially empty addresses (#137).
  • Register NssetDoesNotExist exception for list_by_nsset (#138).

1.8.0 (2024-09-02)

  • Use API 5.6.0 (#132).
  • Add ContactClient.create (#133).
  • Switch to fred-frgal, clean warnings (#134).
  • Fix failing test.

1.7.0 (2024-07-24)

  • Add decoders for other ref objects (#126).
  • Add NssetClient.list_nssets method (#128).
  • Add DomainClient.list_by_nsset method (#130).
  • Add ContactClient.list method (#131).
  • Avoid backports.strenum in python 3.11+ (#127).

1.6.2 (2024-03-18)

  • Add decoder for DomainRef (#125).

1.6.1 (2024-03-11)

  • [BREAKING] Upgrade to API 5.5.1 (#124): * Added required argument zone to DomainClient.list.
  • Fix ruff.

1.6.0 (2024-02-28)

  • Upgrade to API 5.5.0 (#121).
  • Drop _set_sponsoring_registrar utility (#116).
  • Add warning about change of internal flag default (#117).
  • Add list to domain client (#120).
  • Add DomainBlacklist client (#118).
  • Add block_ids to DomainLifeCycleStageResult (#119).
  • Update project setup.

1.5.0 (2023-11-27)

  • Add blacklisted domain life cycle stage (#115).
  • Update project setup.

1.4.1 (2023-11-14)

  • Fix cache on get_state_flags (#114).

1.4.0 (2023-11-13)

  • Add get_state_flags methods (#109).
  • Add an option to filter state flags (#110).

1.3.0 (2023-10-02)

  • Add pydantic v2 support (#103).
  • Add Domain.get_life_cycle_stage (#107).
  • Add support for IDN in FQDNs (#108).
  • Fix annotations.
  • Disable warn unused ignore.
  • Update project setup.

1.2.0 (2023-06-19)

  • Add contact representatives (#92).
  • Fix get_domains_by_contact (#96).
  • Add birthdate property to AdditionalIdentifier (#42).
  • Add StrEnum compat (#94).
  • Update project setup.

1.1.4 (2023-05-26)

  • Fix get_registrar_certifications return value
  • Annotate domain admin client return values (#88)

1.1.3 (2023-05-02)

  • Manage domain state with empty domains (#84).
  • Fix Dict in annotations (#83).
  • Annotate get_domains_by_contact (#85).
  • Relax constraint on aioitertools version (#81).

1.1.2 (2023-04-12)

  • Relax cryptography versions.

1.1.1 (2023-04-06)

  • Fix __all__ export in regal module breaking some static checks

1.1.0 (2023-03-14)

  • Add support for python 3.11 (#70).
  • Use fred-types for base objects (#80).
  • Add models and methods for registrar groups and certification (#66, #67, #68, #69, #71, #72, #73, #74, #75, #76, #77, #78, #79).
  • Implement method update_contact_state (#64).
  • Improve docstring of batch_delete_domains (#62).
  • Update project setup.
  • Fix type annotations.

1.0.1 (2023-02-21)

  • Expose DomainContactRole (#61)
  • Expose object refs (#63)
  • Fix black for 2023

1.0.0 (2023-01-20)

  • [BREAKING] Rename domain lifecycle events (#59):
    • All scheduled events now have _scheduled_at suffix instead of just _at.
    • Events outzone_at and delete_candidate_at now correspond to real dates for events that happened in the past. If you want scheduled dates, you can use outzone_scheduled_at and delete_candidate_scheduled_at.
  • [BREAKING] Use related object refs instead of object ids. Affected model fields (#58):
    • Domain.nsset
    • Domain.keyset
    • Domain.registrant
    • Domain.administrative_contacts
    • Keyset.technical_contacts
    • Nsset.technical_contacts
    • structure returned by get_domains_by_contact

0.8.2 (2023-01-16)

  • Add get_domain_life_cycle_stage method (#57).

0.8.1 (2021-01-10)

  • Add deleted related domains to get_domains_by_contact result (#56).

0.8.0 (2022-12-08)

  • Add validation_expires_at to Domain (#55).
  • Warn on extra kwargs in models (#41).

0.7.0 (2022-12-05)

  • Add check_dns_host to nsset client (#53).
  • Remove deprecated automagical awaitables (#54).

0.6.2 (2022-11-28)

  • Validate SSL certificate fingerprint

0.6.1 (2022-11-23)

  • Catch invalid certificate exception when accessing SSL certificate properties

0.6.0 (2022-11-22)

  • [BREAKING] Change type of Domain.expires_at to datetime
  • [BREAKING] Change registrar_handle arg to registrar_id in RegistrarAdminClient.update_registrar
  • [BREAKING] Change meaning of registrar_handle in RegistrarAdminClient.update_registrar to change registrar handle
  • Add registrar id to Registrar model – default value is the same as registrar handle
  • Add domain lifecycle attributes
  • Add EPP credentials edit methods
  • Add EPP credentials get method
  • Add SSL certificate properties
  • Reformat code with black

0.5.3 (2022-11-08)

  • Fix annotations

0.5.2 (2022-11-01)

  • Add exception decoding to create_registrar method of RegistrarAdminClient
  • Add __str__ method to Address

0.5.1 (2022-10-10)

  • Add update_registrar method to RegistrarAdminClient

0.5.0 (2022-09-20)

  • Add get_registrar_zone_access_history to RegistrarClient
  • Add create_registrar method to RegistrarAdminClient
  • Add zone access edit methods (add, update, delete) to RegistrarAdminClient
  • Add is_internal flag to registrar

0.4.1 (2022-06-13)

  • Inherit object id classes from BaseId

0.4.0 (2022-05-09)

  • Add additional domain notify info methods

0.3.2 (2022-05-03)

  • Fix sponsoring registrar validator

0.3.1 (2022-05-02)

  • Fix get_domains_by_contact to return set of roles instead of booleans

0.3.0 (2022-04-28)

  • Add get_domains_by_contact method
  • Add sponsoring registrar to all basic object types

0.2.0 (2022-04-14)

  • Add bulk change domain state flags method
  • Add bulk delete domains method
  • Add get_object_id methods
  • Add ObjectDoesNotExist exception
  • Add Id and HistoryId types
  • Use pydantic models
  • Change decoding of unset messages and empty strings
  • Replace UUID with str for all object identifiers
  • Expose some missing imports

0.1.0 (2021-11-15)

Initial version.