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

Add missing async methods in System.Data.Common and implement IAsyncDisposable #28596

Closed
roji opened this issue Feb 1, 2019 · 36 comments · Fixed by dotnet/corefx#37877
Closed
Assignees
Labels
api-approved API was approved in API review, it can be implemented area-System.Data
Milestone

Comments

@roji
Copy link
Member

roji commented Feb 1, 2019

Provider implementation tracking issues

Specification

This issue consolidates #18225, #24244.

There are several APIs in System.Data.Common which possibly involve I/O, where we're missing async APIs altogether. This proposal adds these missing APIs, with default implementations that call the sync counterparts - much like the existing async methods on those APIs. In addition, all System.Data.Common types that implement IDisposable would be updated to implement IAsyncDisposable as well.

Note that in other cases async methods already exist but return Task, and we'd like to add overloads returning ValueTask. This is out of scope for this issue (but we'll work on these soon, see #19858, #25297).

This would ideally go into .NET Standard 2.1.

Proposal:

class DbConnection : IAsyncDisposable
{
    protected virtual ValueTask<DbTransaction> BeginDbTransactionAsync(IsolationLevel isolationLevel, CancellationToken cancellationToken);

    // The following delegate to BeginDbTransactionAsync, like their sync counterparts
    public ValueTask<DbTransaction> BeginTransactionAsync(CancellationToken cancellationToken = default);
    public ValueTask<DbTransaction> BeginTransactionAsync(IsolationLevel isolationLevel, CancellationToken cancellationToken = default);

    public virtual Task ChangeDatabaseAsync(string databaseName, CancellationToken cancellationToken = default);
    public virtual Task CloseAsync(CancellationToken cancellationToken = default);
    public virtual ValueTask DisposeAsync();
}

class DbTransaction : IAsyncDisposable
{
    public virtual Task CommitAsync(CancellationToken cancellationToken = default);
    public virtual Task RollbackAsync(CancellationToken cancellationToken = default);
    public virtual ValueTask DisposeAsync();
}

class DbCommand : IAsyncDisposable
{
    public virtual Task PrepareAsync(CancellationToken cancellationToken = default);
    public virtual ValueTask DisposeAsync();
}

class DbDataReader : IAsyncDisposable
{
    public virtual Task CloseAsync(CancellationToken cancellationToken = default);
    public virtual ValueTask DisposeAsync();
}

Note that this is only about adding async methods where non currently exist. #25297 is about adding ValueTask overloads where Task-returning async methods already exist (and where we have to think about naming etc.).

Returning Task vs. ValueTask

For the return value of the new proposed methods, our current guiding principle has been to opt for Task when the method in question represents a full database roundtrip operation, where any perf advantages of ValueTask are likely to be dominated by networking etc. Thus, method such as CommitAsync() and RollbackAsync() would return Task (aside from them having no return value).

Methods used for processing a resultset being streamed do seem like they'd benefit from returning ValueTask; examples include DbDataReader.ReadAsync(), DbDataReader.GetFieldValueAsync<T>(), which are out of scope of this proposal.

Cases such as DbConnection.CloseAsync() and DbDataReader.CloseAsync() seem to be between the two and we could probably go either way with them.

It would definitely be good to get some input on this.

Cancellation token overloads

Existing async methods in System.Data.Common come in pairs - a virtual one accepting CancellationToken and a non-virtual one delegating to the first. For the new methods we can just add one method with cancellation token defaulting to CancellationToken.None.

/cc @divega @ajcvickers @terrajobst @stephentoub @bgrainger

Edit history

Date Modification
16/4 DbConnection.Open() returns Task instead of ValueTask as per @terrajobst's question
18/4 Added DbDataReader.Get{Stream,TextReader}Async()
18/4 Removed DbDataReader.Get{Stream,TextReader}Async() again (GetFieldValueAsync<T>()) already provides this functionality)
18/4 Removed DbCommand.CancelAsync()
15/5 Changed BeginTransactionAsync() overloads to return ValueTask instead of Task, and changed to use the standard ADO.NET API pattern, as per design review. Changed DbDataReader.Close() to return Task instead of ValueTask.
@benaadams
Copy link
Member

Cases such as DbConnection.CloseAsync(), DbDataReader.CloseAsync(), DbCommand.Cancel() seem to be between the two and we could probably go either way with them.

Don't think default(ValueTask) has any advatange over Task.CompletedTask in this scenario?

/cc @stephentoub

@bgrainger
Copy link
Contributor

public virtual Task ChangeDatabase(string databaseName, CancellationToken cancellationToken = default);

ChangeDatabaseAsync ?

@bgrainger
Copy link
Contributor

bgrainger commented Feb 1, 2019

Cases such as DbConnection.CloseAsync(), DbDataReader.CloseAsync(), DbCommand.Cancel() seem to be between the two and we could probably go either way with them.

For most providers, that support pooling, it seems like DbConnection.Close[Async] would by default just synchronously return the connection to the pool (and not perform any I/O). Perhaps the ability to return Task.CompletedTask from a (non-asynchronous) implementation means this isn't a problem in practice? Cf. mysql-net/MySqlConnector#467.

For MySQL, DbCommand.Cancel[Async] is always (lots of) network I/O, to send a "kill query" command to the server (and wait for acknowledgement). I would put it firmly in the "likely to be dominated by networking etc." category.

@roji
Copy link
Member Author

roji commented Feb 1, 2019

@benaadams,

Cases such as DbConnection.CloseAsync(), DbDataReader.CloseAsync(), DbCommand.Cancel() seem to be between the two and we could probably go either way with them.

Don't think default(ValueTask) has any advatange over Task.CompletedTask in this scenario?

I agree.. It's a question of whether we expect these operations (command cancellation, physical connections) to occur intensively enough, and whether the I/O involved to be light enough, so that ValueTask would have a perf impact. I agree that it probably doesn't make much sense.

@bgrainger,

ChangeDatabaseAsync?

Yep, corrected...

For most providers, that support pooling, it seems like DbConnection.Close(Async) would by default just synchronously return the connection to the pool (and not perform any I/O). Perhaps the ability to return Task.CompletedTask from a (non-asynchronous) implementation means this isn't a problem in practice? Cf. mysql-net/MySqlConnector#467.

I agree, and like with OpenAsync() it makes sense to me for CloseAsync() to return a Task. It also fits squarely with the idea that calls involving a network roundtrip should return Task (because the Task vs. ValueTask difference is negligible anyway).

But just as a note, the fact that an operation is usually expected to return synchronously doesn't necessarily seem decisive - both Task- and ValueTask- returning methods can have zero overhead in this case. I think it matters more what happens when the operation does return asynchronously, and how often that's expected to occur. Compare with NpgsqlDataReader.Read(), which is also expected synchronously in most cases because rows would typically be buffered in memory - it still seems to make sense to have a version returning ValueTask (not a database roundtrip, but rather continuously parsing results).

For MySQL, DbCommand.Cancel(Async) is always (lots of) network I/O, to send a "kill query" command to the server (and wait for acknowledgement). I would put it firmly in the "likely to be dominated by networking etc." category.

I agree...

@benaadams
Copy link
Member

It's a question of whether we expect these operations (command cancellation, physical connections) to occur intensively enough, and whether the I/O involved to be light enough, so that ValueTask would have a perf impact.

Yeah, but then if its instant, you can return a Task.CompletedTask which is no allocations an IntPtr sized to pass around.

ValueTask<T> makes a lot of sense for most scenarios; but the non-generic version ValueTask makes most sense when its IValueTaskSource backed at some point as its 2 x IntPtr in size so can't be passed via register; so can be slower if you aren't taking advantage of its other properties.

@roji
Copy link
Member Author

roji commented Feb 7, 2019

Note: rather than providing an empty virtual implementation of DisposeAsync(), we probably need to provide the async analogue of the dispose pattern (Dispose(bool) called by both Dispose() and the finalizer). Need to confirm.

After thinking about this again (and not at 3AM), this doesn't seem to make any sense - finalizers shouldn't be doing I/O or calling async methods, and the classes in question call into the synchronous Dispose(bool).

@MaceWindu
Copy link

Task BeginTransactionAsync: shouldn't it have Task<DbTransaction> return type?

@roji
Copy link
Member Author

roji commented Feb 9, 2019

Task BeginTransactionAsync: shouldn't it have Task<DbTransaction> return type?

Thanks, yes - corrected.

MaceWindu referenced this issue in linq2db/linq2db Apr 3, 2019
* new async connection and transaction API

* fix NRE

* fix DataConnection.Clone constructor

* implement async connection/transaction methods support from https://github.com/dotnet/corefx/issues/35012

* revert addition of System.Threading.Tasks.Extensions

* fix IndexOutOfRangeException

* fix wrong method call

* fix implementation, remove BeginTransactionAsync

* refactoring and more tests

* remove unused method

* add more async to new tests

* bump travis .net core to 2.1 from 2.0

* disable mono install for travis - we don't use it and it takes a lot of time to setup

* disable invalid warning on .net core 2.1 build

* fix AccessDatabaseEngine.exe download link
@terrajobst
Copy link
Contributor

terrajobst commented Apr 16, 2019

Video

@roji @divega

  • What does it mean to cancel CancelAsync()? Also, how is calling CancelAsync() different from cancelling the cancellation token that was passed to the operation that CancelAsync() would cancel?
  • Is there a reason why CloseAsync() returns ValueTask? It doesn't seem to on the perf critical path?
  • Should we really add DbDataReader.CloseAsync() seems odd to add an API that is known to be not useful.

@roji
Copy link
Member Author

roji commented Apr 16, 2019

What does it mean to cancel CancelAsync()?

Unlike some other async cancellations, cancelling an ongoing database operation typically involves a (potentially) heavy networking operation (e.g. establish a new connection to the database). For this reason it may make sense to treat the cancellation as its own async operation that may need to be cancelled (although I admit it may be a bit contrived).

Assuming we decide to keep CancelAsync() (see below), we could drop the cancellation token (although this would be the first case I've heard of where an async method doesn't accept one).

Also, how is calling CancelAsync() different from cancelling the cancellation token that was passed to the operation that CancelAsync() would cancel?

  1. There's at least the possibility of two different cancellation types. simply passing the token down to the socket layer (which now has actual value since https://github.com/dotnet/corefx/issues/24430), vs. triggering the database-specific cancellation mechanism I described above (e.g. establishing a new connection to the database). It's true that there's a lot of ambiguity here though.
  2. It's possible for CancelAsync() to be called on a synchronous operation, in which case there's no token (although it may be contrived for an application to sometimes use sync, sometimes async).
  3. DbCommand already has a synchronous Cancel(), so this adds its async counterpart for consistency.

But I do admit it could make sense to not have CancelAsync() at all, and say that Cancel() is there for sync only, whereas sync has the original cancellation token - that does seem to be a simpler API surface around cancellation. @divega what do you think?

Is there a reason why CloseAsync() returns ValueTask? It doesn't seem to on the perf critical path?

For DbDataReader.CloseAsync() - assuming we actually add it (see next point) - it returns ValueTask for consistency with DisposeAsync(), to which it's very similar. Note that unlike with DbConnection, there's no way to reopen a DbDataReader, so disposing and closing really mean the same thing (unless some provider decides to implement them differently). Since DisposeAsync() must return ValueTask (because of IDisposableAsync), it seems to make sense to return the same from CloseAsync().

For DbConnection.CloseAsync(), I think you're right - will update the proposal.

Should we really add DbDataReader.CloseAsync() seems odd to add an API that is known to be not useful.

It's definitely not absolutely necessary, but:

  1. The sync counterpart Close() already exists, and it seems like it would be inconsistent/surprising to not have it.
  2. There's the possibility that some provider out there decided to do something different for Close()/Dispose(), so they would need CloseAsync() to maintain the same distinction with async.
  3. There doesn't seem to be a big disadvantage in adding CloseAsync() specifically (apart from the general added API surface). Just like with Close()/Dispose(), providers would typically implement one by calling the other.

@roji
Copy link
Member Author

roji commented Apr 16, 2019

Just to clarify one of my points from above: in the current state of things, some providers already implement DbCommand.Cancel() via a database-specific mechanism. It should be possible to trigger that same mechanism asynchronously, but if we do that when the cancellation token is triggered we lose the option to pass it down into the socket layer.

@roji
Copy link
Member Author

roji commented Apr 18, 2019

Note: added DbDataReader.GetStreamAsync() and DbDataReader.GetTextReaderAsync() to the proposal above - async support seems especially important for these column-streaming methods.

/cc @divega

@Wraith2
Copy link
Contributor

Wraith2 commented Apr 18, 2019

Streams can currently be returned by using GetFieldValueAsync<TextReader> etc, will the new methods offer different behaviour or defaults?

@benaadams
Copy link
Member

Since DisposeAsync() must return ValueTask (because of IDisposableAsync), it seems to make sense to return the same from CloseAsync().

Because its basically a pass-through?

Question on mismatch here then

class DbConnection : IAsyncDisposable
{
    public virtual Task CloseAsync(CancellationToken cancellationToken = default);
    public virtual ValueTask DisposeAsync();
}

@roji
Copy link
Member Author

roji commented Apr 18, 2019

@Wraith2

Streams can currently be returned by using GetFieldValueAsync

Oh, that is actually new to me (and not supported in Npgsql) - thanks. This makes GetStream() and GetStreamReader() very similar to, say, GetString() in that they're just an alternative to GetFieldValue<T>(). If that's the case, then it indeed doesn't make any sense to introduce async overloads.

Have opened npgsql/npgsql#2446 to track adding this to Npgsql, and will remove GetStreamAsync() and GetTextReaderAsync() from the proposal.

@roji
Copy link
Member Author

roji commented Apr 18, 2019

@benaadams my statement above was about DbDataReader.{Close,Dispose}(), not DbConnection.

Basically:

  1. DbConnection can be opened and closed multiple times. This makes Close() and Dispose() different, so non-passthrough. This is why I've modified DbConnection.Close() to return Task as @terrajobst suggested.
  2. DbDataReader can't be reopened - it's returned by DbCommand.ExecuteReader() and consumed by the user, until it's disposed. Because of this, Close() seems identical to Dispose(), and the only reason to actually add CloseAsync() is for API consistency (because sync Close() already exists). We also never know what peculiar distinction between the two is already implemented by some provider out there, so it seems like a good idea to allow the same in async.

@Wraith2
Copy link
Contributor

Wraith2 commented Apr 18, 2019

