Skip to content

Commit d764dbc

Browse files
ci: bump version to v0.6.16
1 parent 32b712d commit d764dbc

File tree

3 files changed

+30
-21
lines changed

3 files changed

+30
-21
lines changed

CHANGELOG.md

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

3+
## [0.6.16]
4+
5+
- Released @ 6/2025 (UTC)
6+
- Update dependencies
7+
38
## [0.6.15]
49

510
- Released @ 6/2025 (UTC)

README.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
<a href="https://www.buymeacoffee.com/dev_cetera" target="_blank"><img align="right" src="https://cdn.buymeacoffee.com/buttons/default-orange.png" height="48"></a>
2-
<a href="https://discord.gg/gEQ8y2nfyX" target="_blank"><img align="right" src="https://raw.githubusercontent.com/dev-cetera/resources/refs/heads/main/assets/icons/discord_icon/discord_icon.svg" height="48"></a>
2+
<a href="https://discord.gg/gEQ8y2nfyX" target="_blank"><img align="right" src="https://raw.githubusercontent.com/dev-cetera/resources/refs/heads/main/assets/discord_icon/discord_icon.svg" height="48"></a>
33

44
Dart & Flutter Packages by dev-cetera.com & contributors.
55

66
[![sponsor](https://img.shields.io/badge/sponsor-grey?logo=github-sponsors)](https://github.com/sponsors/dev-cetera)
77
[![patreon](https://img.shields.io/badge/patreon-grey?logo=patreon)](https://www.patreon.com/c/RobertMollentze)
88
[![pub](https://img.shields.io/pub/v/df_gen_core.svg)](https://pub.dev/packages/df_gen_core)
9-
[![tag](https://img.shields.io/badge/tag-v0.6.15-purple?logo=github)](https://github.com/dev-cetera/df_gen_core/tree/v0.6.15)
9+
[![tag](https://img.shields.io/badge/tag-v0.6.16-purple?logo=github)](https://github.com/dev-cetera/df_gen_core/tree/v0.6.16)
1010
[![license](https://img.shields.io/badge/license-MIT-blue.svg)](https://raw.githubusercontent.com/dev-cetera/df_gen_core/main/LICENSE)
1111

1212
---
@@ -51,4 +51,3 @@ If you're enjoying this package and find it valuable, consider showing your appr
5151
## 🧑‍⚖️ License
5252

5353
This project is released under the [MIT License](https://raw.githubusercontent.com/dev-cetera/df_gen_core/main/LICENSE). See [LICENSE](https://raw.githubusercontent.com/dev-cetera/df_gen_core/main/LICENSE) for more information.
54-

lib/src/language_support/dart_annotated_class_analyzer.dart

Lines changed: 23 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,8 @@ final class DartAnnotatedClassAnalyzer {
8484
fullFileUri.toString(),
8585
);
8686
if (library is LibraryElementResult) {
87-
final classElements = library.element.topLevelElements.whereType<ClassElement>();
87+
final classElements = library.element.topLevelElements
88+
.whereType<ClassElement>();
8889
for (final classElement in classElements) {
8990
final className = classElement.displayName;
9091
if (classNameFilter == null || classNameFilter.hasMatch(className)) {
@@ -139,7 +140,8 @@ final class DartAnnotatedClassAnalyzer {
139140
Set<String>? inclMemberAnnotations,
140141
) async {
141142
for (final fieldElement in classElement.fields) {
142-
if (memberNameFilter == null || memberNameFilter.hasMatch(fieldElement.displayName)) {
143+
if (memberNameFilter == null ||
144+
memberNameFilter.hasMatch(fieldElement.displayName)) {
143145
for (final fieldMetadata in fieldElement.metadata) {
144146
final memberAnnotationName = fieldMetadata.element?.displayName;
145147
if (memberAnnotationName != null &&
@@ -199,7 +201,8 @@ final class DartAnnotatedClassAnalyzer {
199201
Set<String>? inclMethodAnnotations,
200202
) async {
201203
for (final method in classElement.methods) {
202-
if (methodNameFilter == null || methodNameFilter.hasMatch(method.displayName)) {
204+
if (methodNameFilter == null ||
205+
methodNameFilter.hasMatch(method.displayName)) {
203206
for (final methodMetadata in method.metadata) {
204207
final methodAnnotationName = methodMetadata.element?.displayName;
205208
if (methodAnnotationName != null &&
@@ -216,7 +219,9 @@ final class DartAnnotatedClassAnalyzer {
216219
final fieldNames = element?.children.map((e) => e.displayName);
217220
if (fieldNames != null) {
218221
for (final fieldName in fieldNames) {
219-
final fieldValue = methodMetadata.computeConstantValue()?.getField(fieldName);
222+
final fieldValue = methodMetadata
223+
.computeConstantValue()
224+
?.getField(fieldName);
220225
if (fieldValue != null) {
221226
await onMethodAnnotationField(
222227
OnMethodAnnotationFieldParams(
@@ -264,8 +269,8 @@ final class DartAnnotatedClassAnalyzer {
264269
if (fieldNames != null) {
265270
for (final fieldName in fieldNames) {
266271
final fieldValue = metadata.computeConstantValue()?.getField(
267-
fieldName,
268-
);
272+
fieldName,
273+
);
269274
if (fieldValue != null) {
270275
await onClassAnnotationField(
271276
OnClassAnnotationFieldParams(
@@ -300,7 +305,8 @@ final class OnAnnotatedClassParams {
300305
});
301306
}
302307

303-
typedef TOnAnnotatedClassCallback = Future<dynamic> Function(OnAnnotatedClassParams parent);
308+
typedef TOnAnnotatedClassCallback =
309+
Future<dynamic> Function(OnAnnotatedClassParams parent);
304310

305311
// ░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░
306312

@@ -321,9 +327,8 @@ final class OnClassAnnotationFieldParams {
321327
});
322328
}
323329

324-
typedef TOnClassAnnotationFieldCallback = Future<dynamic> Function(
325-
OnClassAnnotationFieldParams parent,
326-
);
330+
typedef TOnClassAnnotationFieldCallback =
331+
Future<dynamic> Function(OnClassAnnotationFieldParams parent);
327332

328333
// ░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░
329334

@@ -342,7 +347,8 @@ final class OnAnnotatedMethodParams {
342347
});
343348
}
344349

345-
typedef TOnAnnotatedMethodCallback = Future<dynamic> Function(OnAnnotatedMethodParams parent);
350+
typedef TOnAnnotatedMethodCallback =
351+
Future<dynamic> Function(OnAnnotatedMethodParams parent);
346352

347353
// ░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░
348354

@@ -363,9 +369,8 @@ final class OnMethodAnnotationFieldParams {
363369
});
364370
}
365371

366-
typedef TOnMethodAnnotationFieldCallback = Future<dynamic> Function(
367-
OnMethodAnnotationFieldParams parent,
368-
);
372+
typedef TOnMethodAnnotationFieldCallback =
373+
Future<dynamic> Function(OnMethodAnnotationFieldParams parent);
369374

370375
// ░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░
371376

@@ -386,7 +391,8 @@ final class OnAnnotatedMemberParams {
386391
});
387392
}
388393

389-
typedef TOnAnnotatedMemberCallback = Future<dynamic> Function(OnAnnotatedMemberParams parent);
394+
typedef TOnAnnotatedMemberCallback =
395+
Future<dynamic> Function(OnAnnotatedMemberParams parent);
390396

391397
// ░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░
392398

@@ -407,9 +413,8 @@ final class OnMemberAnnotationFieldParams {
407413
});
408414
}
409415

410-
typedef TOnMemberAnnotationFieldsCallback = Future<dynamic> Function(
411-
OnMemberAnnotationFieldParams parent,
412-
);
416+
typedef TOnMemberAnnotationFieldsCallback =
417+
Future<dynamic> Function(OnMemberAnnotationFieldParams parent);
413418

414419
// ░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░
415420

0 commit comments

Comments
 (0)