Skip to content

Commit

Permalink
Merge pull request #430 from timcassell/rel3_0_2
Browse files Browse the repository at this point in the history
v3.0.2
  • Loading branch information
timcassell authored Apr 12, 2024
2 parents dd5ccca + c0aed08 commit b4831cb
Show file tree
Hide file tree
Showing 6 changed files with 20 additions and 6 deletions.
12 changes: 12 additions & 0 deletions Docs/Changelog/v3.0.2.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
# Change Log

## v3.0.2 - April 12, 2024

Fixes:

- Fixed `Promise.ParallelFor*` canceling workers too early.
- `Promise.ParallelFor*` and `AsyncEnumerable.Merge` propagate exceptions from cancelation token callbacks instead of deadlocking.

Misc:

- `AsyncEnumerable.Merge` more eagerly stops iteration if a rejection or cancelation occurs.
6 changes: 4 additions & 2 deletions Package/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,9 +49,11 @@ See the [C# Asynchronous Benchmarks Repo](https://github.com/timcassell/CSharpAs

## Latest Updates

### v3.0.1 - April 6, 2024
### v3.0.2 - April 12, 2024

- Fixed `Promise<T>.IsValid` when it was completed synchronously.
- Fixed `Promise.ParallelFor*` canceling workers too early.
- `Promise.ParallelFor*` and `AsyncEnumerable.Merge` propagate exceptions from cancelation token callbacks instead of deadlocking.
- `AsyncEnumerable.Merge` more eagerly stops iteration if a rejection or cancelation occurs.

See [ChangeLog](https://github.com/timcassell/ProtoPromise/tree/master/Docs/Changelog) for the full changelog.

Expand Down
2 changes: 1 addition & 1 deletion Package/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "com.timcassell.protopromise",
"version": "3.0.1",
"version": "3.0.2",
"displayName": "ProtoPromise",
"description": "Robust and efficient library for management of asynchronous operations.",
"changelogUrl": "https://github.com/timcassell/ProtoPromise/tree/master/Docs/Changelog",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<PropertyGroup>
<!--We target .Net Standard 2.0 to support old Unity versions, and we also target .Net Standard 2.1 to use function pointers.-->
<TargetFrameworks>netstandard2.0;netstandard2.1</TargetFrameworks>
<Version>3.0.1</Version>
<Version>3.0.2</Version>
<!--In case any IL2CPP issues need to be resolved like in the core library.-->
<DefineConstants>$(DefineConstants);ENABLE_IL2CPP</DefineConstants>
</PropertyGroup>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

<PropertyGroup>
<TargetFrameworks>netstandard2.1</TargetFrameworks>
<Version>3.0.1</Version>
<Version>3.0.2</Version>
<!-- The language version Unity supports in 2023.1. -->
<LangVersion>9</LangVersion>
<!--In case any IL2CPP issues need to be resolved like in the core library.-->
Expand Down
2 changes: 1 addition & 1 deletion ProtoPromise/ProtoPromise.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

<PropertyGroup>
<TargetFrameworks>netstandard2.0;netstandard2.1;net6.0</TargetFrameworks>
<Version>3.0.1</Version>
<Version>3.0.2</Version>
<!--Set true to help debug internal promise code (allows the debugger to step into the code and includes internal stacktraces).-->
<DeveloperMode>false</DeveloperMode>
</PropertyGroup>
Expand Down

0 comments on commit b4831cb

Please sign in to comment.