Skip to content

feat: v1.0.0#8

Merged
marsavar merged 1 commit into
mainfrom
v1.0.0
Jul 2, 2025
Merged

feat: v1.0.0#8
marsavar merged 1 commit into
mainfrom
v1.0.0

Conversation

@marsavar

@marsavar marsavar commented Jul 2, 2025

Copy link
Copy Markdown
Owner

[1.0.0] - 2025-07-02

Changed

  • [BREAKING CHANGE] GuardianContentClient no longer needs to be mutable. To account for this change, requests must be built with the .build_request() method to be called on the client. An example can be found in the README.md file.
    The motivation for this change is to be able to share the client between multiple threads without resorting to synchronisation primitives.
  • The client no longer prints to stderr if the Guardian Content API responds with an error. The client now returns an Error variant depending on the type of error, so that downstream consumers can deal with the errors as they wish.
  • Removed the aletheia::Result<T> type.
  • Upgraded several dependencies.

Added

  • Added MSRV to the project

Fixed

  • The pages field in the SearchResponse struct is now of type Option<isize> (previously Option<u32>) to account for the API responding with -1 when setting the page size to 0 on the client.

@marsavar
marsavar force-pushed the v1.0.0 branch 3 times, most recently from ab8494d to 9e8ff35 Compare July 2, 2025 02:25
@marsavar
marsavar merged commit 6d0f0c4 into main Jul 2, 2025
24 checks passed
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