You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CHANGELOG.md
+28
Original file line number
Diff line number
Diff line change
@@ -1,3 +1,31 @@
1
+
# Version 2.3.0
2
+
3
+
-`Enhancement`:
4
+
-`Case convertion`: Previously algorithms responsible of converting a string to another case was obviously to light, so, the range of managed uses was too poor, i reworked those algorithms and they're now better from far that was they were. The new ones got tested and passes tests, it's more than sure that i didn't test all of cases, but an enhancement of this feature is truely brang to package.
5
+
-`Added`:
6
+
-`Case` abstract class is now used to reliably create case objects.
7
+
-`CamelCase` class implement logic of previous correspondant object.
8
+
-`PascalCase` class implement logic of previous correspondant object.
9
+
-`SnakeCase` class implement logic of previous correspondant object.
10
+
-`LowerCase` class implement logic of previous correspondant object.
11
+
-`UpperCase` class implement logic of previous correspondant object.
12
+
-`StringUtils (main.ts)`
13
+
-`isConsiderableCharSequence(str: string): boolean` method has been implemented and used to check if a given string contains atleast 2 chars (excepted blanks ones).
14
+
-`containsConsiderableCharSequence(stringTable: string[]): boolean` method has been implemented and used to check if a given table of string contains atleast one considerable (determined by `isConsiderableCharSequence` criterias) element.
15
+
-`containsOnlyConsiderableCharSequences(stringTable: string[]): boolean` method has been implemented and used to check if a given table of string contains only considerable (determined by `isConsiderableCharSequence` criterias) elements.
16
+
-`removeBlankChars(str): string` method has been implemented and could be use to remove blank chars from a given string.
17
+
-`blendIrrelevantStringsInRelevantOnes(str: string): string[]` method has been implemented and should be used to blend orphan chars (a char adjacent to blank chars) to the last considerable subsequence of char (determined by `isConsiderableCharSequence` criterias) in a given string.
18
+
-`Removed`:
19
+
-`[BREAKING CHANGES]`:
20
+
-`Case` type has been renamed `CaseName` to avoid collision between new `Case` object type and previous `Case` type.
21
+
-`ICase` interface has been removed, it was useless to keep working with it.
22
+
-`Refactor`:
23
+
-`[BREAKING CHANGES]`:
24
+
-`determineCase(str: string): ICase` method signature changed to `determineCase(str: string): Case`.
25
+
-`convertToCase(str: string, caseToConvert: Case): string` method signature moved to `convertToCase(str: string, caseToConvert: CaseName): string`.
26
+
-`knownCases` table is now a `:Case[]` instead of `:ICase[]`.
27
+
- Tests has been refactored to avoid rewriting loops again and again, they now use `JestRunner` utils class.
0 commit comments