From 1bdfee3710a30caf2dda10532c02fcfcf8902023 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ianar=C3=A9=20S=C3=A9vi?= Date: Wed, 13 May 2026 20:12:10 +0200 Subject: [PATCH] :bookmark: Version 5.1.0 --- CHANGELOG.md | 6 ++++++ docs/code_samples/v2_extraction.txt | 7 +++++++ lib/mindee/version.rb | 2 +- 3 files changed, 14 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index eae252d7..68a91717 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,11 @@ # Mindee Ruby API Library Changelog +## v5.1.0 - 2026-05-13 +### Changes +* :sparkles: Add support for extraction in crop, split, and classify products +* :sparkles: add typed accessors for SimpleField + + ## v5.0.0 - 2026-04-20 ### ¡Breaking Changes! * :boom: :recycle: update V1 & V2 syntaxes to match other SDKs diff --git a/docs/code_samples/v2_extraction.txt b/docs/code_samples/v2_extraction.txt index 07999144..002cf3d6 100644 --- a/docs/code_samples/v2_extraction.txt +++ b/docs/code_samples/v2_extraction.txt @@ -40,3 +40,10 @@ response = mindee_client.enqueue_and_get_result( # Print a brief summary of the parsed data puts response.inference + +# Access the result fields +fields = response.inference.result.fields + +# fields.get_simple_field('my_simple_field') +# fields.get_list_field('my_list_field') +# fields.get_object_field('my_object_field') diff --git a/lib/mindee/version.rb b/lib/mindee/version.rb index 9117386e..519fd676 100644 --- a/lib/mindee/version.rb +++ b/lib/mindee/version.rb @@ -3,7 +3,7 @@ # Mindee module Mindee # Current version. - VERSION = '5.0.0' + VERSION = '5.1.0' # Finds and return the current platform. # @return [Symbol, Hash[String | Symbol, Regexp], Nil?]