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

6.0 API Reviews #24743

Closed
44 tasks done
ajcvickers opened this issue Apr 23, 2021 · 1 comment
Closed
44 tasks done

6.0 API Reviews #24743

ajcvickers opened this issue Apr 23, 2021 · 1 comment
Assignees
Labels
area-global closed-fixed The issue has been fixed and is/will be included in the release indicated by the issue milestone. type-enhancement
Milestone

Comments

@ajcvickers
Copy link
Member

ajcvickers commented Apr 23, 2021

February 19

Done
  • Investigate removing IModelCreationDependencies
  • Rename SingletonModelDependencies to RuntimeModelDependecies
  • Consider renaming IConventionModel.GetEntityTypes(Type type); to FindEntityTypes
  • Rename IConventionModel.FindPrincipals to GetPrincipals
  • @AndriySvyryd Add RelationalEntityTypeExtensions.FindRowInternalForeignKeys IEntityType overload, and more generally have three overloads for each of these.
  • @AndriySvyryd RelationalPropertyExtensions.FindOverrides may not need a mutable overload

March 4

Done
  • Change Annotatable.IsReadonly to ReadOnly
  • Change EnsureReadonly to EnsureMutable
  • @ajcvickers Review template methods on RelationalConnection and remove DbConnectionState

March 24

Done
  • Rename DisableConcurrencyDetection to EnableThreadSafetyChecks
  • @bricelam Check that dropping ITableMigrationOperation from DropIndexOperation is expected.
  • Rename IRelationalCommand.PopulateFromTemplate to PopulateFrom
  • Rename parameter of above from templateCommand to command

April 21

Done
  • Move DbContext.DesignTimeModel to GetService<IDesignTimeModel>() or similar
  • @AndriySvyryd Consider making ForeignKey.ReferencingSkipNavigations return an ISet
  • @AndriySvyryd Consider if SlimModel.RelationalModel can be made an explicit interface implementation and will still show up in the debugger. Also consider for DebugView.

June 16

