From 9b5eff2a49a6c74add618481e1192ff87b634c8a Mon Sep 17 00:00:00 2001 From: Oskar Mathieu Gewalli Date: Sun, 11 Jan 2026 15:19:27 +0200 Subject: [PATCH] Revert string renames --- Directory.Build.props | 2 +- RELEASE_NOTES.md | 3 ++- RELEASE_NOTES.txt | 30 ++++++++++++++--------------- src/FSharpPlus/Extensions/String.fs | 4 ++-- 4 files changed, 20 insertions(+), 19 deletions(-) diff --git a/Directory.Build.props b/Directory.Build.props index 84ac559a4..8e040e950 100644 --- a/Directory.Build.props +++ b/Directory.Build.props @@ -13,7 +13,7 @@ logo.png README.md f# FSharp Applicative Monad MonadTransformer Arrow Overloading - 1.9.0 + 1.9.1 $(VersionPrefix)-$(VersionSuffix) $(VersionPrefix) diff --git a/RELEASE_NOTES.md b/RELEASE_NOTES.md index 62719864f..909a35be5 100644 --- a/RELEASE_NOTES.md +++ b/RELEASE_NOTES.md @@ -1,4 +1,5 @@ -#### 1.9.0 - January 11 2026 +#### 1.9.1 - January 11 2026 + - Task related function fixes and improvements - Enable try blocks for ValueTask - Add Obj module diff --git a/RELEASE_NOTES.txt b/RELEASE_NOTES.txt index 342849d98..a1a67bb8a 100644 --- a/RELEASE_NOTES.txt +++ b/RELEASE_NOTES.txt @@ -1,17 +1,17 @@ -Release Notes for FSharpPlus 1.9.0 - January 11 2026 +Release Notes for FSharpPlus 1.9.1 - January 11 2026 ----------------------------------------------------- -Task related function fixes and improvements -Enable try blocks for ValueTask -Add Obj module -Add some error handling functions for Tasks -Add ignore to some common type extensions -Add bindTask and bindInto to Result -Add missing (.>) and (<.) zip-applicative operators -Add Active Pattern for CI strings and AggregateException -Rename non-sequential applicative CEs to zapp -Fix compilation for Fable 4.27 -Fix several functions in ResizeArray -Fix Seq.lift3 -Fix some XML comments -Drop target framework version net45 \ No newline at end of file + - Task related function fixes and improvements + - Enable try blocks for ValueTask + - Add Obj module + - Add some error handling functions for Tasks + - Add ignore to some common type extensions + - Add bindTask and bindInto to Result + - Add missing (.>) and (<.) zip-applicative operators + - Add Active Pattern for CI strings and AggregateException + - Rename non-sequential applicative CEs to zapp + - Fix compilation for Fable 4.27 + - Fix several functions in ResizeArray + - Fix Seq.lift3 + - Fix some XML comments + - Drop target framework version net45 \ No newline at end of file diff --git a/src/FSharpPlus/Extensions/String.fs b/src/FSharpPlus/Extensions/String.fs index a4da3e924..acc6df881 100644 --- a/src/FSharpPlus/Extensions/String.fs +++ b/src/FSharpPlus/Extensions/String.fs @@ -82,7 +82,7 @@ module String = /// /// Note this is distinct from trim which trims the given characters, /// not white spaces. - let trim (source: string) = + let trimWhiteSpaces (source: string) = let source = nullArgCheck (nameof source) source source.Trim () @@ -154,7 +154,7 @@ module String = source.PadRight (totalLength, paddingChar) /// Removes all leading and trailing occurrences of specified characters from the given string. - let trimBoth (trimChars: char seq) (source: string) = + let trim (trimChars: char seq) (source: string) = let source = nullArgCheck (nameof source) source source.Trim (Seq.toArray trimChars)