@zio.dev/zio-blocks 0.0.27 → 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.
@@ -52,7 +52,7 @@ Since `SchemaExpr` is a sealed trait, you cannot add new cases to it. Instead, w
52
52
  This guide builds on [Part 1: Expressions](./query-dsl-reified-optics.md) and [Part 2: SQL Generation](./query-dsl-sql.md). You should be comfortable building `SchemaExpr` values and translating them to SQL.
53
53
 
54
54
  ```scala
55
- libraryDependencies += "dev.zio" %% "zio-blocks-schema" % "0.0.27"
55
+ libraryDependencies += "dev.zio" %% "zio-blocks-schema" % "0.0.28"
56
56
  ```
57
57
 
58
58
  ```scala
@@ -57,7 +57,7 @@ In this guide, we solve both problems: bridge extensions eliminate `.toExpr`, an
57
57
  This guide builds on [Part 1: Expressions](./query-dsl-reified-optics.md), [Part 2: SQL Generation](./query-dsl-sql.md), and [Part 3: Extending the Expression Language](./query-dsl-extending.md).
58
58
 
59
59
  ```scala
60
- libraryDependencies += "dev.zio" %% "zio-blocks-schema" % "0.0.27"
60
+ libraryDependencies += "dev.zio" %% "zio-blocks-schema" % "0.0.28"
61
61
  ```
62
62
 
63
63
  ## Domain Setup
@@ -43,7 +43,7 @@ In this guide, we'll solve this by using ZIO Blocks' `SchemaExpr` and reified op
43
43
  Add the ZIO Blocks Schema dependency:
44
44
 
45
45
  ```scala
46
- libraryDependencies += "dev.zio" %% "zio-blocks-schema" % "0.0.27"
46
+ libraryDependencies += "dev.zio" %% "zio-blocks-schema" % "0.0.28"
47
47
  ```
48
48
 
49
49
  ```scala
@@ -43,7 +43,7 @@ Since `SchemaExpr` is a sealed trait, we can write a single interpreter that tra
43
43
  This guide builds on [Part 1: Expressions](./query-dsl-reified-optics.md). You should be comfortable building `SchemaExpr` values with optic operators (`===`, `>`, `&&`, etc.).
44
44
 
45
45
  ```scala
46
- libraryDependencies += "dev.zio" %% "zio-blocks-schema" % "0.0.27"
46
+ libraryDependencies += "dev.zio" %% "zio-blocks-schema" % "0.0.28"
47
47
  ```
48
48
 
49
49
  ```scala
@@ -38,13 +38,13 @@ libraryDependencies += "dev.zio" %% "zio-schema-avro" % "1.x.x"
38
38
  **After (ZIO Blocks Schema):**
39
39
 
40
40
  ```scala
41
- libraryDependencies += "dev.zio" %% "zio-blocks-schema" % "0.0.27"
41
+ libraryDependencies += "dev.zio" %% "zio-blocks-schema" % "0.0.28"
42
42
  // Optional codec modules:
43
- libraryDependencies += "dev.zio" %% "zio-blocks-schema-avro" % "0.0.27"
44
- libraryDependencies += "dev.zio" %% "zio-blocks-schema-thrift" % "0.0.27"
45
- libraryDependencies += "dev.zio" %% "zio-blocks-schema-bson" % "0.0.27"
46
- libraryDependencies += "dev.zio" %% "zio-blocks-schema-messagepack" % "0.0.27"
47
- libraryDependencies += "dev.zio" %% "zio-blocks-schema-toon" % "0.0.27"
43
+ libraryDependencies += "dev.zio" %% "zio-blocks-schema-avro" % "0.0.28"
44
+ libraryDependencies += "dev.zio" %% "zio-blocks-schema-thrift" % "0.0.28"
45
+ libraryDependencies += "dev.zio" %% "zio-blocks-schema-bson" % "0.0.28"
46
+ libraryDependencies += "dev.zio" %% "zio-blocks-schema-messagepack" % "0.0.28"
47
+ libraryDependencies += "dev.zio" %% "zio-blocks-schema-toon" % "0.0.28"
48
48
  ```
49
49
 
50
50
  Key points:
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.27"
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.27"
88
- libraryDependencies += "dev.zio" %% "zio-blocks-schema-toon" % "0.0.27"
89
- libraryDependencies += "dev.zio" %% "zio-blocks-schema-messagepack" % "0.0.27"
90
- libraryDependencies += "dev.zio" %% "zio-blocks-schema-thrift" % "0.0.27"
91
- libraryDependencies += "dev.zio" %% "zio-blocks-schema-bson" % "0.0.27"
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.27"
146
+ libraryDependencies += "dev.zio" %% "zio-blocks-chunk" % "0.0.28"
147
147
  ```
