Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

4.x: Fix accidental behavior change with Task-based Create methods completing when the body ends #816

Merged
merged 1 commit into from
Sep 29, 2018

Conversation

akarnokd
Copy link
Collaborator

Before the accidental change, Observable.Create(Func<IObserver<T>,[...], Task<IDisposable>) and Observable.Create(Func<IObserver<T>,[...], Task<Action>) did not complete when the task body ended, unlike Observable.Create(Func<IObserver<T>,[...],Task).

There was an oversight when these operators have been upgraded and the plain Task version's logic was copy-pasted to them. Note though that there were no unit tests verifying the expected behavior at the time.

Fixes: #815

@danielcweber danielcweber merged commit 9a6e8b2 into dotnet:master Sep 29, 2018
@danielcweber
Copy link
Collaborator

@onovotny I think this PR justifies a 4.1.1 or 4.2.0 release.

@clairernovotny
Copy link
Member

Okay, anything else that should go into it?

@akarnokd akarnokd deleted the FixCreateTaskInvalidCompletion branch September 29, 2018 14:27
@akarnokd
Copy link
Collaborator Author

I'd say 4.1.1 as this is a patch-level change.

#806, #807 and #809 perhaps?

@clairernovotny
Copy link
Member

clairernovotny commented Sep 29, 2018

Okay -- my suggestion would be to create a PR to the rel/v4.1 branch that cherry-picks the changes you want in it. We can then release that. In the PR, it can bump the version.json to 4.1.1. The changes should prob include the latest azure-pipelines.*.yml too.

@danielcweber
Copy link
Collaborator

#809 adds a attributes to publicly visible classes and should bump to 4.2.0 then AFAIK. If we definitely want that one in too, we could keep it simple and just release 4.2.0 from master.

@clairernovotny
Copy link
Member

clairernovotny commented Sep 29, 2018

I don't think adding attributes is considered a breaking change, especially since it does not affect runtime behavior. Removing, perhaps.

@danielcweber
Copy link
Collaborator

Ok. I can prepare the PR later.

@danielcweber danielcweber mentioned this pull request Oct 1, 2018
danielcweber added a commit that referenced this pull request Oct 1, 2018
Prepare bugfix release 4.1.1. Contains #806, #807, #809, #816.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants