Skip to content

Commit 9442df0

Browse files
agordn52claude
andcommitted
chore(release): bump version to 3.0.0
BREAKING CHANGE: Replaced nylo_support dependency with flutter_secure_storage. Removed public getUUID() top-level function. - Added macOS, Windows, and Linux platform support - Added country_code to toJson() output - Added comprehensive unit tests - Improved code quality and security Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent 6330665 commit 9442df0

File tree

9 files changed

+553
-528
lines changed

9 files changed

+553
-528
lines changed

.flutter-plugins-dependencies

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,3 +27,6 @@ migrate_working_dir/
2727
**/doc/api/
2828
.dart_tool/
2929
build/
30+
31+
CLAUDE.md
32+
.claude

CHANGELOG.md

Lines changed: 26 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,29 @@
1-
## [3.0.0] - 2025-12-13
2-
3-
* Update pubspec.yaml
1+
## [3.0.0] - 2026-02-06
2+
3+
### Added
4+
* macOS platform support
5+
* Windows platform support
6+
* Linux platform support
7+
* `country_code` field now included in `toJson()` output
8+
* Comprehensive unit tests for `DeviceMeta` class
9+
10+
### Changed
11+
* Replaced `nylo_support` dependency with `flutter_secure_storage` for UUID persistence
12+
* Upgraded `device_info_plus` dependency to `^12.3.0`
13+
* Upgraded `flutter_lints` to `^6.0.0`
14+
* Moved UUID helper functions inside `DeviceMeta` class as private static methods
15+
* Changed import from `flutter/material.dart` to `flutter/widgets.dart` (lighter dependency)
16+
* Extracted reserved keys into a static const `_reservedKeys` list
17+
* Extracted non-ASCII regex into a static `_nonAsciiRegex` constant
18+
* Improved `_randomStr()` to use `Random.secure()` and `StringBuffer` for better security and performance
19+
* Refactored platform detection from separate `if` statements to `if-else if` chain
20+
* Added explicit `void` return type to `fromJson()`
21+
* Updated iOS model field to use `modelName` instead of `model`
22+
* Updated copyright year in LICENSE
23+
24+
### Removed
25+
* `nylo_support` dependency - replaced with direct `flutter_secure_storage` usage
26+
* Public `getUUID()` top-level function (now private static method `_getUUID()` inside `DeviceMeta`)
427

528
## [2.1.9] - 2025-09-06
629

LICENSE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
MIT License
22

3-
Copyright (c) 2025 Anthony Gordon
3+
Copyright (c) 2026 Anthony Gordon
44

55
Permission is hereby granted, free of charge, to any person obtaining a copy
66
of this software and associated documentation files (the "Software"), to deal

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ Add the following to your `pubspec.yaml` file:
1515

1616
``` yaml
1717
dependencies:
18-
device_meta: ^2.1.10
18+
device_meta: ^3.0.0
1919
```
2020
2121
or with Dart:

0 commit comments

Comments
 (0)