Skip to content

Commit

Permalink
docs: Cleanup migration guide
Browse files Browse the repository at this point in the history
Signed-off-by: Dmitry Dygalo <dmitry@dygalo.dev>
  • Loading branch information
Stranger6667 committed Sep 18, 2024
1 parent f3a255b commit 18054da
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions MIGRATION.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,7 @@

## Upgrading from 0.19.x to 0.20.0

### New Features

1. Draft-specific modules are now available:
Draft-specific modules are now available:

```rust
// Old (0.19.x)
Expand All @@ -20,7 +18,7 @@

Available modules: `draft4`, `draft6`, `draft7`, `draft201909`, `draft202012`

2. Use the new `options()` function for easier customization:
Use the new `options()` function for easier customization:

```rust
// Old (0.19.x)
Expand All @@ -30,8 +28,6 @@
let options = jsonschema::options();
```

### Deprecations and Renames

The following items have been renamed. While the old names are still supported in 0.20.0 for backward compatibility, it's recommended to update to the new names:

| Old Name (0.19.x) | New Name (0.20.0) |
Expand Down

0 comments on commit 18054da

Please sign in to comment.