v0.3.0
⚠️ BREAKING CHANGES
NOTE: This release differs in the behavior of 〜CaseWithSep compared to previous versions. (The rest behaves the same.)
This release adds 〜CaseWithOptions functions that take the Options struct as an argument for all case conversions and modifies the existing functions to use these functions. These 〜CaseWithOptions functions ignore ASCII alphabetic characters and digits when specified as separators or keep characters. Therefore, the behaviour of 〜CaseWithSep 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, 〜CaseWithSep and 〜CaseWithKeep functions are all deprecated.
- update!: modified *_case_with_sep to ignore alphabets or digits in seps by @sttk in #9
- new!: added SnakeCaseWithOptions, updated SnakeCase to use it, and deprecated SnakeCaseWithSep/Keep. by @sttk in #10
- new!: added TrainCaseWithOptions, updated existing TrainCase* to use it by @sttk in #11
- update!,comment: deprecated TrainCaseWithSep and TrainCaseWithKeep by @sttk in #12
- fix!: made alphabets and numbers in separators no effect by @sttk in #14
- new!: added MacroCaseWithOptions, updated MacroCase to use it, and deprecated MacroCaseWithSep/Keep by @sttk in #16
- new!: added KebabCaseWithOptions, updated KebabCase to use it, and deprecated KebabCaseWithSep/Keep by @sttk in #18
- new!: added CobolCaseWithOptions, updated CobolCase to use it, and deprecated CobolCaseWithSep/Keep by @sttk in #19
- new!: added PascalCaseWithOptions, updated PascalCase to use it, and deprecated PascalCaseWithSep/Keep by @sttk in #20
- new!: added CamelCaseWithOptions, updated CamelCase to use it, and deprecated CamelCaseWithSep/Keep by @sttk in #22
Changes
Docs
- comment: added the documentation comment of SnakeCaseWithKeep by @sttk in #8
- comment: modified mistakes in snake case by @sttk in #13
- doc: modified summary and updated supporting go versions in README by @sttk in #23
Supports
- cicd: added go1.23 to ci target by @sttk in #7
- test: modified tests for Train-Case by @sttk in #15
- test: modified tests for snake case by @sttk in #17
- test: modified a test for pascal case by @sttk in #21
Full Changelog: v0.2.0...v0.3.0