CHANGELOG¶
v0.13.0 (2026-09-10)¶
Features¶
- mcp: Add clear_local_data to wipe the local store and response cache
(
f174e89)
v0.12.1 (2026-09-10)¶
Bug Fixes¶
- csv_export: Store blank DMR Color Code and tone cells as None
(
374f10d)
v0.12.0 (2026-09-09)¶
Refactoring¶
- models: Share RepeaterBook's boolean vocabulary between JSON and CSV ingest
(
00bb987)
Breaking Changes¶
- models: Csv_export.YES is removed, and services.BOOL_MAP has moved to models.BOOL_MAP. Decode capability cells with models.parse_flag() instead of comparing against a constant.
v0.11.5 (2026-09-09)¶
Bug Fixes¶
- utils: Make square_bounds enclose the whole circle
(
ea44ec4)
v0.11.4 (2026-09-07)¶
Bug Fixes¶
- database: Give RepeaterBook a close() and context manager to dispose its engine
(
b1f04b4)
v0.11.3 (2026-09-04)¶
Bug Fixes¶
- deps: Bump nox to >=2026.2.9 so sessions survive a second local run
(
07c03a4)
v0.11.2 (2026-09-04)¶
Bug Fixes¶
- release: Keep the changelog updating under PSR v10
(
ef3f46c)
Chores¶
-
deps-dev: Bump mkdocs-material in the uv group across 1 directory (
3898d43) -
wordlist: Update (
e4c018d)
Testing¶
- Reach 100% line and branch coverage, and enforce it
(
d9c792e)
v0.11.1 (2026-09-02)¶
Bug Fixes¶
- ci: Stop a failed asset upload from skipping the PyPI publish
(
16b5be3)
v0.11.0 (2026-09-02)¶
Bug Fixes¶
- models: Type ARES/RACES/SKYWARN/CANWARN as tri-state booleans
(
33aef9f)
Features¶
- database: Rebuild the local database when its schema drifts
(
5aa339a)
Breaking Changes¶
- models: Repeater.ares, .races, .skywarn and .canwarn are now
bool | Noneinstead ofstr | None. Replace== "Yes"with== True, and note that a null check no longer means "supported": None is a third state meaning the export did not report it. An existing database is discarded and rebuilt on first use, since its columns hold the old text.
v0.10.2 (2026-09-01)¶
Bug Fixes¶
- Raise RepeaterBookCacheError on cache write failure
(
7e891bf)
v0.10.1 (2026-09-01)¶
Bug Fixes¶
- mcp: Validate settings at startup
(
e1c40e4)
Chores¶
- deps: Bump tornado from 6.5.7 to 6.5.8
(
6e79bfd)
Documentation¶
-
Compare emcomm fields to "Yes", not to null (
50f2c8b) -
Correct broken and inaccurate code examples (
fd8a49c) -
Cover all submodules in the API reference and fix dead links (
7330f34) -
Document the MCP subpackage in the API reference (
1b26a26) -
Explain how to get an API token via App #114 (
b465f99) -
Rewrite architecture for the current codebase (
45023ee)
v0.10.0 (2026-08-31)¶
Documentation¶
Features¶
- mcp: Declare the server in the MCP Registry
(
5c07d1b)
v0.9.1 (2026-08-31)¶
Bug Fixes¶
- mcp: Stop overriding the approved User-Agent contact
(
44fb0b9)
Documentation¶
- Replace the User-Agent override example in usage.md
(
fab0e98)
v0.9.0 (2026-08-27)¶
Features¶
- spec: Expose linking node fields on RepeaterSpec
(
571ca47)
v0.8.4 (2026-08-27)¶
Bug Fixes¶
- spec: Make last_update timezone-aware for RFC 3339 output
(
e2eed21)
Documentation¶
v0.8.3 (2026-08-26)¶
Bug Fixes¶
- meta: Surface the MCP server in project metadata and correct stale claims
(
dfb82f3)
Documentation¶
-
Update .all-contributorsrc [skip ci] (
639ee6e) -
Update .all-contributorsrc [skip ci] (
9e0919f) -
Update docs/README.md [skip ci] (
b8a78e7) -
Update docs/README.md [skip ci] (
7d8c8a5)
v0.8.2 (2026-08-26)¶
Bug Fixes¶
- services: Skip unmodellable export rows instead of failing the batch
(
a79abc3)
v0.8.1 (2026-08-26)¶
Bug Fixes¶
- ci: Run the GitHub publish step from the locked environment too
(
06d0f1f)
v0.8.0 (2026-08-26)¶
Bug Fixes¶
-
ci: Run semantic-release from the locked environment (
4f008ff) -
ci: Upgrade semantic-release to v10 and pin 0.x versioning (
ad12bcd)
Chores¶
-
deps: Bump aiohttp from 3.14.1 to 3.14.3 (
dcb5fc1) -
deps: Bump gitpython from 3.1.54 to 3.1.57 (
a97e581) -
deps: Bump gitpython from 3.1.57 to 3.1.58 (
8c566dd) -
deps: Bump pymdown-extensions from 11.0 to 11.0.1 (
fc6cc18)
Features¶
- mcp: Add an MCP server and promote the repeater-spec contract into core
(
ad1021a)
v0.7.0 (2026-07-28)¶
Bug Fixes¶
- auth: Pin app_version to keep the approved User-Agent stable
(
892ec14)
RepeaterBook approves tokens against a specific User-Agent (including the version). Deriving app_version from the package version changed the UA on every release and could break already-approved tokens, so pin it to the approved value and bump it deliberately in lockstep with the registered User-Agent.
- auth: Use X-RB-App-Token header
(
7c09d2d)
RepeaterBook's 2026-03-03 API policy requires an approved per-user token sent via the preferred
X-RB-App-Token header. The live API rejects Authorization: Bearer
Send the raw token in X-RB-App-Token when app_token is set, mark app_token repr=False so the credential never leaks via attrs repr, add unit coverage for the 401/500 error paths, switch the live integration tests to an authenticated fixture (reads REPEATERBOOK), and correct the docs/FAQ that wrongly stated no auth was required.
Fixes #31
Chores¶
- Align default User-Agent app_name with the client name
(
cce19bc)
Change RepeaterBookAPI.app_name default from "RepeaterBook Python SDK" to "RepeaterBook Python Client" so the User-Agent sent to RepeaterBook.com matches the project's unofficial-client identity. Also rewords the class docstring and updates the playground example to match.
- Sync .cruft.json template context with the new client identity
(
a3274dd)
Update the cruft/cookiecutter context so project_name and project_short_description match the repositioned identity ("RepeaterBook Python Client" / unofficial third-party client). This keeps a future cruft update from reverting the new naming. project_slug and project_distribution_name are unchanged, so the package/import name stays "repeaterbook".
- deps: Bump aiohttp from 3.13.4 to 3.14.1
(
10b9719)
--- updated-dependencies: - dependency-name: aiohttp dependency-version: 3.14.1
dependency-type: direct:production ...
Signed-off-by: dependabot[bot] support@github.com
- deps: Bump gitpython from 3.1.46 to 3.1.50
(
8fa4e1f)
Bumps gitpython from 3.1.46 to 3.1.50. - Release notes - Changelog - Commits
--- updated-dependencies: - dependency-name: gitpython dependency-version: 3.1.50
dependency-type: indirect ...
Signed-off-by: dependabot[bot] support@github.com
- deps: Bump gitpython from 3.1.50 to 3.1.52
(
70f849b)
Bumps gitpython from 3.1.50 to 3.1.52. - Release notes - Changelog - Commits
--- updated-dependencies: - dependency-name: gitpython dependency-version: 3.1.52
dependency-type: indirect ...
Signed-off-by: dependabot[bot] support@github.com
- deps: Bump gitpython from 3.1.52 to 3.1.54
(
bfcb2b1)
Bumps gitpython from 3.1.52 to 3.1.54. - Release notes - Changelog - Commits
--- updated-dependencies: - dependency-name: gitpython dependency-version: 3.1.54
dependency-type: indirect ...
Signed-off-by: dependabot[bot] support@github.com
- deps: Bump idna from 3.11 to 3.15
(
d41169f)
Bumps idna from 3.11 to 3.15. - Release notes - Changelog - Commits
--- updated-dependencies: - dependency-name: idna dependency-version: '3.15'
dependency-type: indirect ...
Signed-off-by: dependabot[bot] support@github.com
- deps: Bump pygments from 2.19.2 to 2.20.0
(
8247f18)
Bumps pygments from 2.19.2 to 2.20.0. - Release notes - Changelog - Commits
--- updated-dependencies: - dependency-name: pygments dependency-version: 2.20.0
dependency-type: indirect ...
Signed-off-by: dependabot[bot] support@github.com
- deps: Bump pymdown-extensions from 10.20.1 to 10.21.3
(
b28e151)
Bumps pymdown-extensions from 10.20.1 to 10.21.3. - Release notes - Commits
--- updated-dependencies: - dependency-name: pymdown-extensions dependency-version: 10.21.3
dependency-type: indirect ...
Signed-off-by: dependabot[bot] support@github.com
- deps: Bump pymdown-extensions from 10.21.3 to 11.0
(
9a8ac8f)
Bumps pymdown-extensions from 10.21.3 to 11.0. - Release notes - Commits
--- updated-dependencies: - dependency-name: pymdown-extensions dependency-version: '11.0'
dependency-type: indirect ...
Signed-off-by: dependabot[bot] support@github.com
- deps: Bump pytest from 9.0.2 to 9.0.3
(
54b34e1)
Bumps pytest from 9.0.2 to 9.0.3. - Release notes - Changelog - Commits
--- updated-dependencies: - dependency-name: pytest dependency-version: 9.0.3
dependency-type: direct:production ...
Signed-off-by: dependabot[bot] support@github.com
- deps: Bump tornado from 6.5.5 to 6.5.7
(
1f76792)
Bumps tornado from 6.5.5 to 6.5.7. - Changelog - Commits
--- updated-dependencies: - dependency-name: tornado dependency-version: 6.5.7
dependency-type: indirect ...
Signed-off-by: dependabot[bot] support@github.com
- deps: Bump urllib3 from 2.6.3 to 2.7.0
(
6da49fe)
Bumps urllib3 from 2.6.3 to 2.7.0. - Release notes - Changelog - Commits
--- updated-dependencies: - dependency-name: urllib3 dependency-version: 2.7.0
dependency-type: indirect ...
Signed-off-by: dependabot[bot] support@github.com
- deps: Bump uv from 0.9.28 to 0.11.15
(
045fa3a)
Bumps uv from 0.9.28 to 0.11.15. - Release notes - Changelog - Commits
--- updated-dependencies: - dependency-name: uv dependency-version: 0.11.15
dependency-type: indirect ...
Signed-off-by: dependabot[bot] support@github.com
Documentation¶
Reword documentation, package metadata, and public docstrings so the project presents as "RepeaterBook Python Client" -- an unofficial, third-party client for the RepeaterBook.com API -- rather than as RepeaterBook itself.
-
Add "unofficial / not affiliated with, endorsed by, or officially supported by RepeaterBook.com" notices: README banner, a new docs FAQ entry, the pyproject/site description, and a new root NOTICE (trademark acknowledgement). - Reserve the bare name "RepeaterBook"/"RepeaterBook.com" for the upstream service; refer to this library as the "RepeaterBook Python Client". - No public API symbols renamed and no behavior change.
-
auth: Show required API token in quick-start examples (
18aeea7)
Update the README quick example, the getting-started tutorial, and the examples page to reflect that a per-user token is now required: load it from the REPEATERBOOK environment variable and pass it via app_token. Adds token notes that point to the Authentication guide.
Features¶
- exceptions: Surface API error_code/message and add 403/429 types
(
92d77a9)
Read the API error body and raise structured exceptions carrying status_code, error_code, the server message, and the request url. fetch_json now inspects the response instead of using raise_for_status, so the JSON error envelope ({"ok":false,"error_code":...,"message":...}) is no longer discarded.
Adds RepeaterBookForbiddenError (403) and RepeaterBookRateLimitError (429, with retry_after); export_json handles both the ok:false and legacy status:error envelopes. Request headers and the token are never included in exception output.
Testing¶
- auth: Harden live integration tests and cover User-Agent
(
cbf2c05)
Switch the live tests to the token's approved default identity, shrink queries to small regions (Rhode Island and a small ROW country), and add a 2s cooldown between live calls. Add an offline test that a mismatched User-Agent is rejected, and a live probe that reports (via skip) whether the token accepts a different app version.
v0.6.0 (2026-04-07)¶
Chores¶
- deps: Bump aiohttp from 3.13.3 to 3.13.4
(
24b513c)
--- updated-dependencies: - dependency-name: aiohttp dependency-version: 3.13.4
dependency-type: direct:production ...
Signed-off-by: dependabot[bot] support@github.com
- deps: Bump requests from 2.32.5 to 2.33.0
(
0e47556)
Bumps requests from 2.32.5 to 2.33.0. - Release notes - Changelog - Commits
--- updated-dependencies: - dependency-name: requests dependency-version: 2.33.0
dependency-type: indirect ...
Signed-off-by: dependabot[bot] support@github.com
Features¶
- Truncate
(
f1d70f6)
v0.5.1 (2026-04-06)¶
Bug Fixes¶
- Remove Py 3.10, add 3.14
(
51b5cb9)
v0.5.0 (2026-04-06)¶
Chores¶
- deps: Bump tornado from 6.5.4 to 6.5.5
(
49e0d7b)
Bumps tornado from 6.5.4 to 6.5.5. - Changelog - Commits
--- updated-dependencies: - dependency-name: tornado dependency-version: 6.5.5
dependency-type: indirect ...
Signed-off-by: dependabot[bot] support@github.com
Documentation¶
- Add AGENTS.md project knowledge base
(
d1a63e4)
Features¶
- Import from CSV export
(
4e569a2)
v0.4.2 (2026-03-04)¶
Bug Fixes¶
- Support auth
(
fbdcf71)
Chores¶
- Format
(
9e71ff4)
v0.4.1 (2026-03-04)¶
Bug Fixes¶
- Handle API errors
(
e676c5b)
Documentation¶
Add extensive documentation covering all aspects of the RepeaterBook library:
- getting-started.md: Complete tutorial for beginners with quick start examples - usage.md: Comprehensive usage guide covering API client, database operations, geographic queries, frequency filtering, digital modes, and data export - architecture.md: Technical architecture documentation with diagrams, data flow explanations, design decisions, and extensibility guide - examples.md: Real-world examples including web apps, codeplug generation, coverage maps, statistics dashboards, travel planning, and network analysis - faq.md: Extensive FAQ covering installation, usage, performance, troubleshooting, and integration questions - README.md: Enhanced with better introduction, features list, quick example, and clear navigation to all documentation sections - mkdocs.yml: Updated navigation structure to include all new documentation pages
This significantly improves the developer experience by providing clear, comprehensive documentation with practical examples for common use cases.
Co-Authored-By: Claude Sonnet 4.5 noreply@anthropic.com
- fix: regenerate corrupted uv.lock file
The uv.lock file had a corruption with typing-extensions dependency missing source field. Regenerated the lock file to resolve the issue.
- fix: correct all field names and API usage in documentation examples
Fixed all code examples across documentation to use correct field names and proper API patterns:
- Changed LatLon(latitude=, longitude=) to LatLon(lat=, lon=) - Updated field names to match actual model: - location → location_nearest_city - input_ctcss → pl_ctcss_uplink - output_ctcss → pl_ctcss_tsq_downlink - p25_capable → apco_p_25_capable - p25_nac → p_25_nac - Fixed distance handling: filter_radius() returns sorted repeaters but doesn't add distance attribute, must calculate manually with haversine - Changed states= to state_ids= in ExportQuery - Removed references to non-existent fields (input_dcs, output_dcs, nxdn_ran, trustee) - Fixed emergency services to use actual fields (ares, races, skywarn, canwarn) instead of non-existent Emergency.YES/NO enum - Removed incorrect rb.session usage
All examples now work correctly with the actual codebase.
-
fix: infinite CI
-
chore: update cruft
-
build(CI): fix pre-commit
-
chore: cruft update
-
docs: update documentation for v0.4.0 features
-
Updated API configuration to use max_cache_age (timedelta) instead of cache_ttl - Added documentation for custom exceptions: - RepeaterBookError (base) - RepeaterBookAPIError - RepeaterBookValidationError - RepeaterBookCacheError - Documented model validation (latitude, longitude, frequency) - Added error handling examples to usage guide and FAQ - Added timedelta, haversine, frozenset to wordlist
-
Changed LatLon(latitude=, longitude=) to LatLon(lat=, lon=) - Removed non-existent .distance attribute access - Added inline haversine calculation for distance display - filter_radius() returns sorted repeaters without distance attribute
Co-Authored-By: Claude Opus 4.5 noreply@anthropic.com
-
fix: remove non-existent field references and update API patterns
-
Remove rep.network references (field doesn't exist in Repeater model) - Update cache_ttl to max_cache_age (timedelta) in examples - Fix filter_radius documentation to not set repeater.distance - Fix square_bounds call signature - Rename Example 7 from network analysis to DMR analysis
-
fix: use FIPS codes for state_ids instead of state names
The state_ids parameter requires numeric FIPS codes (e.g., "06" for California, "48" for Texas), not state names. Updated all documentation examples to use correct FIPS codes.
Examples: - California: "06" - Nevada: "32" - Oregon: "41" - Washington: "53" - Texas: "48" - Oklahoma: "40" - New Mexico: "35" - Florida: "12" - Arizona: "04" - Utah: "49"
- fix: use keyword argument for RepeaterBook database parameter
RepeaterBook's first positional arg is working_dir, not database. Fixed all examples to use database= keyword argument.
Also removed incorrect :memory: example - the current implementation doesn't support in-memory databases as it always constructs a file path.
- chore: mkdocs cfg place
Co-authored-by: Claude Sonnet 4.5 noreply@anthropic.com
v0.4.0 (2026-02-04)¶
Features¶
-
feat: comprehensive codebase improvements
-
Add custom exception classes (RepeaterBookError, RepeaterBookAPIError, RepeaterBookCacheError, RepeaterBookValidationError) - Enable North America endpoint in urls_export() - Fix cache race conditions with atomic write pattern - Add model validation for latitude, longitude, and frequency fields - Replace MD5 with SHA256 for cache key generation - Make configuration injectable (max_cache_age, max_count) - Remove commented-out operating_mode field - Improve type safety with explanatory comments for casts - Optimize cache stat calls (single stat instead of exists + stat)
Test suite expansion: - Add test_exceptions.py for exception hierarchy - Add test_services.py for services module - Add test_models.py for model validation - Add test_queries.py for query builders - Add test_database.py for database operations - Add test_utils.py for utility functions - Expand test_repeaterbook.py for public API
Total: 108 tests passing
Co-Authored-By: Claude Opus 4.5 noreply@anthropic.com
- feat: add smart routing for NA/ROW endpoints
Implement intelligent endpoint routing in urls_export(): - NA-specific fields (state_id, county, emcomm, stype) route to NA only - ROW-specific fields (region) route to ROW only - NA countries (US, Canada, Mexico) route to NA only - ROW countries route to ROW only - Mixed or common-only queries route to both
This prevents redundant API calls and avoids unfiltered queries that could return thousands of irrelevant results.
Added tests for all routing scenarios.
- test: add comprehensive smart routing integration tests
Add live API integration tests to verify smart routing behavior: - NA-only queries (state_id) route to export.php only - ROW-only queries (region) route to exportROW.php only - NA country queries route to NA endpoint - ROW country queries route to ROW endpoint - Mixed country queries route to both endpoints - Empty queries route to both endpoints - Mode-only queries route to both endpoints
Also fix linting warnings (use next(iter()) instead of list()[0]).
Co-authored-by: Claude Opus 4.5 noreply@anthropic.com
v0.3.0 (2026-02-03)¶
Chores¶
--- updated-dependencies: - dependency-name: aiohttp dependency-version: 3.13.3
dependency-type: direct:production ...
Signed-off-by: dependabot[bot] support@github.com
Co-authored-by: dependabot[bot] 49699333+dependabot[bot]@users.noreply.github.com
Bumps filelock from 3.18.0 to 3.20.3. - Release notes - Changelog - Commits
--- updated-dependencies: - dependency-name: filelock dependency-version: 3.20.3
dependency-type: indirect ...
Signed-off-by: dependabot[bot] support@github.com
Co-authored-by: dependabot[bot] 49699333+dependabot[bot]@users.noreply.github.com
Bumps urllib3 from 2.3.0 to 2.6.3. - Release notes - Changelog - Commits
--- updated-dependencies: - dependency-name: urllib3 dependency-version: 2.6.3
dependency-type: indirect ...
Signed-off-by: dependabot[bot] support@github.com
Co-authored-by: dependabot[bot] 49699333+dependabot[bot]@users.noreply.github.com
Bumps virtualenv from 20.29.3 to 20.36.1. - Release notes - Changelog - Commits
--- updated-dependencies: - dependency-name: virtualenv dependency-version: 20.36.1
dependency-type: direct:production ...
Signed-off-by: dependabot[bot] support@github.com
Co-authored-by: dependabot[bot] 49699333+dependabot[bot]@users.noreply.github.com
Features¶
Testing¶
-
test: add offline cache tests and opt-in live API integration tests
-
refactor: fix linting and type checking issues in tests
-
Add missing init.py to tests/integration/ package - Replace Any with proper StdPath type annotations for tmp_path - Add missing docstring to test function - Fix line length violations (88 char limit) - Use more specific type:ignore[union-attr] for mypy - Extract magic number to named constant - Move pathlib imports to TYPE_CHECKING block
All linting (ruff) and type checking (mypy) now pass.
Co-Authored-By: Claude Sonnet 4.5 noreply@anthropic.com
-
refactor(tests): extract local server fixture and clean up test code
-
Add local_server fixture in conftest.py to reduce test duplication - Simplify _live_enabled() with case-insensitive comparison - Move pycountry import to module level in test_live_api.py - Extract _NA_SAMPLE_SIZE constant for magic number 200 - Fix import organization (blank lines after TYPE_CHECKING blocks)
Co-Authored-By: Claude Opus 4.5 noreply@anthropic.com
Co-authored-by: Claude Sonnet 4.5 noreply@anthropic.com
v0.2.2 (2026-01-31)¶
Bug Fixes¶
-
fix: tolerate RepeaterBook API drift (sponsor, NA fields, empty Use)
-
refactor: simplify Region parsing (use .get)
-
refactor: add b() helper for Yes/No + 1/0 fields
v0.2.1 (2025-04-09)¶
Chores¶
- Links
(
1d93cdb)
v0.2.0 (2025-04-08)¶
Bug Fixes¶
- Use
and_forsquarequery (9c09b5e)
Features¶
- Queries
(
78972e5)
v0.1.1 (2025-04-03)¶
Bug Fixes¶
- Merge instead of add to local DB
(
f6dfcbf)
Chores¶
v0.1.0 (2025-03-31)¶
Features¶
- Initial release
(
2a257dd)