Skip to content

Conversation

rochacbruno
Copy link
Owner

Summary

  • Updates ureq dependency from 2.12 to 3.0.12 for latest security fixes and improvements
  • Fixes breaking API change in image_provider.rs due to ureq 3.x API changes
  • Replaces deprecated response.into_reader() with response.into_body().as_reader()

Changes

  • Cargo.toml: Bump ureq version to 3.0.12
  • src/image_provider.rs: Update HTTP response reading to use new ureq 3.x API
  • Cargo.lock: Updated dependencies

Test plan

  • All existing unit tests pass (75 tests)
  • Code quality checks pass (mask check)
  • Image provider functionality verified with live test
  • Downloaded test image (49KB JPEG, 1200x300px) successfully
  • Image correctly integrated in generated HTML (OpenGraph, JSON-LD, CSS)

🤖 Generated with Claude Code

rochacbruno and others added 2 commits July 21, 2025 13:08
- Bump ureq from 2.12 to 3.0.12
- Update image_provider.rs to use new ureq 3.x API
- Replace deprecated response.into_reader() with response.into_body().as_reader()
- All tests pass and image download functionality verified

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
Replace exception raising with warning message and graceful exit
when GitHub API returns non-200 status codes (like 403 rate limits).

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
@rochacbruno rochacbruno merged commit 5d0f114 into main Jul 21, 2025
3 checks passed
@rochacbruno rochacbruno deleted the feat/update-ureq-to-3.0.12 branch July 21, 2025 12:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant