z-schema icon indicating copy to clipboard operation
z-schema copied to clipboard

Any doc about how to upgrade v2 to v3?

Open PeterDaveHello opened this issue 9 years ago • 3 comments
trafficstars

I'm wondering if there is any doc about how to upgrade v2 to v3, so that it can be much more easier.

PeterDaveHello avatar Jun 28 '16 02:06 PeterDaveHello

There was a breaking change some when, but I can't find any documentation on how to upgrade. A changelog or upgrade guide would be very useful.

renestalder avatar Jan 12 '18 16:01 renestalder

3.0 was a complete rewrite because 2.0 used a lot of promises which made it slow, compare you current usage with the one in the docs

speed benchmarks comparing v2 and v3 (and also others) are here: https://rawgit.com/zaggino/z-schema/master/benchmark/results.html

zaggino avatar Jan 12 '18 17:01 zaggino

compare you current usage with the one in the docs

That's easier said than done depending on the amount of projects and the project itself. I really would recommend to add a changelog for the future or at least describe important changes in the release section. This way it's going to be impossible to keep up to date.

renestalder avatar Jan 14 '18 22:01 renestalder