Docs for streaming are at https://docs.microsoft.com/en-us/dotnet/framework/data/adonet/sqlclient-streaming-support . The GetFieldValueAsync docs don't list the stream types but i know GetFieldValue supports some stream types. It might be worth verifying the details and seeing if it'd be better to use/extend the existing support or use the new methods you suggest.

@roji
Copy link
Member Author

roji commented Apr 18, 2019

@Wraith2 if you say SqlClient allows GetFieldValueAsync<Stream> (and TextReader), that's enough for me even if it isn't clearly documented. Logically there isn't really much difference between GetStream() and GetString(), and the less new method clutter we introduce, the better...

@roji
Copy link
Member Author

roji commented Apr 18, 2019

Regarding cancellation, after thinking about this a bit more I'm convinced we don't need CancelAsync().

As I wrote above, the main point behind having CancelAsync() was to allow having two cancellation types: a database-specific cancellation which contacts the server and aborts the current command, and a simple client-side cancellation enabled by https://github.com/dotnet/corefx/issues/24430.

However, while a socket cancellation makes sense in many scenarios, it doesn't seem to make sense here: if the socket read (or write) for a currently-executing command is cancelled, pending data is left pending but the logic for reading and parsing that data (i.e. DbCommand.ExecuteReader()) has been cancelled - protocol sync is lost. As a result, it's very difficult to imagine the connection actually being usable after a socket connection. In other words, with ADO.NET specifically a socket cancellation seems to have the same effect as forcibly closing the socket, which is something users can already do via Close().

So here's a summary of what I think we should have:

  • We have DbCommand.Cancel() for triggering a database-specific cancellation mechanism, which works also for sync operations.
  • We have the cancellation token passed to DbCommand.ExecuteReaderAsync() (and the others), which does the exact same thing. Both are best effort, no-guarantee APIs
  • If for some reason the user really wants to stop the I/O operation (e.g. because of a network partition), they should simply close the connection on which the command is executing.

I'll update the proposal for now, but any comments on the above are very welcome.

@Wraith2
Copy link
Contributor

Wraith2 commented Apr 18, 2019

@Wraith2 if you say SqlClient allows GetFieldValueAsync

I'm wrong. GetFieldValue and GetfieldValueAsync will allow XmlReader because I added it (per request) in dotnet/corefx#34880 which was in response to https://github.com/dotnet/corefx/issues/30958 by @bricelam and the reasoning that all field types including streams should be accessible through the same overloads. The same could be done with TextReader and Stream to return binary and text data respectively.

There are already GetStream, GetXmlReader and GetTextReader sync versions though so your proposal mirrors those. I think the choice comes down to whether it makes more sense to mirror the existing synchronous api into async versions or whether to take the newer api design permitted by IsDbNull and GetfieldValueAsync. I have no strong feeling either way

@roji
Copy link
Member Author

roji commented Apr 18, 2019

@Wraith2 thanks for testing this.

I still think that getting Stream and TextReader via GetFieldValue (and GetFieldValueAsync) makes a lot of sense - there's no real reason for these to be different from other types like string or int. The surface API of DbDataReader is already pretty huge, I'd rather avoid adding more methods than we absolutely have to.

@ajcvickers
Copy link
Contributor

ajcvickers commented Apr 18, 2019

@roji Remember not all providers are necessarily using TCP/IPsockets. Is there no reasonable scenario where closing would need to do async work? On any kind of transport? What about if Close closes a file--could that be async?

@roji
Copy link
Member Author

roji commented Apr 18, 2019

@ajcvickers it's true that not all providers use socket. However, the proposal is definitely to keep CloseAsync(), but to not introduce a new CancelAsync() method in addition to the original operation's cancellation token, which already exists as a cancellation mechanism. So it seems fine for closing to do async work, and even for the cancellation token to trigger async I/O.

IMHO the question is whether it makes sense to have the ADO.NET API provide two cancellation paths - CancelAsync() and the standard cancellation token mechanism. Even for non-TCP providers, it's difficult to see how that would make sense, and how users would understand which mechanism would do what...

Do you have a specific scenario/direction in mind? I may be missing something...

@ajcvickers
Copy link
Contributor

@roji Sorry--I misread. I'm fine with there being no CancelAsync.

@divega
Copy link
Contributor

divega commented Apr 19, 2019

DbDataReader.Close() seems identical to Dispose(), and the only reason to actually add CloseAsync() is for API consistency (because sync Close() already exists). We also never know what peculiar distinction between the two is already implemented by some provider out there, so it seems like a good idea to allow the same in async.

I remember one interesting distinction we discussed with @bricelam while he was working on dotnet/efcore#15001, is that Dispose() is usually implemented to not throw.

I still think that getting Stream and TextReader via GetFieldValue (and GetFieldValueAsync) makes a lot of sense - there's no real reason for these to be different from other types like string or int. The surface API of DbDataReader is already pretty huge, I'd rather avoid adding more methods than we absolutely have to.

Agreed. Should have a new issue on SqlClient to support more stream types with GetFieldValue/GetFieldValueAsync? Should this be covered by ADO.NET specification tests?

@Wraith2
Copy link
Contributor

Wraith2 commented Apr 19, 2019

Should have a new issue on SqlClient to support more stream types with GetFieldValue/GetFieldValueAsync?

If the area owners are ok with the change then I'll probably pick that up since I did the XmlReader one and know the code in that area. A new tracking issue would be handy.

@divega
Copy link
Contributor

divega commented Apr 19, 2019

Probably worth asking @saurabh500 if he sees any fundamental problem with it.

roji referenced this issue in roji/Npgsql Jun 17, 2019
Pin dotnet sdk to 3.0.0-preview6 and implement new ADO.NET APIs
introduced in .NET Core 3.0:
* https://github.com/dotnet/corefx/issues/35564
* https://github.com/dotnet/corefx/issues/35012

Note: we cross-target netcoreapp3.0 since the new APIs aren't yet
available in netstandard2.1, but this is expected to happen soon.

Fixes npgsql#2481
@roji
Copy link
Member Author

roji commented Jul 1, 2019

FYI for all those following, we're proposing to remove the cancellation token from {DbDataReader,DbConnection}.CloseAsync: dotnet/corefx#39070, see discussion in dotnet/standard#1283 (review)

roji referenced this issue in npgsql/npgsql Jul 7, 2019
Pin dotnet sdk to 3.0.0-preview6 and implement new ADO.NET APIs
introduced in .NET Core 3.0:
* https://github.com/dotnet/corefx/issues/35564
* https://github.com/dotnet/corefx/issues/35012

Note: we cross-target netcoreapp3.0 since the new APIs aren't yet
available in netstandard2.1, but this is expected to happen soon.