148
148
 
149
149
  ### Example
@@ -232,7 +232,7 @@ Scope.global.scoped { scope =>
232
232
  ### Installation
233
233
 
234
234
  ```scala
235
- libraryDependencies += "dev.zio" %% "zio-blocks-scope" % "0.0.27"
235
+ libraryDependencies += "dev.zio" %% "zio-blocks-scope" % "0.0.28"
236
236
  ```
237
237
 
238
238
  ### Example: Basic Resource Management
@@ -335,7 +335,7 @@ Generating documentation, README files, or any Markdown content programmatically
335
335
  ### Installation
336
336
 
337
337
  ```scala
338
- libraryDependencies += "dev.zio" %% "zio-blocks-docs" % "0.0.27"
338
+ libraryDependencies += "dev.zio" %% "zio-blocks-docs" % "0.0.28"
339
339
  ```
340
340
 
341
341
  ### Example
@@ -419,7 +419,7 @@ Compile-time type identity with rich metadata. TypeId captures comprehensive inf
419
419
  ### Installation
420
420
 
421
421
  ```scala
422
- libraryDependencies += "dev.zio" %% "zio-blocks-typeid" % "0.0.27"
422
+ libraryDependencies += "dev.zio" %% "zio-blocks-typeid" % "0.0.28"
423
423
  ```
424
424
 
425
425
  ### Example
@@ -462,7 +462,7 @@ A type-indexed heterogeneous collection that stores values by their types with c
462
462
  ### Installation
463
463
 
464
464
  ```scala
465
- libraryDependencies += "dev.zio" %% "zio-blocks-context" % "0.0.27"
465
+ libraryDependencies += "dev.zio" %% "zio-blocks-context" % "0.0.28"
466
466
  ```
467
467
 
468
468
  ### Example
@@ -536,8 +536,10 @@ ZIO Blocks supports **Scala 2.13** and **Scala 3.x** with full source compatibil
536
536
  ### Core Schema Concepts
537
537
 
538
538
  - [Schema](./reference/schema.md) - Core schema definitions and derivation
539
+ - [Allows](./reference/allows.md) - Compile-time structural grammar constraints
539
540
  - [Reflect](./reference/reflect.md) - Structural reflection API
540
541
  - [Binding](./reference/binding.md) - Runtime constructors and deconstructors
542
+ - [BindingResolver](./reference/binding-resolver.md) - Binding lookup and schema rebinding
541
543
  - [Registers](./reference/registers.md) - Register-based primitive storage
542
544
 
543
545
  ### Optics & Navigation
@@ -546,11 +548,13 @@ ZIO Blocks supports **Scala 2.13** and **Scala 3.x** with full source compatibil
546
548
  - [SchemaExpr](./reference/schema-expr.md) - Schema-aware expressions for queries and validation
547
549
  - [Path Interpolator](./path-interpolator.md) - Type-safe path construction
548
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
549
552
 
550
553
  ### Serialization
551
554
 
552
555
  - [Codec & Format](./reference/codec.md) - Codec, Format, BinaryCodec & TextCodec
553
556
  - [JSON](./reference/json.md) - JSON codec and parsing
557
+ - [JsonPatch](./reference/json-patch.md) - Diff and patch JSON values
554
558
  - [JSON Schema](./reference/json-schema.md) - JSON Schema generation and validation
555
559
  - [Formats](./reference/formats.md) - Avro, TOON, MessagePack, BSON, Thrift
556
560
  - [Extension Syntax](./reference/syntax.md) - `.toJson`, `.fromJson`, and more
@@ -560,7 +564,9 @@ ZIO Blocks supports **Scala 2.13** and **Scala 3.x** with full source compatibil
560
564
  - [Patching](./reference/patch.md) - Serializable data transformations
561
565
  - [SchemaError](./reference/schema-error.md) - Structured error type for schema operations
562
566
  - [Validation](./reference/validation.md) - Data validation and error handling
563
- - [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
564
570
 
565
571
  ### Other Blocks
566
572
 
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.27",
5
+ "version": "0.0.28",
6
6
  "repository": {
7
7
  "url": "https://github.com/zio/zio-blocks"
8
8
  }