Skip to content

Commit 4ce79ef

Browse files
committed
Update release-notes.txt with these minor deprecations
1 parent b6fb417 commit 4ce79ef

File tree

2 files changed

+7
-4
lines changed

2 files changed

+7
-4
lines changed

release-notes.txt

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,12 @@
22
Release notes:
33
0.4.x (unreleased)
44
- overhaul all doc comments, add exceptions, improve editor experience, #136
5-
- DEPRECATED: 'taskSeq<_>' renamed to 'TaskSeq<_>', 'taskSeq' warns with FS0044, #187
6-
- BINARY INCOMPATIBILITY: 'TaskSeq' module is now static members on 'TaskSeq<_>', fixes #184
75
- Performance: less thread hops with 'StartImmediateAsTask' instead of 'StartAsTask', fixes #135
6+
- BINARY INCOMPATIBILITY: 'TaskSeq' module is now static members on 'TaskSeq<_>', fixes #184
7+
- DEPRECATIONS (these raise warning FS0044):
8+
- type 'taskSeq<_>' is renamed to 'TaskSeq<_>', fixes #193
9+
- function 'ValueTask.ofIValueTaskSource` renamed to `ValueTask.ofSource`, fixes #193
10+
- function `ValueTask.FromResult` is renamed to `ValueTask.fromResult`, fixes #193
811

912
0.4.0-alpha.1
1013
- fixes not calling Dispose for 'use!', 'use', or `finally` blocks #157 (by @bartelink)

src/FSharp.Control.TaskSeq/Utils.fs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,10 +25,10 @@ module ValueTask =
2525
let True = ValueTask<bool> true
2626

2727
/// Creates a ValueTask with the supplied result of the successful operation.
28-
let inline fromResult ( value: 'T) = ValueTask<'T> value
28+
let inline fromResult (value: 'T) = ValueTask<'T> value
2929

3030
[<Obsolete "From version 0.4.0 onward, 'ValueTask.FromResult' is deprecated in favor of 'ValueTask.fromResult'. It will be removed in an upcoming release.">]
31-
let inline FromResult ( value: 'T) = ValueTask<'T> value
31+
let inline FromResult (value: 'T) = ValueTask<'T> value
3232

3333
/// Creates a ValueTask with an IValueTaskSource representing the operation
3434
let inline ofSource taskSource version = ValueTask<bool>(taskSource, version)

0 commit comments

Comments
 (0)