Fixes #2481
roji referenced this issue in roji/corefx Sep 6, 2019
@stephentoub stephentoub reopened this Sep 6, 2019
roji referenced this issue in roji/corefx Sep 6, 2019
@divega divega closed this as completed Sep 9, 2019
ViktorHofer referenced this issue in dotnet/corefx Sep 13, 2019
* Disable SDL validation (#40903)

SDL validation is too expensive to run on a per-build basis. Disable for now

* [release/3.0] Update dependencies from dotnet/standard (#40911)

* Update dependencies from https://github.com/dotnet/standard build 20190907.2

- NETStandard.Library - 2.1.0-prerelease.19457.2

* Update dependencies from https://github.com/dotnet/standard build 20190907.1

- NETStandard.Library - 2.1.0-prerelease.19457.1

* [release/3.0] Update dependencies from 3 repositories (#40915)

* Update dependencies from https://github.com/dotnet/core-setup build 20190907.02

- Microsoft.NETCore.App - 3.0.0-rc2-19457-02
- Microsoft.NETCore.DotNetHost - 3.0.0-rc2-19457-02
- Microsoft.NETCore.DotNetHostPolicy - 3.0.0-rc2-19457-02

* Update dependencies from https://github.com/dotnet/arcade build 20190906.10

- Microsoft.DotNet.XUnitExtensions - 2.4.1-beta.19456.10
- Microsoft.DotNet.XUnitConsoleRunner - 2.5.1-beta.19456.10
- Microsoft.DotNet.VersionTools.Tasks - 1.0.0-beta.19456.10
- Microsoft.DotNet.ApiCompat - 1.0.0-beta.19456.10
- Microsoft.DotNet.Arcade.Sdk - 1.0.0-beta.19456.10
- Microsoft.DotNet.Build.Tasks.Configuration - 1.0.0-beta.19456.10
- Microsoft.DotNet.Build.Tasks.Feed - 2.2.0-beta.19456.10
- Microsoft.DotNet.Build.Tasks.Packaging - 1.0.0-beta.19456.10
- Microsoft.DotNet.CodeAnalysis - 1.0.0-beta.19456.10
- Microsoft.DotNet.CoreFxTesting - 1.0.0-beta.19456.10
- Microsoft.DotNet.GenAPI - 1.0.0-beta.19456.10
- Microsoft.DotNet.GenFacades - 1.0.0-beta.19456.10
- Microsoft.DotNet.Helix.Sdk - 2.0.0-beta.19456.10
- Microsoft.DotNet.RemoteExecutor - 1.0.0-beta.19456.10

* Update dependencies from https://github.com/dotnet/standard build 20190907.5

- NETStandard.Library - 2.1.0-prerelease.19457.5

* Disable ToolboxBitmatAttribute test in netfx (#40901) (#40908)

* [release/3.0] Update dependencies from 4 repositories (#40929)

* Update dependencies from https://github.com/dotnet/core-setup build 20190907.15

- Microsoft.NETCore.App - 3.0.0-rc2-19457-15
- Microsoft.NETCore.DotNetHost - 3.0.0-rc2-19457-15
- Microsoft.NETCore.DotNetHostPolicy - 3.0.0-rc2-19457-15

* Update dependencies from https://github.com/dotnet/arcade build 20190907.1

- Microsoft.DotNet.XUnitExtensions - 2.4.1-beta.19457.1
- Microsoft.DotNet.XUnitConsoleRunner - 2.5.1-beta.19457.1
- Microsoft.DotNet.VersionTools.Tasks - 1.0.0-beta.19457.1
- Microsoft.DotNet.ApiCompat - 1.0.0-beta.19457.1
- Microsoft.DotNet.Arcade.Sdk - 1.0.0-beta.19457.1
- Microsoft.DotNet.Build.Tasks.Configuration - 1.0.0-beta.19457.1
- Microsoft.DotNet.Build.Tasks.Feed - 2.2.0-beta.19457.1
- Microsoft.DotNet.Build.Tasks.Packaging - 1.0.0-beta.19457.1
- Microsoft.DotNet.CodeAnalysis - 1.0.0-beta.19457.1
- Microsoft.DotNet.CoreFxTesting - 1.0.0-beta.19457.1
- Microsoft.DotNet.GenAPI - 1.0.0-beta.19457.1
- Microsoft.DotNet.GenFacades - 1.0.0-beta.19457.1
- Microsoft.DotNet.Helix.Sdk - 2.0.0-beta.19457.1
- Microsoft.DotNet.RemoteExecutor - 1.0.0-beta.19457.1

* Update dependencies from https://dev.azure.com/dnceng/internal/_git/dotnet-optimization build 20190908.1

- optimization.windows_nt-x64.IBC.CoreFx - 99.99.99-master-20190908.1

* Update dependencies from https://github.com/dotnet/standard build 20190908.3

- NETStandard.Library - 2.1.0-prerelease.19458.3

* [release/3.0] Update dependencies from 4 repositories (#40940)

* Update dependencies from https://github.com/dotnet/core-setup build 20190908.11

- Microsoft.NETCore.App - 3.0.0-rc2-19458-11
- Microsoft.NETCore.DotNetHost - 3.0.0-rc2-19458-11
- Microsoft.NETCore.DotNetHostPolicy - 3.0.0-rc2-19458-11

* Update dependencies from https://github.com/dotnet/arcade build 20190908.2

- Microsoft.DotNet.XUnitExtensions - 2.4.1-beta.19458.2
- Microsoft.DotNet.XUnitConsoleRunner - 2.5.1-beta.19458.2
- Microsoft.DotNet.VersionTools.Tasks - 1.0.0-beta.19458.2
- Microsoft.DotNet.ApiCompat - 1.0.0-beta.19458.2
- Microsoft.DotNet.Arcade.Sdk - 1.0.0-beta.19458.2
- Microsoft.DotNet.Build.Tasks.Configuration - 1.0.0-beta.19458.2
- Microsoft.DotNet.Build.Tasks.Feed - 2.2.0-beta.19458.2
- Microsoft.DotNet.Build.Tasks.Packaging - 1.0.0-beta.19458.2
- Microsoft.DotNet.CodeAnalysis - 1.0.0-beta.19458.2
- Microsoft.DotNet.CoreFxTesting - 1.0.0-beta.19458.2
- Microsoft.DotNet.GenAPI - 1.0.0-beta.19458.2
- Microsoft.DotNet.GenFacades - 1.0.0-beta.19458.2
- Microsoft.DotNet.Helix.Sdk - 2.0.0-beta.19458.2
- Microsoft.DotNet.RemoteExecutor - 1.0.0-beta.19458.2

* Update dependencies from https://dev.azure.com/dnceng/internal/_git/dotnet-optimization build 20190909.1

- optimization.windows_nt-x64.IBC.CoreFx - 99.99.99-master-20190909.1

* Update dependencies from https://github.com/dotnet/standard build 20190909.3

- NETStandard.Library - 2.1.0-prerelease.19459.3

* Add missing IAsyncDisposable interfaces to System.Data (#40872)

Part of #35012

* Update dependencies from https://github.com/dotnet/coreclr build 20190909.3 (#40956)

- Microsoft.NET.Sdk.IL - 3.0.0-rc2.19459.3
- Microsoft.NETCore.ILAsm - 3.0.0-rc2.19459.3
- Microsoft.NETCore.Runtime.CoreCLR - 3.0.0-rc2.19459.3

* Fix TypeConverter for IComponent (#40837) (#40883)

* .NET Core 3.0 Prev9 Intellisense nupkg version bump (#40963) (#40965)

* [release/3.0] Update dependencies from 4 repositories (#40951)

* Update dependencies from https://github.com/dotnet/standard build 20190909.4

- NETStandard.Library - 2.1.0-prerelease.19459.4

* Update dependencies from https://github.com/dotnet/core-setup build 20190909.40

- Microsoft.NETCore.App - 3.0.0-rc2-19459-40
- Microsoft.NETCore.DotNetHost - 3.0.0-rc2-19459-40
- Microsoft.NETCore.DotNetHostPolicy - 3.0.0-rc2-19459-40

* Update dependencies from https://github.com/dotnet/arcade build 20190909.10

- Microsoft.DotNet.XUnitExtensions - 2.4.1-beta.19459.10
- Microsoft.DotNet.XUnitConsoleRunner - 2.5.1-beta.19459.10
- Microsoft.DotNet.VersionTools.Tasks - 1.0.0-beta.19459.10
- Microsoft.DotNet.ApiCompat - 1.0.0-beta.19459.10
- Microsoft.DotNet.Arcade.Sdk - 1.0.0-beta.19459.10
- Microsoft.DotNet.Build.Tasks.Configuration - 1.0.0-beta.19459.10
- Microsoft.DotNet.Build.Tasks.Feed - 2.2.0-beta.19459.10
- Microsoft.DotNet.Build.Tasks.Packaging - 1.0.0-beta.19459.10
- Microsoft.DotNet.CodeAnalysis - 1.0.0-beta.19459.10
- Microsoft.DotNet.CoreFxTesting - 1.0.0-beta.19459.10
- Microsoft.DotNet.GenAPI - 1.0.0-beta.19459.10
- Microsoft.DotNet.GenFacades - 1.0.0-beta.19459.10
- Microsoft.DotNet.Helix.Sdk - 2.0.0-beta.19459.10
- Microsoft.DotNet.RemoteExecutor - 1.0.0-beta.19459.10

* Update dependencies from https://dev.azure.com/dnceng/internal/_git/dotnet-optimization build 20190910.1

- optimization.windows_nt-x64.IBC.CoreFx - 99.99.99-master-20190910.1

* Add test for IComponent typeconverter register in TypeDescriptor (#40959) (#40977)

* Update dependencies from https://github.com/dotnet/coreclr build 20190910.2 (#40984)

- Microsoft.NET.Sdk.IL - 3.0.0-rc2.19460.2
- Microsoft.NETCore.ILAsm - 3.0.0-rc2.19460.2
- Microsoft.NETCore.Runtime.CoreCLR - 3.0.0-rc2.19460.2

* Update dependencies from https://github.com/dotnet/coreclr build 20190910.4 (#41006)

- Microsoft.NET.Sdk.IL - 3.0.0-rc2.19460.4
- Microsoft.NETCore.ILAsm - 3.0.0-rc2.19460.4
- Microsoft.NETCore.Runtime.CoreCLR - 3.0.0-rc2.19460.4

* [release/3.0] Update dependencies from dotnet/arcade dotnet/standard (#40986)

* Update dependencies from https://github.com/dotnet/arcade build 20190910.3

- Microsoft.DotNet.XUnitExtensions - 2.4.1-beta.19460.3
- Microsoft.DotNet.XUnitConsoleRunner - 2.5.1-beta.19460.3
- Microsoft.DotNet.VersionTools.Tasks - 1.0.0-beta.19460.3
- Microsoft.DotNet.ApiCompat - 1.0.0-beta.19460.3
- Microsoft.DotNet.Arcade.Sdk - 1.0.0-beta.19460.3
- Microsoft.DotNet.Build.Tasks.Configuration - 1.0.0-beta.19460.3
- Microsoft.DotNet.Build.Tasks.Feed - 2.2.0-beta.19460.3
- Microsoft.DotNet.Build.Tasks.Packaging - 1.0.0-beta.19460.3
- Microsoft.DotNet.CodeAnalysis - 1.0.0-beta.19460.3
- Microsoft.DotNet.CoreFxTesting - 1.0.0-beta.19460.3
- Microsoft.DotNet.GenAPI - 1.0.0-beta.19460.3
- Microsoft.DotNet.GenFacades - 1.0.0-beta.19460.3
- Microsoft.DotNet.Helix.Sdk - 2.0.0-beta.19460.3
- Microsoft.DotNet.RemoteExecutor - 1.0.0-beta.19460.3

* Update dependencies from https://github.com/dotnet/standard build 20190910.4

- NETStandard.Library - 2.1.0-prerelease.19460.4

* Update dependencies from https://github.com/dotnet/standard build 20190910.5

- NETStandard.Library - 2.1.0-prerelease.19460.5

* [release/3.0] Avoid MemoryMarshal.Cast when transcoding from UTF-16 to UTF-8 while escaping in Utf8JsonWriter. (#40997)

* Avoid MemoryMarshal.Cast when transcoding from UTF-16 to UTF-8 while
escaping in Utf8JsonWriter.

* Fix a typo in spacing within the test.

* Guard against empty spans where an implementation of JavascriptEncoder
might not handle null ptrs correctly.

* Cleanup tests to avoid some duplication.

* Some more test clean up.

* Update dependencies from https://github.com/dotnet/coreclr build 20190910.8 (#41011)

- Microsoft.NET.Sdk.IL - 3.0.0-rc2.19460.8
- Microsoft.NETCore.ILAsm - 3.0.0-rc2.19460.8
- Microsoft.NETCore.Runtime.CoreCLR - 3.0.0-rc2.19460.8

* Update dependencies from https://github.com/dotnet/coreclr build 20190910.11 (#41014)

- Microsoft.NET.Sdk.IL - 3.0.0-rc2.19460.11
- Microsoft.NETCore.ILAsm - 3.0.0-rc2.19460.11
- Microsoft.NETCore.Runtime.CoreCLR - 3.0.0-rc2.19460.11

* [release/3.0] Update dependencies from 3 repositories (#41022)

* Update dependencies from https://github.com/dotnet/core-setup build 20190910.02

- Microsoft.NETCore.App - 3.0.0-rc2-19460-02
- Microsoft.NETCore.DotNetHost - 3.0.0-rc2-19460-02
- Microsoft.NETCore.DotNetHostPolicy - 3.0.0-rc2-19460-02

* Update dependencies from https://dev.azure.com/dnceng/internal/_git/dotnet-optimization build 20190911.1

- optimization.windows_nt-x64.IBC.CoreFx - 99.99.99-master-20190911.1

* Update dependencies from https://github.com/dotnet/standard build 20190911.3

- NETStandard.Library - 2.1.0-prerelease.19461.3

* Update dependencies from https://github.com/dotnet/coreclr build 20190911.3 (#41035)

- Microsoft.NET.Sdk.IL - 3.0.0-rc2.19461.3
- Microsoft.NETCore.ILAsm - 3.0.0-rc2.19461.3
- Microsoft.NETCore.Runtime.CoreCLR - 3.0.0-rc2.19461.3

* adding version suffix as non empty for building release package versions

* Update dependencies from https://github.com/dotnet/coreclr build 20190911.5 (#41045)

- Microsoft.NET.Sdk.IL - 3.0.0-rc2.19461.5
- Microsoft.NETCore.ILAsm - 3.0.0-rc2.19461.5
- Microsoft.NETCore.Runtime.CoreCLR - 3.0.0-rc2.19461.5

* [release/3.0] Update dependencies from 3 repositories (#41052)

* Update dependencies from https://github.com/dotnet/arcade build 20190911.7

- Microsoft.DotNet.XUnitExtensions - 2.4.1-beta.19461.7
- Microsoft.DotNet.XUnitConsoleRunner - 2.5.1-beta.19461.7
- Microsoft.DotNet.VersionTools.Tasks - 1.0.0-beta.19461.7
- Microsoft.DotNet.ApiCompat - 1.0.0-beta.19461.7
- Microsoft.DotNet.Arcade.Sdk - 1.0.0-beta.19461.7
- Microsoft.DotNet.Build.Tasks.Configuration - 1.0.0-beta.19461.7
- Microsoft.DotNet.Build.Tasks.Feed - 2.2.0-beta.19461.7
- Microsoft.DotNet.Build.Tasks.Packaging - 1.0.0-beta.19461.7
- Microsoft.DotNet.CodeAnalysis - 1.0.0-beta.19461.7
- Microsoft.DotNet.CoreFxTesting - 1.0.0-beta.19461.7
- Microsoft.DotNet.GenAPI - 1.0.0-beta.19461.7
- Microsoft.DotNet.GenFacades - 1.0.0-beta.19461.7
- Microsoft.DotNet.Helix.Sdk - 2.0.0-beta.19461.7
- Microsoft.DotNet.RemoteExecutor - 1.0.0-beta.19461.7

* Update dependencies from https://dev.azure.com/dnceng/internal/_git/dotnet-optimization build 20190912.1

- optimization.windows_nt-x64.IBC.CoreFx - 99.99.99-master-20190912.1

* Update dependencies from https://github.com/dotnet/standard build 20190912.2

- NETStandard.Library - 2.1.0-prerelease.19462.2

* Update dependencies from https://github.com/dotnet/standard build 20190912.4

- NETStandard.Library - 2.1.0-prerelease.19462.4

* Update dependencies from https://github.com/dotnet/coreclr build 20190912.2 (#41062)

- Microsoft.NET.Sdk.IL - 3.0.0-rc2.19462.2
- Microsoft.NETCore.ILAsm - 3.0.0-rc2.19462.2
- Microsoft.NETCore.Runtime.CoreCLR - 3.0.0-rc2.19462.2

* Update dependencies from https://github.com/dotnet/standard build 20190912.5

- NETStandard.Library - 2.1.0

* Stabilize package versions (#41076)

* Update dependencies from https://github.com/dotnet/coreclr build 20190912.5 (#41081)

- Microsoft.NET.Sdk.IL - 3.0.0-rc2.19462.5
- Microsoft.NETCore.ILAsm - 3.0.0-rc2.19462.5
- Microsoft.NETCore.Runtime.CoreCLR - 3.0.0-rc2.19462.5
@msftgits msftgits transferred this issue from dotnet/corefx Feb 1, 2020
@msftgits msftgits added this to the 3.0 milestone Feb 1, 2020
@ghost ghost locked as resolved and limited conversation to collaborators Dec 14, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
api-approved API was approved in API review, it can be implemented area-System.Data
Projects
None yet
Development

Successfully merging a pull request may close this issue.

10 participants