Lee Sang Gyu and DuDaoDong
d561d4da77
fix(package): [promise] recover a panic after the promise settled ( #420 )
...
* fix(package): [promise] recover a panic after the promise settled
* test(package): [promise] cover a panic after the promise settled
---------
Co-authored-by: DuDaoDong <dudaodong@gmail.com >
2026-11-09 19:51:25 +08:00
Lee Sang Gyu
ed237c18b3
fix(package): [strutil] handle non-ASCII letters in case conversion ( #413 )
...
* fix(package): [strutil] handle non-ASCII letters in case conversion
* test(package): [strutil] cover non-ASCII letters in case conversion
2026-11-09 17:38:17 +08:00
Lee Sang Gyu
4c9c628a31
fix(package): [mathutil] compute Combination without factorial overflow ( #414 )
...
* fix(package): [mathutil] compute Combination without factorial overflow
* test(package): [mathutil] cover Combination for large n
2026-11-09 17:37:55 +08:00
Lee Sang Gyu
5839ab33a9
fix(package): [datetime] use local zone for zero hour timestamps ( #415 )
...
* fix(package): [datetime] use local zone for zero hour timestamps
* test(package): [datetime] cover zero hour timestamps in other zones
2026-11-09 17:37:13 +08:00
Lee Sang Gyu
b09d6af4a4
fix(package): [concurrency] hold the map lock while taking the try lock ( #417 )
...
* fix(package): [concurrency] hold the map lock while taking the try lock
* test(package): [concurrency] check TryKeyedLocker mutual exclusion
2026-11-09 17:36:58 +08:00
Lee Sang Gyu
d859b91c57
fix(package): [eventbus] let listeners change subscriptions in Publish ( #416 )
...
* fix(package): [eventbus] let listeners change subscriptions in Publish
* test(package): [eventbus] cover reentrant and concurrent subscribe
2026-11-09 17:17:31 +08:00
Lee Sang Gyu
6eb12896e3
fix(package): [maputil] keep ToMarkdownTable column order stable ( #418 )
...
* fix(package): [maputil] keep ToMarkdownTable column order stable
* test(package): [maputil] cover ToMarkdownTable default column order
2026-11-09 17:11:21 +08:00
Lee Sang Gyu
0112b99cd9
fix(package): [formatter] only group leading digits in Comma ( #419 )
...
* fix(package): [formatter] only group leading digits in Comma
* test(package): [formatter] cover Comma with exponent and suffixes
2026-11-09 12:34:27 +08:00
Lee Sang Gyu
961a76b6d4
fix(package): [promise] keep every error when Any rejects ( #421 )
...
* fix(package): [promise] keep every error when Any rejects
* test(package): [promise] cover errors kept by Any
2026-11-09 12:31:40 +08:00
Lee Sang Gyu
c403dd3a2a
fix(package): [concurrency] stop Take when the source closes ( #424 )
...
* fix(package): [concurrency] stop Take when the source closes
* test(package): [concurrency] cover Take with closed and idle source
2026-11-09 12:30:17 +08:00
Lee Sang Gyu
b4302b2d15
fix(package): [system] keep the whole command name in GetProcessInfo ( #426 )
...
* fix(package): [system] keep the whole command name in GetProcessInfo
* test(package): [system] cover a command name with spaces
2026-11-09 12:30:04 +08:00
Lee Sang Gyu
1715d14cc8
fix(package): [retry] use a bit shift only for power-of-two backoff bases ( #427 )
...
* fix(package): [retry] use a bit shift only for power-of-two backoff bases
* test(package): [retry] cover the multiplier of even backoff bases
2026-11-09 12:28:54 +08:00
Lee Sang Gyu
0eabb67ed4
fix(xerror): [xerror] drop leading ": " when message is empty ( #423 )
...
* fix(xerror): [xerror] drop leading ": " when message is empty
* test(xerror): [xerror] cover Wrap without a message
2026-11-09 12:27:37 +08:00
Lee Sang Gyu
afc0d3c676
fix(package): [stream] do not call less with a zero value in Max and Min ( #422 )
...
* fix(package): [stream] do not call less with a zero value in Max and Min
* test(package): [stream] cover Max and Min with pointer items
2026-11-09 12:27:08 +08:00
Lee Sang Gyu
9c56f5f525
fix(package): [formatter] use the next byte unit when rounding hits base ( #425 )
...
* fix(package): [formatter] use the next byte unit when rounding hits base
* test(package): [formatter] cover byte unit rollover on rounding
2026-11-09 12:26:44 +08:00
Lee Sang Gyu
285e69edd7
fix(package): [promise] buffer the settle channels of All, Race and Any ( #428 )
...
* fix(package): [promise] buffer the settle channels of All, Race and Any
* test(package): [promise] check that All, Race and Any leave no goroutines
2026-11-09 12:26:13 +08:00
Rupayon Haldar
e393f0e14f
fix(package): [tree] recurse in postorder traversal ( #411 )
2026-11-02 10:43:54 +08:00
dudaodong
8dd57ef490
remove go report card
2026-10-31 10:30:11 +08:00
Rupayon Haldar
7e02d7e4e6
fix(package): [algorithm] keep LRU endpoint links consistent ( #406 )
2026-10-31 09:56:48 +08:00
Rupayon Haldar
9f7d939e5a
fix(package): [tree] apply the replacement root on deletion ( #407 )
2026-10-31 09:56:26 +08:00
Rupayon Haldar
03695c886c
fix(hashmap): preserve collision chains and bucket indexes ( #408 )
2026-10-31 09:54:49 +08:00
Rupayon Haldar
9c401c4043
fix(list): release the sort lock on every exit ( #409 )
2026-10-31 09:54:39 +08:00
Rupayon Haldar
f7acd40303
fix(list): preserve receiver contents in SubList ( #410 )
2026-10-31 09:53:45 +08:00
Rupayon Haldar
eb4b10cc15
fix(package): [link] preserve deletion bounds and backlinks ( #405 )
2026-10-31 09:53:29 +08:00
dudaodong
eb9ad10f25
Merge branch 'rc' of github.com:duke-git/lancet into rc
v2.4.0
2026-10-24 23:04:11 +08:00
dudaodong
22316061d8
release v2.4.0
2026-10-24 23:03:48 +08:00
Yusuf Efe and DuDaoDong
5774d0e95e
fix(mathutil): compute permutations without factorial division ( #364 )
...
Co-authored-by: DuDaoDong <dudaodong@gmail.com >
2026-10-24 22:50:03 +08:00
Yusuf Efe
9555cb2fc5
fix(package): update LRU length after deletion ( #359 )
...
Signed-off-by: Yusuf Efe <120668197+yuefdev@users.noreply.github.com >
2026-10-24 22:46:07 +08:00
Yusuf Efe
9b0a0caa75
fix(mathutil): preserve distances at extreme scales ( #360 )
2026-10-23 22:43:47 +08:00
Yusuf Efe
ec11fdf345
fix(mathutil): scale integer inputs after float conversion ( #361 )
2026-10-23 21:02:24 +08:00
Yusuf Efe
172712df30
fix(mathutil): honour Fibonacci seeds at the first positions ( #362 )
2026-10-23 20:57:07 +08:00
Yusuf Efe
a296281408
fix(mathutil): format TruncRound integer inputs as floats ( #365 )
2026-10-23 20:54:59 +08:00
Yusuf Efe
f220ea4c3f
fix(slice): handle Intersection without inputs ( #366 )
2026-10-23 20:54:26 +08:00
Yusuf Efe
129da3f2ed
fix(validator): exclude the correct GBK trail byte ( #372 )
2026-10-23 20:54:08 +08:00
Yusuf Efe
65806afc7d
fix(maputil): map slices into array destinations ( #371 )
2026-10-23 20:53:52 +08:00
Yusuf Efe
4db163b4b7
fix(validator): correct JCB digit pattern escaping ( #373 )
2026-10-23 20:53:02 +08:00
Yusuf Efe
0f4f73fbba
fix(mathutil): divide before multiplying LCM factors ( #363 )
2026-10-23 18:19:46 +08:00
Yusuf Efe
145959ee62
fix(strutil): encode default trim characters as runes ( #369 )
2026-10-23 18:14:58 +08:00
Yusuf Efe
33a7e5bf6d
fix(strutil): validate Hamming distance by rune count ( #368 )
2026-10-23 18:14:41 +08:00
Yusuf Efe
99ed115de4
fix(strutil): preserve IndexOffset not-found results ( #367 )
2026-10-23 18:14:24 +08:00
Yusuf Efe
34c7e36d29
fix(slice): pass actual comparison indexes to DifferenceBy ( #370 )
2026-10-23 18:14:06 +08:00
Yusuf Efe
59cd9bd06f
fix(validator): reject backslashes in Base64 values ( #374 )
2026-10-23 18:12:27 +08:00
Yusuf Efe
18e9bc9cda
fix(maputil): validate MapToStruct inputs before reflection ( #375 )
2026-10-23 18:10:00 +08:00
Yusuf Efe
b282ada39e
fix(mathutil): stop stepped ranges when values stop increasing ( #376 )
2026-10-23 18:04:43 +08:00
Yusuf Efe
b40eea78c3
fix(strutil): clamp substring lengths before integer conversion ( #377 )
2026-10-23 18:04:29 +08:00
Yusuf Efe
c701a35586
fix(fileutil): preserve CSV fields and truncate replaced files ( #378 )
2026-10-23 18:04:11 +08:00
Yusuf Efe
778bd2e14f
fix(fileutil): reject copies onto the source file ( #379 )
2026-10-23 18:03:37 +08:00
Yusuf Efe
86dc6c0019
fix(convertor): clone array values without slice reflection ( #380 )
2026-10-23 18:03:23 +08:00
Yusuf Efe
417cf68bd8
fix(package): [datetime] accept empty timezone options ( #384 )
2026-10-22 10:57:53 +08:00
Yusuf Efe
cb45ef2d36
fix(package): [algorithm] keep duplicate CountSort entries ( #387 )
2026-10-22 10:56:56 +08:00