From 2213944303206d0152f11deaea2c32cf590f1ebf Mon Sep 17 00:00:00 2001 From: Alex Whitney Date: Fri, 17 Feb 2023 12:56:52 +0000 Subject: [PATCH] add upgrade notes to README --- README.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/README.md b/README.md index f181a9d..9710c29 100644 --- a/README.md +++ b/README.md @@ -31,6 +31,12 @@ Tedious to do by hand, easy to do with a `derive` macro - enter `diesel-derive-e The latest release, `2.0.1`, is tested against `diesel 2.0.2` and `rustc 1.57`. For earlier versions of `diesel`, check out the 1.X releases of this crate. +## Upgrading from 2.0.0-rc.0 + +There is a single breaking change. If you are using `postgres` and `diesel-cli`, you _must_ +now add an `ExistingTypePath` annotation to your enum (see below). This annotation is renamed +from the (previously optional) `DieselTypePath`. + ## Setup with Diesel CLI This crate integrates nicely with