@zio.dev/zio-blocks 0.0.26 → 0.0.28

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/index.md CHANGED
@@ -81,14 +81,14 @@ val thriftCodec = Schema[Person].derive(ThriftFormat) // Thrift
81
81
  ### Installation
82
82
 
83
83
  ```scala
84
- libraryDependencies += "dev.zio" %% "zio-blocks-schema" % "0.0.26"
84
+ libraryDependencies += "dev.zio" %% "zio-blocks-schema" % "0.0.28"
85
85
 
86
86
  // Optional format modules:
87
- libraryDependencies += "dev.zio" %% "zio-blocks-schema-avro" % "0.0.26"
88
- libraryDependencies += "dev.zio" %% "zio-blocks-schema-toon" % "0.0.26"
89
- libraryDependencies += "dev.zio" %% "zio-blocks-schema-messagepack" % "0.0.26"
90
- libraryDependencies += "dev.zio" %% "zio-blocks-schema-thrift" % "0.0.26"
91
- libraryDependencies += "dev.zio" %% "zio-blocks-schema-bson" % "0.0.26"
87
+ libraryDependencies += "dev.zio" %% "zio-blocks-schema-avro" % "0.0.28"
88
+ libraryDependencies += "dev.zio" %% "zio-blocks-schema-toon" % "0.0.28"
89
+ libraryDependencies += "dev.zio" %% "zio-blocks-schema-messagepack" % "0.0.28"
90
+ libraryDependencies += "dev.zio" %% "zio-blocks-schema-thrift" % "0.0.28"
91
+ libraryDependencies += "dev.zio" %% "zio-blocks-schema-bson" % "0.0.28"
92
92
  ```
93
93
 
94
94
  ### Example: Optics
@@ -143,7 +143,7 @@ Chunk is designed for:
143
143
  ### Installation
144
144
 
145
145
  ```scala
146
- libraryDependencies += "dev.zio" %% "zio-blocks-chunk" % "0.0.26"
146
+ libraryDependencies += "dev.zio" %% "zio-blocks-chunk" % "0.0.28"
147
147
  ```
148
148
 
149
149
  ### Example
