mapradar 0.2.0__tar.gz → 0.4.0__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- mapradar-0.4.0/.github/ISSUE_TEMPLATE/bug_report.md +22 -0
- mapradar-0.4.0/.github/ISSUE_TEMPLATE/feature_request.md +14 -0
- {mapradar-0.2.0 → mapradar-0.4.0}/.gitignore +1 -1
- mapradar-0.4.0/CHANGELOG.md +37 -0
- {mapradar-0.2.0 → mapradar-0.4.0}/Cargo.lock +518 -426
- {mapradar-0.2.0 → mapradar-0.4.0}/Cargo.toml +4 -4
- mapradar-0.4.0/PKG-INFO +197 -0
- mapradar-0.4.0/README.md +176 -0
- mapradar-0.4.0/docs/CODE_OF_CONDUCT.md +25 -0
- {mapradar-0.2.0 → mapradar-0.4.0}/docs/CONTRIBUTING.md +9 -13
- mapradar-0.4.0/docs/SECURITY.md +57 -0
- {mapradar-0.2.0 → mapradar-0.4.0}/pyproject.toml +1 -1
- {mapradar-0.2.0 → mapradar-0.4.0}/src/cache.rs +7 -5
- {mapradar-0.2.0 → mapradar-0.4.0}/src/client/bindings.rs +32 -0
- mapradar-0.4.0/src/client/core.rs +427 -0
- {mapradar-0.2.0 → mapradar-0.4.0}/src/client/mod.rs +1 -1
- {mapradar-0.2.0 → mapradar-0.4.0}/src/lib.rs +1 -0
- {mapradar-0.2.0 → mapradar-0.4.0}/src/main.rs +73 -10
- {mapradar-0.2.0 → mapradar-0.4.0}/src/models.rs +123 -10
- mapradar-0.4.0/src/utils.rs +138 -0
- mapradar-0.2.0/PKG-INFO +0 -458
- mapradar-0.2.0/README.md +0 -437
- mapradar-0.2.0/docs/SECURITY.md +0 -63
- mapradar-0.2.0/src/client/core.rs +0 -280
- mapradar-0.2.0/src/utils.rs +0 -70
- {mapradar-0.2.0 → mapradar-0.4.0}/.env.example +0 -0
- {mapradar-0.2.0 → mapradar-0.4.0}/LICENSE +0 -0
- {mapradar-0.2.0 → mapradar-0.4.0}/src/error.rs +0 -0
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: Bug Report
|
|
3
|
+
about: Report a bug
|
|
4
|
+
labels: bug
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
## Description
|
|
8
|
+
Brief description.
|
|
9
|
+
|
|
10
|
+
## Steps to Reproduce
|
|
11
|
+
1. Step one
|
|
12
|
+
2. Step two
|
|
13
|
+
|
|
14
|
+
## Expected Behavior
|
|
15
|
+
What should happen.
|
|
16
|
+
|
|
17
|
+
## Actual Behavior
|
|
18
|
+
What happens.
|
|
19
|
+
|
|
20
|
+
## Environment
|
|
21
|
+
- OS: [e.g., macOS 14.0]
|
|
22
|
+
- Version: [e.g., 0.3.0]
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
# Changelog
|
|
2
|
+
|
|
3
|
+
Format based on [Keep a Changelog](https://keepachangelog.com/).
|
|
4
|
+
|
|
5
|
+
## [0.4.0] - 2026-06-14
|
|
6
|
+
|
|
7
|
+
### BREAKING CHANGES
|
|
8
|
+
- **Rust API (`JsonRpcResponse`)**: The `result` field type has been changed from `Option<String>` to `Option<serde_json::Value>` to fix a double-encoding issue where JSON payloads were improperly stringified inside JSON-RPC responses. Consumers of the Rust library must update their struct bindings. Python users are unaffected as the object serialization remains dynamic.
|
|
9
|
+
- **Dependency Bumps (`pyo3`)**: Upgraded `pyo3` and `pyo3-async-runtimes` from `0.27.2` to `0.29.0` to patch out-of-bounds read and missing `Sync` bounds vulnerabilities. Code compiling against the Rust extension feature `python` will require `pyo3 = "0.29.0"`.
|
|
10
|
+
|
|
11
|
+
### Added
|
|
12
|
+
- JSON-RPC 2.0 support natively using `serde_json::Value`
|
|
13
|
+
- Routes API (V2) for multiple travel modes (`okada`, `keke`, `danfo`, `brt`) via `--mode`
|
|
14
|
+
- Places API (New) integration across backend queries
|
|
15
|
+
|
|
16
|
+
### Changed
|
|
17
|
+
- Standardized error handling and result formatting globally
|
|
18
|
+
- Descriptive and explicit variable naming (removing all single-character variables and closures)
|
|
19
|
+
- Purged all flagged vulnerability dependencies via ecosystem bump (`cargo update`)
|
|
20
|
+
|
|
21
|
+
### Fixed
|
|
22
|
+
- Cache key fingerprints properly include `max_results` to prevent short-circuit cache truncation
|
|
23
|
+
- JSON-RPC result serialization strictly avoids double-encoding string-in-JSON bugs
|
|
24
|
+
|
|
25
|
+
---
|
|
26
|
+
|
|
27
|
+
## [0.3.0] - 2026-04-08
|
|
28
|
+
|
|
29
|
+
### Added
|
|
30
|
+
- Travel distance calculation
|
|
31
|
+
|
|
32
|
+
---
|
|
33
|
+
|
|
34
|
+
## [0.2.0] - 2026-04-01
|
|
35
|
+
|
|
36
|
+
### Added
|
|
37
|
+
- Initial CLI and Place Details integration
|