Commit Graph

32725 Commits

Author SHA1 Message Date
Ryan Nowak 9e114b547d
Introduce RoutePattern (#585)
* Introduce RoutePattern

Introduces RoutePattern - a new parser and representation for routing
templates, defaults, and constraints.

This is a new representation for all of the 'inputs' to routing that is
immutable and captures 'out of line' information for defaults and
constraints.

This will allow us to unify the handling of constraints and values from
attribute style routes and conventional style routes.
2018-07-13 18:01:46 -07:00
ASP.NET CI 5c0f6331eb Updating submodule(s)
EntityFrameworkCore => d770d4a2f56cffde7eb1b60a0ef3a51c48a7d3e5

[auto-updated: submodules]
2018-07-14 01:00:20 +00:00
ASP.NET CI b1828f34fc Updating submodule(s)
EntityFrameworkCore => 34de1f4f05102cf7fe1768386a760d7b4e4b5ea2

[auto-updated: submodules]
2018-07-14 00:55:46 +00:00
ASP.NET CI 50739af3ae Updating submodule(s)
Razor => cfd63e1e2e

[auto-updated: submodules]
2018-07-14 00:28:50 +00:00
N. Taylor Mullen cfd63e1e2e Change HTML splitting logic to not split on surrogate pairs.
- When a surrogate pair is about to be split down the middle we reduce the size of our split by 1 character. This way we split right before a surrogate pair. In the case of zero width joiners, if we split on a zero width joiner we still render valid bytes because the zero width joiner by itself can stand alone.
- Added tests for the various split cases.

#2470
2018-07-13 17:18:56 -07:00
ASP.NET CI 189bb3c251 Updating submodule(s)
KestrelHttpServer => 6551eae321

[auto-updated: submodules]
2018-07-13 23:53:07 +00:00
John Luo 6551eae321 Consolidate HTTP charset validation logic 2018-07-13 16:47:28 -07:00
Mike Harder 04484527ac
Update for 2.1.401-preview (#14) 2018-07-13 15:31:59 -07:00
Kiran Challa d38289c732 Merge branch 'merge/release/2.2-to-master' 2018-07-13 15:04:04 -07:00
ASP.NET CI f5d6c457dc Updating submodule(s)
Routing => bc79a47959

[auto-updated: submodules]
2018-07-13 21:30:53 +00:00
Kiran Challa bc79a47959 Temporary change to prevent cross repo breaking change: Added ooverload for MatcherEndpoint 2018-07-13 14:24:11 -07:00
Kiran Challa 42708bec91 Added support for route constraints in Dispatcher world 2018-07-13 14:18:54 -07:00
Ryan Nowak b144f3a12f Update artifacts.props 2018-07-13 14:16:05 -07:00
Ryan Nowak 3af5287b66 Make HealthChecks back into shipping packages 2018-07-13 14:16:05 -07:00
ASP.NET CI 03d693618e Updating submodule(s)
Mvc => f2608c2ff4

[auto-updated: submodules]
2018-07-13 20:37:26 +00:00
Doug Bunting 35fad0881b
Mark unused `ParameterBinder.BindModelAsync(...)` overloads as `[Obsolete]`
- #7660
- also addresses part of #7317, only in `ComplexTypeModelBinderIntegrationTest`
2018-07-13 13:26:56 -07:00
Doug Bunting f2608c2ff4
Do not suppress `ModelValidationState.Invalid` entries
- #7992, #7963
2018-07-13 13:21:43 -07:00
ASP.NET CI c486461427 Updating submodule(s)
Mvc => dfbdb37979

[auto-updated: submodules]
2018-07-13 13:10:13 -07:00
Pranav K dfbdb37979
Refactorings for codefix (#8067)
* Refactorings for codefix

- Move some common code in SymbolApiResponseMetadataProvider
- Don't run diagnostics for 1006 if we are unable to parse a return type
2018-07-13 13:05:49 -07:00
Justin Kotalik 284f6ab458
Add M.A.S.IntegrationTesting.IIS to artifacts.props (#1259) 2018-07-13 12:17:26 -07:00
Mike Harder 7c27818fab
Update for 2.1.302 RTM (#13) 2018-07-13 11:52:51 -07:00
ASP.NET CI 4563fbd0c3 Updating submodule(s)
IISIntegration => b359d6bed1

[auto-updated: submodules]
2018-07-13 18:41:14 +00:00
Justin Kotalik b359d6bed1
Fix CI test failures (#1045) 2018-07-13 11:35:52 -07:00
Kiran Challa bbf1b8ff85 Merge branch 'merge/release/2.2-to-master' 2018-07-13 10:58:23 -07:00
ASP.NET CI 2f83fb4d15 Updating submodule(s)
Routing => 1c7f53ae39

[auto-updated: submodules]
2018-07-13 10:28:12 -07:00
Kiran Challa 1c7f53ae39 Fix TemplateBinder to consider null and empty string values the same 2018-07-13 10:21:55 -07:00
Ryan Nowak f396a5a73e
Merge pull request #604 from dotnet-maestro-bot/merge/release/2.2-to-master
[automated] Merge branch 'release/2.2' => 'master'
2018-07-13 07:59:33 -07:00
ASP.NET CI 5a70b4705f Updating submodule(s)
Routing => 7209cab5e9

[auto-updated: submodules]
2018-07-13 06:34:24 +00:00
Ryan Nowak 7209cab5e9
Productize JumpTable (#594)
* Productize JumpTable
2018-07-12 23:28:51 -07:00
Nate McMaster e69a47f230
Implement patch policies per repo and set default to ProductChangesOnly
Our policy since 1.0.0 has been to always cascade version updates in the packages we own. e.g. if Logging has a product change in 2.1.x, then Kestrel, EF Core, Mvc, etc also re-ship with the updated Logging dependency. This has been done for a variety of reasons:

* NuGet does not show updates for transitive dependencies, only direct ones
* NuGet does resolves the lowest compatible transitive dependencies
* ASP.NET Core ships to both .NET Framework (where transitive dependency version matters) and .NET Core (where it matters less if you use the shared framework)

While transitive dependencies is still an important scenario, this practice of always patching has led to bigger issues.

* High probability users will unintentionally upgrade out of the shared framework: #3307
* Conflicts with metapackages that attempt to use exact version constraints: aspnet/Universe#1180
* A quality perception issue: the high volume of new versions in servicing updates with only metadata changes has created the impression that new versions of packages may not be very important. It's also made it appear like there are more issues product than there really are.
* High volume of packages changing with only metadata changes. Of the last 301 packages published in a servicing update, only 11 contained actual changes to the implementation assemblies. (3.5%)

This change implements a system to verify a new, non-cascading versioning policy for servicing updates. This required changes to repos to pin version variables to that matter per-repo,
and to remove some of the restrictions and checks.

Incidentally, this should make defining new patches easier because it automatically determines which packages are or are not patching in the release.
2018-07-12 21:33:50 -07:00
ASP.NET CI af3dc73657 Updating submodule(s)
HttpClientFactory => d9bb33e304c2e362695b32157fcee34c95586fcd

[auto-updated: submodules]
2018-07-13 04:31:37 +00:00
Nate McMaster 85bf01da82
Pin version variables to the ASP.NET Core 2.1.2 baseline
This reverts our previous policy of cascading versions on all servicing updates.
This moves variables into the 'pinned' section, and points them to the latest
stable release (versions that were used at the time of the 2.1.2 release).
2018-07-12 19:54:51 -07:00
Nate McMaster eb7835f4c8
Updating dependencies to 2.1.2 and adding a section for pinned variable versions 2018-07-12 19:54:50 -07:00
Nate McMaster 084406441e
Pin version variables to the ASP.NET Core 2.1.2 baseline
This reverts our previous policy of cascading versions on all servicing updates.
This moves variables into the 'pinned' section, and points them to the latest
stable release (versions that were used at the time of the 2.1.2 release).
2018-07-12 19:50:47 -07:00
Nate McMaster d46948da1d
Pin version variables to the ASP.NET Core 2.1.2 baseline
This reverts our previous policy of cascading versions on all servicing updates.
This moves variables into the 'pinned' section, and points them to the latest
stable release (versions that were used at the time of the 2.1.2 release).
2018-07-12 18:32:17 -07:00
ASP.NET CI 5be1269db9 Updating submodule(s)
Mvc => f12f9b46ed

[auto-updated: submodules]
2018-07-13 01:18:54 +00:00
Nate McMaster 930ed239e4
Pin version variables to the ASP.NET Core 2.1.2 baseline
This reverts our previous policy of cascading versions on all servicing updates.
This moves variables into the 'pinned' section, and points them to the latest
stable release (versions that were used at the time of the 2.1.2 release).
2018-07-12 17:32:01 -07:00
Nate McMaster d8e10d0870
Updating dependencies to 2.1.2 and adding a section for pinned variable versions 2018-07-12 17:32:01 -07:00
James Newton-King f12f9b46ed
Add startup filter to set MiddlewareFilterBuilder.ApplicationBuilder 2018-07-13 12:23:30 +12:00
James Newton-King 671ecd03b4
Merge branch 'merge/release/2.2-to-master' 2018-07-13 12:19:30 +12:00
ASP.NET CI e6cf5409bb Updating submodule(s)
IISIntegration => 36d7c8ec42
Mvc => a5083d525b

[auto-updated: submodules]
2018-07-12 23:43:41 +00:00
Justin Kotalik 36d7c8ec42
Add startup event log for ANCM inproc (#1047) 2018-07-12 16:03:06 -07:00
Hao Kung a5083d525b
Fix regression with Authorize + IPolicyProvider (#8068) 2018-07-12 15:36:03 -07:00
ASP.NET CI 9f527918c0 Updating submodule(s)
Routing => 0cf972cc43
Security => 175d493632

[auto-updated: submodules]
2018-07-12 22:34:52 +00:00
James Newton-King 0cf972cc43
Error message on no dispatcher middleware in endpoint middleware (#600) 2018-07-13 10:16:21 +12:00
Chris Ross (ASP.NET) 175d493632 Merge branch 'release/2.1' into release/2.2 2018-07-12 14:43:40 -07:00
ASP.NET CI a4353e5ef5 Updating submodule(s)
EntityFrameworkCore => 8e04da29564561c8b390ff46d896db721a2f4a3d
Mvc => 46189abda7

[auto-updated: submodules]
2018-07-12 21:35:04 +00:00
Pranav K 46189abda7 Refactoring for ApiConvention analyzers 2018-07-12 14:26:27 -07:00
Nate McMaster 24a80d7553
fixup! Pin version variables to the ASP.NET Core 2.1.2 baseline 2018-07-12 14:23:37 -07:00
Chris Ross (ASP.NET) aef7ff7959 Add JwtBearer test for SaveToken #1768 2018-07-12 14:13:25 -07:00