Inflector breaking changes

cargo

6 curated breaking changes across major versions of Inflector. Use this as a migration checklist before bumping dependencies.

6
changes
Breaking changes by transition
  • 0.8.1 \u2192 0.9.0breaking

    Changed type signature for all casting methods to use `&str`. This gives the crate a >10% increase in performance in a majority of conversions. Although most users only use: `"my_string".to_camel_case()` or `"myString".to_string().to_snake_case()` For those using the `to_camel_case("something".to_string())` this will be a breaking change as the new syntax demands `to_camel_case("something")`.

  • 0.2.1 \u2192 0.3.0breaking

    Dropping support for Rust versions below stable

  • 0.2.0 \u2192 0.2.1breaking

    Rust 1.2 or greater required

  • 0.1.6 \u2192 0.2.0breaking

    Class case now singularizes strings and verifies that strings are singularized. Those wishing for the old behaviour should remain on the 0.1.6 release.

  • 0.10.1 \u2192 0.11.0breaking

    Made snake case deal correctly with special characters. Behaviour now follows rails infector

  • 0.10.1 \u2192 0.11.0breaking

    Made camel case deal correctly with special characters. Behaviour now follows rails infector

API access

Get this data programmatically \u2014 free, no authentication.

curl https://depscope.dev/api/breaking/cargo/Inflector
Inflector breaking changes — Cargo migration guide | DepScope