Skip to content

Commit 0fc8f6b

Browse files
author
cdavis-code
committed
release(google_vision): v2.2.1
- Bump version to 2.2.1 - Add CHANGELOG entry for PR #32 (flutter wrapper API alignment) - Update README with v2.2.1 section and install snippet - Regenerate meta.dart for version consistency
1 parent d67246a commit 0fc8f6b

4 files changed

Lines changed: 13 additions & 4 deletions

File tree

packages/google_vision/CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
11
# Changelog
22

3+
## 2.2.1
4+
5+
* fix: align `google_vision_flutter` wrapper with core v2.1.0+ API — remove obsolete `tokenExpiry` override, add `clearCredentials()` override ([#32](https://github.com/cdavis-code/google_vision_workspace/pull/32) — thanks @felipebastoss)
6+
* meta: regenerated `meta.dart` for version consistency
7+
38
## 2.2.0
49

510
* **Security enhancements**:

packages/google_vision/README.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ Native [Dart](https://dart.dev/) package that integrates Google Vision features,
1212
- [Google Vision Images REST API Client](#google-vision-images-rest-api-client)
1313
- [Project Status](#project-status)
1414
- [Recent Changes](#recent-changes)
15+
- [New for v2.2.1](#new-for-v221)
1516
- [New for v2.2.0](#new-for-v220)
1617
- [New for v2.0.0](#new-for-v200)
1718
- [New for v1.4.0](#new-for-v140)
@@ -39,6 +40,9 @@ Please feel free to submit PRs for any additional helper methods, or report an [
3940

4041
## Recent Changes
4142

43+
### New for v2.2.1
44+
- **Flutter wrapper fix**: Removed obsolete `tokenExpiry` getter override and added `clearCredentials()` override to align `google_vision_flutter` with the core v2.1.0+ API ([#32](https://github.com/cdavis-code/google_vision_workspace/pull/32))
45+
4246
### New for v2.2.0
4347
- **Security enhancements**: Credential leakage prevention with secure logging interceptor that automatically redacts sensitive headers
4448
- **Input validation**: All API methods now validate parameters (maxResults bounds, required fields)
@@ -83,7 +87,7 @@ To use this package, add the dependency to your `pubspec.yaml` file:
8387
```yaml
8488
dependencies:
8589
...
86-
google_vision: ^2.2.0
90+
google_vision: ^2.2.1
8791
```
8892
8993
### Obtaining Authentication/Authorization Credentials

packages/google_vision/lib/meta.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,5 +6,5 @@ library;
66
import 'dart:convert' show json;
77

88
final pubSpec = json.decode(
9-
'{"name":"google_vision","version":"2.2.0","description":"Allows you to add Google Visions image labeling, face, logo, and landmark detection, OCR, and detection of explicit content, into cross platform applications.","homepage":"https://github.com/cdavis-code/google_vision_workspace/tree/main/packages/google_vision","repository":"https://github.com/cdavis-code/google_vision_workspace"}',
9+
'{"name":"google_vision","version":"2.2.1","description":"Allows you to add Google Visions image labeling, face, logo, and landmark detection, OCR, and detection of explicit content, into cross platform applications.","homepage":"https://github.com/cdavis-code/google_vision_workspace/tree/main/packages/google_vision","repository":"https://github.com/cdavis-code/google_vision_workspace"}',
1010
);

packages/google_vision/pubspec.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
name: google_vision
22
description: Allows you to add Google Visions image labeling, face, logo, and landmark detection, OCR, and detection of explicit content, into cross platform applications.
3-
version: 2.2.0
3+
version: 2.2.1
44
repository: https://github.com/cdavis-code/google_vision_workspace
55
homepage: https://github.com/cdavis-code/google_vision_workspace/tree/main/packages/google_vision
66
issue_tracker: https://github.com/cdavis-code/google_vision_workspace/issues
@@ -16,7 +16,7 @@ funding:
1616
resolution: workspace
1717

1818
environment:
19-
sdk: ^3.8.0
19+
sdk: ^3.12.0
2020

2121
dependencies:
2222
collection: ^1.19.1

0 commit comments

Comments
 (0)