这是indexloc提供的服务,不要输入任何密码
Skip to content

Util release #29

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Jul 20, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
23 changes: 23 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,29 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.

## 2025-07-20

### Changes

---

Packages with breaking changes:

- There are no breaking changes in this release.

Packages with other changes:

- [`tonik_util` - `v0.0.7`](#tonik_util---v007)

---

#### `tonik_util` - `v0.0.7`

- **FEAT**: Uri property encoding and decoding.
- **FEAT**: time zone aware date time parsing.
- **FEAT**: time zone aware encoding of date time objects.


## 2025-06-15

### Changes
Expand Down
6 changes: 3 additions & 3 deletions integration_test/gov/gov_test/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,10 @@ dependencies:
dio: ^5.8.0
gov_api:
path: ../gov_api
path: ^1.8.3
tonik_util: ^0.0.6
path: ^1.9.1
tonik_util: ^0.0.7

dev_dependencies:
test: ^1.24.0
test: ^1.25.15
very_good_analysis: ^9.0.0

20 changes: 18 additions & 2 deletions integration_test/music_streaming/music_streaming_test/pubspec.lock
Original file line number Diff line number Diff line change
Expand Up @@ -137,6 +137,14 @@ packages:
url: "https://pub.dev"
source: hosted
version: "2.1.3"
http:
dependency: transitive
description:
name: http
sha256: "2c11f3f94c687ee9bad77c171151672986360b2b001d109814ee7140b2cf261b"
url: "https://pub.dev"
source: hosted
version: "1.4.0"
http_multi_server:
dependency: transitive
description:
Expand Down Expand Up @@ -384,14 +392,22 @@ packages:
url: "https://pub.dev"
source: hosted
version: "0.6.11"
timezone:
dependency: transitive
description:
name: timezone
sha256: dd14a3b83cfd7cb19e7888f1cbc20f258b8d71b54c06f79ac585f14093a287d1
url: "https://pub.dev"
source: hosted
version: "0.10.1"
tonik_util:
dependency: "direct main"
description:
name: tonik_util
sha256: d1fc175e99d440d654d4be8b78f008d2d0614820fb8d9f40507cd3e5ee34fcca
sha256: "4b86da571a6a3ce18d89bc0e0a489aa1eebf8d43a8a883d85a69a870df3c69e8"
url: "https://pub.dev"
source: hosted
version: "0.0.6"
version: "0.0.7"
typed_data:
dependency: transitive
description:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@ dependencies:
dio: ^5.8.0
music_streaming_api:
path: ../music_streaming_api
path: ^1.8.3
tonik_util: ^0.0.2
path: ^1.9.1
tonik_util: ^0.0.7

dev_dependencies:
test: ^1.24.0
test: ^1.25.15
very_good_analysis: ^9.0.0
7 changes: 3 additions & 4 deletions integration_test/petstore/petstore_test/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,12 @@ environment:

dependencies:
dio: ^5.8.0
path: ^1.8.3
path: ^1.9.1
petstore_api:
path: ../petstore_api
tonik_util: ^0.0.2

tonik_util: ^0.0.7

dev_dependencies:
test: ^1.24.0
test: ^1.25.15
very_good_analysis: ^9.0.0

3 changes: 0 additions & 3 deletions packages/tonik_generate/lib/src/naming/name_utils.dart
Original file line number Diff line number Diff line change
@@ -1,12 +1,9 @@
import 'package:change_case/change_case.dart';

/// Default prefix used for empty or invalid enum values.
const defaultEnumPrefix = 'value';

/// Default prefix used for empty or invalid field names.
const defaultFieldPrefix = 'field';

/// Reserved Dart keywords that cannot be used as identifiers.
const dartKeywords = {
'abstract',
'as',
Expand Down
2 changes: 1 addition & 1 deletion packages/tonik_generate/lib/src/pubspec_generator.dart
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ dependencies:
dio: ^5.8.0+1
lints: ^6.0.0
meta: ^1.16.0
tonik_util: ^0.0.6
tonik_util: ^0.0.7
''';

pubspecFile.writeAsStringSync(content);
Expand Down
6 changes: 6 additions & 0 deletions packages/tonik_util/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
## 0.0.7

- **FEAT**: Uri property encoding and decoding.
- **FEAT**: time zone aware date time parsing.
- **FEAT**: time zone aware encoding of date time objects.

## 0.0.6

- **FIX**: proper handle dates.
Expand Down
2 changes: 1 addition & 1 deletion packages/tonik_util/pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: tonik_util
description: Runtime tools for packages generated by Tonik.
version: 0.0.6
version: 0.0.7
repository: https://github.com/t-unit/tonik
resolution: workspace

Expand Down
10 changes: 5 additions & 5 deletions pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,11 @@ dependencies:
logging: ^1.3.0
meta: ^1.16.0
path: ^1.9.1
tonik: ^0.0.4
tonik_core: ^0.0.4
tonik_generate: ^0.0.4
tonik_parse: ^0.0.4
tonik_util: ^0.0.4
tonik: ^0.0.6
tonik_core: ^0.0.6
tonik_generate: ^0.0.6
tonik_parse: ^0.0.6
tonik_util: ^0.0.7

dev_dependencies:
melos: ^7.0.0-dev.9
Expand Down