Skip to content
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
2 changes: 1 addition & 1 deletion .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: '18'
node-version: '22'

- name: Install docs.page CLI
run: npm install -g @docs.page/cli
Expand Down
2 changes: 1 addition & 1 deletion docs.json
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@
],
"variables": {
"versions": {
"default": "0.2.0",
"default": "1.0.0-beta.12",
"isPrerelease": true
}
},
Expand Down
2 changes: 1 addition & 1 deletion llms.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Ack

> A schema validation library for Dart and Flutter with a fluent runtime API and `@AckType()`-driven extension-type generation. Version 1.0.0-beta.12-wip.
> A schema validation library for Dart and Flutter with a fluent runtime API and `@AckType()`-driven extension-type generation. Version 1.0.0-beta.12.

Ack validates external data with hand-written schemas built using the `Ack`
factory. When you want typed wrappers over validated values, annotate top-level
Expand Down
2 changes: 1 addition & 1 deletion packages/ack/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
## Unreleased
## 1.0.0-beta.12

### Breaking Changes

Expand Down
2 changes: 1 addition & 1 deletion packages/ack/lib/src/constraints/duration_constraint.dart
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ enum DurationComparisonType { min, max }
/// inclusive range checking (on or after for min, on or before for max, in
/// milliseconds).
///
/// Used internally by [Ack.duration()] schemas when applying [.min()] or [.max()]
/// Used internally by [Ack.duration] schemas when applying `min()` or `max()`
/// constraints.
class DurationConstraint extends Constraint<Duration>
with Validator<Duration>, JsonSchemaSpec<Duration> {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ extension NumberSchemaExtensions on NumberSchema {
/// Adds a constraint that the number must be finite.
///
/// Numbers are finite by default; this method is kept for API symmetry with
/// [DoubleSchema.finite].
/// [DoubleSchemaExtensions.finite].
NumberSchema finite() {
return withConstraint(NumberFiniteConstraint<num>());
}
Expand Down
2 changes: 1 addition & 1 deletion packages/ack/pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: ack
description: A simple validation library for Dart
version: 1.0.0-beta.12-wip
version: 1.0.0-beta.12
repository: https://github.com/btwld/ack
issue_tracker: https://github.com/btwld/ack/issues
homepage: https://docs.page/btwld/ack
Expand Down
2 changes: 1 addition & 1 deletion packages/ack_annotations/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
## 1.0.0-beta.12-wip
## 1.0.0-beta.12

### Breaking

Expand Down
6 changes: 3 additions & 3 deletions packages/ack_annotations/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,11 @@

```yaml
dependencies:
ack: ^1.0.0-beta.12-wip
ack_annotations: ^1.0.0-beta.12-wip
ack: ^1.0.0-beta.12
ack_annotations: ^1.0.0-beta.12

dev_dependencies:
ack_generator: ^1.0.0-beta.12-wip
ack_generator: ^1.0.0-beta.12
build_runner: ^2.4.0
```

Expand Down
2 changes: 1 addition & 1 deletion packages/ack_annotations/pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: ack_annotations
description: AckType annotation for schema extension-type generation
version: 1.0.0-beta.12-wip
version: 1.0.0-beta.12
repository: https://github.com/btwld/ack
resolution: workspace

Expand Down
4 changes: 2 additions & 2 deletions packages/ack_firebase_ai/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
## Unreleased
## 1.0.0-beta.12

### Added
- Added `toFirebaseAiResponseJsonSchema()` for Firebase AI's
Expand All @@ -16,7 +16,7 @@
- Target Firebase AI `^3.12.1` and models that support JSON Schema
structured output.
- Default Firebase AI examples and live tests to `gemini-3.5-flash`.
- Require `ack` `^1.0.0-beta.12-wip` for the sealed `AckSchemaModel`
- Require `ack` `^1.0.0-beta.12` for the sealed `AckSchemaModel`
adapter boundary.
- Keep `firebase_ai` and Flutter as explicit package dependencies so package
tests and workspace orchestration use the Firebase AI SDK runtime.
Expand Down
4 changes: 2 additions & 2 deletions packages/ack_firebase_ai/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@ Always validate model output with the same ACK schema after generation. Firebase

```yaml
dependencies:
ack: ^1.0.0-beta.12-wip
ack_firebase_ai: ^1.0.0-beta.12-wip
ack: ^1.0.0-beta.12
ack_firebase_ai: ^1.0.0-beta.12
firebase_ai: ^3.12.1
```

Expand Down
6 changes: 3 additions & 3 deletions packages/ack_firebase_ai/pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: ack_firebase_ai
description: Firebase AI (Gemini) schema converter for ACK validation library
version: 1.0.0-beta.12-wip
version: 1.0.0-beta.12
repository: https://github.com/btwld/ack
issue_tracker: https://github.com/btwld/ack/issues
resolution: workspace
Expand All @@ -10,14 +10,14 @@ environment:
flutter: '>=3.16.0'

dependencies:
ack: ^1.0.0-beta.12-wip
ack: ^1.0.0-beta.12
flutter:
sdk: flutter

dev_dependencies:
firebase_core: ^4.9.0
firebase_core_platform_interface: ^7.0.1
firebase_ai: ^3.12.1
firebase_ai: '>=3.12.1 <3.13.0'
flutter_test:
sdk: flutter
lints: ^5.0.0
Expand Down
2 changes: 1 addition & 1 deletion packages/ack_generator/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
## 1.0.0-beta.12-wip
## 1.0.0-beta.12

### Breaking

Expand Down
6 changes: 3 additions & 3 deletions packages/ack_generator/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,11 +38,11 @@ extension type UserType(Map<String, Object?> _data)

```yaml
dependencies:
ack: ^1.0.0-beta.12-wip
ack_annotations: ^1.0.0-beta.12-wip
ack: ^1.0.0-beta.12
ack_annotations: ^1.0.0-beta.12

dev_dependencies:
ack_generator: ^1.0.0-beta.12-wip
ack_generator: ^1.0.0-beta.12
build_runner: ^2.4.0
```

Expand Down
6 changes: 3 additions & 3 deletions packages/ack_generator/pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: ack_generator
description: Code generator for AckType extension-type generation
version: 1.0.0-beta.12-wip
version: 1.0.0-beta.12
repository: https://github.com/btwld/ack
issue_tracker: https://github.com/btwld/ack/issues
resolution: workspace
Expand All @@ -16,8 +16,8 @@ dependencies:
code_builder: ^4.10.0

# Ack packages (versions are overridden locally by Melos)
ack: ^1.0.0-beta.11
ack_annotations: ^1.0.0-beta.11
ack: ^1.0.0-beta.12
ack_annotations: ^1.0.0-beta.12

# Utilities
collection: ^1.18.0
Expand Down
4 changes: 2 additions & 2 deletions packages/ack_json_schema_builder/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
## Unreleased
## 1.0.0-beta.12

### Changed

* Route conversion through ACK's sealed `AckSchemaModel` boundary and generic
Draft-7 JSON Schema renderer.
* Preserve model defaults, const values, extension keywords, transformed
metadata, and composition.
* Require `ack` `^1.0.0-beta.12-wip` for the sealed `AckSchemaModel`
* Require `ack` `^1.0.0-beta.12` for the sealed `AckSchemaModel`
adapter boundary.

### Removed
Expand Down
4 changes: 2 additions & 2 deletions packages/ack_json_schema_builder/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ Converts ACK schemas to json_schema_builder format via `.toJsonSchemaBuilder()`.

```yaml
dependencies:
ack: ^1.0.0-beta.12-wip
ack_json_schema_builder: ^1.0.0-beta.12-wip
ack: ^1.0.0-beta.12
ack_json_schema_builder: ^1.0.0-beta.12
json_schema_builder: ^0.1.3
```

Expand Down
4 changes: 2 additions & 2 deletions packages/ack_json_schema_builder/pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: ack_json_schema_builder
description: JSON Schema Builder converter for ACK validation library
version: 1.0.0-beta.12-wip
version: 1.0.0-beta.12
repository: https://github.com/btwld/ack
issue_tracker: https://github.com/btwld/ack/issues
resolution: workspace
Expand All @@ -9,7 +9,7 @@ environment:
sdk: '>=3.8.0 <4.0.0'

dependencies:
ack: ^1.0.0-beta.12-wip
ack: ^1.0.0-beta.12
json_schema_builder: ^0.1.3

dev_dependencies:
Expand Down
Loading