convert-case icon indicating copy to clipboard operation
convert-case copied to clipboard

Add changelog and document breaking changes

Open aminya opened this issue 3 years ago • 1 comments

0.4 to 0.5 had some breaking changes, which are not documented anywhere.

For example, from_case no longer works on str.

aminya avatar Dec 31 '21 05:12 aminya

Hi, breaking changes were not intended, so thank you for bringing this to my attention. I rewrote the trait implementation for Casing. You can see a major change in this commit:

https://github.com/rutrum/convert-case/commit/f74aed7302bd408e317f04f1e01971b2ad823826#diff-b1a35a68f14e696205874893c07fd24fdb88882b47c23cc0e0c80a30c7d53759

Did from_case every work on str? It currently works on, and did work on &str. Can you give me an example of something that succeeded in 0.4 and fails now? I might be misunderstanding something.

rutrum avatar Dec 31 '21 19:12 rutrum