Releases: sttk/stringcase-rust
0.4.0
⚠️ BREAKING CHANGES
NOTE: This release differs in the behavior of 〜_case_with_sep
compared to previous versions. (The rest behaves the same.)
This release adds 〜_case_with_options
functions that take the Options
struct as an argument for all case conversions and modifies the existing functions to use these functions. These 〜_case_with_options
functions ignore ASCII alphabetic characters and digits when specified as separators or keep characters. Therefore, the behaviour of 〜_case_with_sep
functions, when specified alphabetic or numeric characters as separators will neither result in these characters being used nor being removed as separators, which differs from the behavior in previous versions.
In addition, 〜_case_with_sep
, 〜_case_with_keep
, and 〜_case_with_nums_as_word
functions are all deprecated.
- new!: added camel_case_with_options and made use it in existing camel case functions by @sttk in #25
- new!: added cobol_case_with_options and made use it in existing cobol case functions by @sttk in #27
- new!: added kebab_case_with_options and made use it in existing kebab case functions by @sttk in #28
- new!: added macro_case_with_options and made use it in existing macro case functions by @sttk in #29
- new!: added pascal_case_with_options and made use it in existing pascal case functions by @sttk in #30
- new!: added snake_case_with_options and made use it in existing snake case functions by @sttk in #31
- new!: added train_case_with_options and made use it in existing train case functions by @sttk in #32
Docs
- doc,comment: modified documentation comments by @sttk in #33
- doc: modified README.md by @sttk in #36
Supports
- cicd: updated target rust versions by @sttk in #26
- test: added more tests for coverage by @sttk in #34
- test: updated benchmark tests by @sttk in #35
- release tasks for 0.4.0 by @sttk in #37
Full Changelog: 0.3.0...0.4.0
0.3.0
New Features
Docs
- doc,comment: added descriptions for *_with_nums_as_word by @sttk in #21
- doc: modified benchmark results by @sttk in #22
Supports
- cicd: fix forgetting to switch rust versions by @sttk in #16
- test: modified mistakes in test cases by @sttk in #17
- chore: modified build.sh by @sttk in #19
- release tasks for 0.3.0 by @sttk in #23
Full Changelog: 0.2.1...0.3.0
0.2.1
0.2.0
⚠ BREAKING CHANGES
New Features
Changes
Supports
- chore: fixed a mistake in benchmark.md by @sttk in #7
- chore: modified build.sh about cover and bench by @sttk in #8
- chore: modified cover task in build.sh by @sttk in #10
- test: added integration tests for Caser by @sttk in #13
Full Changelog: 0.1.1...0.2.0
0.1.1
Changes
Docs
- doc: added some badges in README.md by @sttk in #3
- doc: fix typo of lib name in README.md by @sttk in #5
Tests
Supports
- chore: modified readme field in Cargo.toml by @sttk in #4
- performance tuning, modify some comments, add test cases by @sttk in #6
Full Changelog: 0.1.0...0.1.1