Done
  • @AndriySvyryd Make CSharpRuntimeAnnotationCodeGenerator and friends internal so we can add language-agnostic APIs later (Make ICSharpRuntimeAnnotationCodeGenerator language-agnostic #25110), try to move ICSharpHelper back to .Design
  • @AndriySvyryd Make UpdateEntryEventData derive from DbContextEventData
  • @AndriySvyryd Move more classes under the Microsoft.EntityFrameworkCore.Design namespace in Relational into the core assembly
  • @AndriySvyryd Make RelationalCSharpRuntimeAnnotationCodeGenerator pubternal
  • @ajcvickers Why did ContextParamaterBinding change to an array of IPropertyBase?
    • Should it have params?
  • @ajcvickers Review IRelationalCommandDiagnosticsLogger
  • @smitpatel Remove IClonable from FromSqlExpression and TableExpression. Pattern match or introduce a new interface.
    • Clone should return something more specific than object
  • @smitpatel Mitigate future breaks to SelectExpression. Mark more members as pubternal.

August 2

Done
  • @roji Why is CoreOptionsExtension.DefaultLoggingCacheTime public? Make DefaultLoggingCacheTime private #25422
  • @AndriySvyryd Rename IMutableModificationCommandFactory to just IModificationCommandFactory
  • @AndriySvyryd Make ColumnModificationParameters and ModificationCommandParameters structs and use in
  • @AndriySvyryd Rename IModificationCommand to IReadOnlyModificationCommand
    • Rename IMutableModificationCommand to IModificationCommand
  • @ajcvickers Move commandSource constructor parameters to the end in *EventData classes and IRelationalCommandDiagnosticsLogger
  • @ajcvickers Address confusion beween AddSqlite and AddEntityFrameworkSqlite
  • @maumar Make IQueryRootCreator a generic extensitiliby helper for nav expansion
  • @maumar Can we mitigate timezone issues on TemporalAll/AsOf/etc methods?
  • @maumar Rename With to Use in new methods on SqlServerEntityTypeBuilderExtensions
  • @maumar Remove Temporal from new methods in SqlServerEntityTypeExtensions
    • Keep it in the underlying annotation names
  • @maumar Add Core and Relational dependency objects to SqlServerTemporalConvention
  • @bricelam Move MigrationsBundle to the Migrations namespace
    • Rename parameter to contextTypeName
  • @bricelam Host API Review of CLI and PMC commands

August 18

  • @bricelam Rename --bundle-runtime to --target-runtime
    • Rename -Runtime to -TargetRuntime in PMC
  • @bricelam Remove --bundle-configuration
  • @bricelam Rename default bundle name to efbundle
  • @AndriySvyryd Rename Scalars to DefaultTypeMapping
    • Singularize methods in ScalarConfigurationBuilder and ScalarConfigurationBuilderExtensions
  • @ajcvickers Remove CosmosDbContextOptionsBuilder.HttpClientFactory and enable ReplaceService instead. Looked at this and talked to Andriy. It's quite complicated and somewhat ugly to do a service, so leaving as is.
  • @smitpatel Can we remove the override of TranslateSubquery in RelationalQueryableMethodTranslatingExpressionVisitor?
  • @ajcvickers Revert ProviderCodeGenerator.RelationalDependencies to just Dependencies
ajcvickers added a commit that referenced this issue Apr 23, 2021
Part of #24743

* Rename `DisableConcurrencyDetection` to `EnableThreadSafetyChecks`
* Rename `IRelationalCommand.PopulateFromTemplate` to `PopulateFrom`
* Rename parameter of above from `templateCommand` to `command`
ajcvickers added a commit that referenced this issue Apr 24, 2021
Part of #24743

* Rename `DisableConcurrencyDetection` to `EnableThreadSafetyChecks`
* Rename `IRelationalCommand.PopulateFromTemplate` to `PopulateFrom`
* Rename parameter of above from `templateCommand` to `command`
@AndriySvyryd AndriySvyryd removed their assignment Apr 26, 2021
AndriySvyryd added a commit that referenced this issue Apr 26, 2021
Perform other refactorings.

Fixes #24743
@ajcvickers ajcvickers added this to the 6.0.0 milestone Apr 26, 2021
AndriySvyryd added a commit that referenced this issue Apr 27, 2021
Perform other refactorings.

Fixes #24743
@bricelam
Copy link
Contributor

bricelam commented May 3, 2021

Check that dropping ITableMigrationOperation from DropIndexOperation is expected.

Yes, the table doesn't need to be specified when dropping an index on some providers. This one case of nullability crippled the usability of the interface, so I removed the interface from this type and strengthened its semantics to include a non-nullable table name.

The interface was added for table rebuids. That code was unaffected by this change since DropIndex operations were handled separately.

@bricelam bricelam removed their assignment May 3, 2021
AndriySvyryd added a commit that referenced this issue May 4, 2021
Perform other refactorings.

Part of #24743
bricelam added a commit to bricelam/efcore that referenced this issue Jun 18, 2021
bricelam added a commit to bricelam/efcore that referenced this issue Jun 25, 2021
@AndriySvyryd AndriySvyryd removed their assignment Jul 20, 2021
AndriySvyryd added a commit that referenced this issue Jul 20, 2021
Make UpdateEntryEventData derive from DbContextEventData

Part of #24743
AndriySvyryd added a commit that referenced this issue Jul 28, 2021
Make UpdateEntryEventData derive from DbContextEventData

Part of #24743
AndriySvyryd added a commit that referenced this issue Jul 29, 2021
Make UpdateEntryEventData derive from DbContextEventData

Part of #24743
bricelam added a commit to bricelam/efcore that referenced this issue Jul 30, 2021
@bricelam bricelam self-assigned this Aug 2, 2021
bricelam added a commit to bricelam/efcore that referenced this issue Aug 14, 2021
Changes:
- Use TargetFramework from startup project
- Add --output and --force
- Fix --runtime and --self-contained
- Output bundle path
- Move the MigrationsBundle class under the Migrations namespace

Fixes dotnet#19693, part of dotnet#24743
@bricelam bricelam added the closed-fixed The issue has been fixed and is/will be included in the release indicated by the issue milestone. label Aug 14, 2021
bricelam added a commit to bricelam/efcore that referenced this issue Aug 16, 2021
Changes:
- Use TargetFramework from startup project
- Add --output and --force
- Fix --runtime and --self-contained
- Output bundle path
- Move the MigrationsBundle class under the Migrations namespace

Fixes dotnet#19693, part of dotnet#24743
@bricelam bricelam removed the closed-fixed The issue has been fixed and is/will be included in the release indicated by the issue milestone. label Aug 18, 2021
bricelam added a commit to bricelam/efcore that referenced this issue Aug 18, 2021
@AndriySvyryd AndriySvyryd removed their assignment Aug 18, 2021
AndriySvyryd added a commit that referenced this issue Aug 18, 2021
AndriySvyryd added a commit that referenced this issue Aug 18, 2021
AndriySvyryd added a commit that referenced this issue Aug 19, 2021
bricelam added a commit to bricelam/efcore that referenced this issue Aug 19, 2021
@ajcvickers ajcvickers removed their assignment Aug 19, 2021
smitpatel added a commit that referenced this issue Aug 21, 2021
Added override to do custom task for GroupBy which ended up getting removed in final implementation but method was left behind

Part of #24743
@smitpatel smitpatel removed their assignment Aug 21, 2021
smitpatel added a commit that referenced this issue Aug 21, 2021
Added override to do custom task for GroupBy which ended up getting removed in final implementation but method was left behind

Part of #24743
@bricelam bricelam added the closed-fixed The issue has been fixed and is/will be included in the release indicated by the issue milestone. label Sep 7, 2021
@bricelam bricelam modified the milestones: 6.0.0, 6.0.0-rc1 Sep 7, 2021
@bricelam bricelam closed this as completed Sep 7, 2021
@ajcvickers ajcvickers modified the milestones: 6.0.0-rc1, 6.0.0 Nov 8, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-global closed-fixed The issue has been fixed and is/will be included in the release indicated by the issue milestone. type-enhancement
Projects
None yet
Development

No branches or pull requests

6 participants