@@ -227,11 +227,12 @@ Scope.global.scoped { scope =>
227
227
  - **Built-in Dependency Injection**: Wire up your application with `Resource.from[T](wires*)` for automatic constructor-based DI.
228
228
  - **AutoCloseable Integration**: Resources implementing `AutoCloseable` have `close()` registered automatically.
229
229
  - **Unscoped Constraint**: The `scoped` method requires `Unscoped[A]` evidence on the return type, ensuring only pure data (not resources or closures) can escape.
230
+ - **Actionable Runtime Errors**: If a scope reference escapes and is used after closing, `allocate`, `open()`, and `$` throw `IllegalStateException` with a detailed message explaining what went wrong, the common causes, and how to fix it—no silent null returns.
230
231
 
231
232
  ### Installation
232
233
 
233
234
  ```scala
234
- libraryDependencies += "dev.zio" %% "zio-blocks-scope" % "0.0.26"
235
+ libraryDependencies += "dev.zio" %% "zio-blocks-scope" % "0.0.28"
235
236
  ```
236
237
 
237
238
  ### Example: Basic Resource Management
@@ -334,7 +335,7 @@ Generating documentation, README files, or any Markdown content programmatically
334
335
  ### Installation
335
336
 
336
337
  ```scala
337
- libraryDependencies += "dev.zio" %% "zio-blocks-docs" % "0.0.26"
338
+ libraryDependencies += "dev.zio" %% "zio-blocks-docs" % "0.0.28"
338
339
  ```
339
340
 
340
341
  ### Example
@@ -418,7 +419,7 @@ Compile-time type identity with rich metadata. TypeId captures comprehensive inf
418
419
  ### Installation
419
420
 
420
421
  ```scala
421
- libraryDependencies += "dev.zio" %% "zio-blocks-typeid" % "0.0.26"
422
+ libraryDependencies += "dev.zio" %% "zio-blocks-typeid" % "0.0.28"
422
423
  ```
423
424
 
424
425
  ### Example
@@ -461,7 +462,7 @@ A type-indexed heterogeneous collection that stores values by their types with c
461
462
  ### Installation
462
463
 
463
464
  ```scala
464
- libraryDependencies += "dev.zio" %% "zio-blocks-context" % "0.0.26"
465
+ libraryDependencies += "dev.zio" %% "zio-blocks-context" % "0.0.28"
465
466
  ```
466
467
 
467
468
  ### Example
@@ -535,8 +536,10 @@ ZIO Blocks supports **Scala 2.13** and **Scala 3.x** with full source compatibil
535
536
  ### Core Schema Concepts
536
537
 
537
538
  - [Schema](./reference/schema.md) - Core schema definitions and derivation
539
+ - [Allows](./reference/allows.md) - Compile-time structural grammar constraints
538
540
  - [Reflect](./reference/reflect.md) - Structural reflection API
539
541
  - [Binding](./reference/binding.md) - Runtime constructors and deconstructors
542
+ - [BindingResolver](./reference/binding-resolver.md) - Binding lookup and schema rebinding
540
543
  - [Registers](./reference/registers.md) - Register-based primitive storage
541
544
 
542
545
  ### Optics & Navigation
@@ -545,11 +548,13 @@ ZIO Blocks supports **Scala 2.13** and **Scala 3.x** with full source compatibil
545
548
  - [SchemaExpr](./reference/schema-expr.md) - Schema-aware expressions for queries and validation
546
549
  - [Path Interpolator](./path-interpolator.md) - Type-safe path construction
547
550
  - [DynamicValue](./reference/dynamic-value.md) - Schema-less dynamic values
551
+ - [DynamicSchema](./reference/dynamic-schema.md) - Type-erased schemas for validation and cross-process transport
548
552
 
549
553
  ### Serialization
550
554
 
551
555
  - [Codec & Format](./reference/codec.md) - Codec, Format, BinaryCodec & TextCodec
552
556
  - [JSON](./reference/json.md) - JSON codec and parsing
557
+ - [JsonPatch](./reference/json-patch.md) - Diff and patch JSON values
553
558
  - [JSON Schema](./reference/json-schema.md) - JSON Schema generation and validation
554
559
  - [Formats](./reference/formats.md) - Avro, TOON, MessagePack, BSON, Thrift
555
560
  - [Extension Syntax](./reference/syntax.md) - `.toJson`, `.fromJson`, and more
@@ -557,8 +562,11 @@ ZIO Blocks supports **Scala 2.13** and **Scala 3.x** with full source compatibil
557
562
  ### Data Operations
558
563
 
559
564
  - [Patching](./reference/patch.md) - Serializable data transformations
565
+ - [SchemaError](./reference/schema-error.md) - Structured error type for schema operations
560
566
  - [Validation](./reference/validation.md) - Data validation and error handling
561
- - [Schema Evolution](./reference/schema-evolution.md) - Migration and compatibility
567
+ - [Schema Evolution](./reference/schema-evolution/index.md) - One-way and bidirectional type-safe conversions
568
+ - [Into](./reference/schema-evolution/into.md) - One-way conversion with validation
569
+ - [As](./reference/schema-evolution/as.md) - Bidirectional round-trip conversion
562
570
 
563
571
  ### Other Blocks
564
572
 
@@ -571,6 +579,7 @@ ZIO Blocks supports **Scala 2.13** and **Scala 3.x** with full source compatibil
571
579
 
572
580
  ### Guides
573
581
 
582
+ - [Migrating from ZIO Schema](./guides/zio-schema-migration.md) - Step-by-step guide to migrating from ZIO Schema 1.x to ZIO Blocks Schema
574
583
  - [Query DSL Part 1: Expressions](./guides/query-dsl-reified-optics.md) - Build type-safe, composable query expressions
575
584
  - [Query DSL Part 2: SQL Generation](./guides/query-dsl-sql.md) - Translate query expressions into SQL
576
585
  - [Query DSL Part 3: Extending the Expression Language](./guides/query-dsl-extending.md) - Add custom operators beyond SchemaExpr
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@zio.dev/zio-blocks",
3
3
  "description": "ZIO Blocks Documentation",
4
4
  "license": "Apache-2.0",
5
- "version": "0.0.26",
5
+ "version": "0.0.28",
6
6
  "repository": {
7
7
  "url": "https://github.com/zio/zio-blocks"
8
8
  }