Releases: sttk/stringcase
Release list
v1.0.0
New Features
- feat: added upperize, lowerize, and capitalize functions by @sttk in #36
- new: added new conversion functions: Ada_Case and Title Case by @sttk in #39
Changes
- update: used upperize, lowerize, and capitalize in conversion functions and removed deprecated functions by @sttk in #37
Docs
- comment: fixed misspelling by @sttk in #24
- doc: modified summary of README.md and doc comment in doc.go by @sttk in #25
- doc: updated actual test results in README.md by @sttk in #30
- doc: created the benchmark result file by @sttk in #38
- comment,doc: updated doc.go by @sttk in #43
- doc: updated README.md by @sttk in #44
- doc: modified mistakes of usage in README.md by @sttk in #47
- doc: modified a mistake in README.md by @sttk in #48
Supports
- test: modified mistakes in tests for kebab case by @sttk in #26
- test: made skipped test cases for kebab case effective by @sttk in #27
- test: fixed typo by @sttk in #28
- cicd: upgraded github actions and target go versions by @sttk in #29
- cicd: updated action versions by @sttk in #31
- cicd: updated the Go versions for CI to 1.26.0 by @sttk in #33
- cicd: fixed security alert by code scanning by @sttk in #34
- cicd: updated Go versions for CI to 1.26.0 by @sttk in #32
- cicd: removed go1.21-1.22 because of the error
dyld: missing LC_UUID load commandon macos by @sttk in #35 - test: added benchmark tests and results of Ada_Case and Title Case by @sttk in #40
- test: fixed several mistakes in test cases of Ada_Case and Title Case by @sttk in #41
- comment: updated copyright years by @sttk in #42
- test: added example codes of Ada_Case and Title Case by @sttk in #45
- release tasks for v1.0.0 by @sttk in #46
Full Changelog: v0.3.0...v1.0.0
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