Skip to content

feat: add avoid_highways argument - #122

Merged
eifinger merged 2 commits into
eifinger:mainfrom
bernieke:main
Nov 27, 2026
Merged

eifinger merged 2 commits into
eifinger:mainfrom
bernieke:main

Conversation

@bernieke

Copy link
Copy Markdown
Contributor

Adds an avoid_highways argument to get_routes() and calc_routes() that sends Waze's AVOID_PRIMARIES routing option, the setting the Waze app exposes as avoiding highways.

The argument is appended at the end so existing positional calls keep working. But if that's not a concern I'd advocate for placing it after the other avoid arguments instead. Let me know if I should change that.

@eifinger eifinger added enhancement New feature or request breaking-change labels Nov 27, 2026
@eifinger

Copy link
Copy Markdown
Owner

Thank you for this PR.

Yes, put it near the other avoids arguments. I am marking this PR as breaking change so it will lead to a major version bump.
I plan to "fix" the broken address to coordinate lookup and planned on a major release anyways.

@bernieke

Copy link
Copy Markdown
Contributor Author

Done!

@eifinger
eifinger merged commit 18d48cd into eifinger:main Nov 27, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

breaking-change enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants