Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: dotnet/efcore
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 8b6956d731
Choose a base ref
...
head repository: dotnet/efcore
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: d94cc5a79c
Choose a head ref
  • 20 commits
  • 184 files changed
  • 9 contributors

Commits on Jul 26, 2024

  1. Configuration menu
    Copy the full SHA
    b981879 View commit details
    Browse the repository at this point in the history
  2. Add extension point to Migrate

    Allow to specify a target migration in Migrate call
    Warn on Migrate when there are pending model changes
    
    Fixes #17568
    Fixes #33732
    Fixes #34196
    AndriySvyryd committed Jul 26, 2024
    Configuration menu
    Copy the full SHA
    f0fbcbe View commit details
    Browse the repository at this point in the history
  3. Execute migrations using the ExecutionStrategy

    Use a single transaction for all migrations in the script
    
    Fixes #17578
    Fixes #22616
    AndriySvyryd committed Jul 26, 2024
    Configuration menu
    Copy the full SHA
    3d6868e View commit details
    Browse the repository at this point in the history

Commits on Jul 28, 2024

  1. Fix build break

    ajcvickers committed Jul 28, 2024
    Configuration menu
    Copy the full SHA
    5aa72df View commit details
    Browse the repository at this point in the history

Commits on Jul 29, 2024

  1. Use bitwise NOT on BIT SqlServer expressions (#34303)

    Since #34080 the SqlServer provider uses XOR to avoid converting to/from predicates when negating BIT expressions.
    It is actually possible to simply use ~ on BIT values and this changeset implements this.
    
    Fixes #34213
    
    * Add minimal support for `ExpressionType.OnesComplement` It is currently only supported in the final part of SqlServer translation pipeline.
    * Use `~` for negating boolean values Instead of `x ^ 1`, use the `~x` expression when translating boolean values in SqlServer.
    ranma42 authored Jul 29, 2024
    Configuration menu
    Copy the full SHA
    1e828fd View commit details
    Browse the repository at this point in the history
  2. Update dependencies from https://github.com/dotnet/runtime build 2024…

    …0728.5 (#34311)
    
    [main] Update dependencies from dotnet/runtime
    dotnet-maestro[bot] authored Jul 29, 2024
    Configuration menu
    Copy the full SHA
    1e0313e View commit details
    Browse the repository at this point in the history
  3. Propagate allowOptimizedExpansion to CASE results (#34304)

    * Propagate `allowOptimizedExpansion` to `CASE` results
    
    If the `CASE` is used in a context that allows optimizations (predicates, where
    NULL and FALSE are equivalent), the same holds for each of its results.
    ranma42 authored Jul 29, 2024
    Configuration menu
    Copy the full SHA
    ac1b366 View commit details
    Browse the repository at this point in the history

Commits on Jul 30, 2024

  1. Bump Microsoft.Azure.Cosmos from 3.41.0 to 3.42.0 (#34313)

    Bumps [Microsoft.Azure.Cosmos](https://github.com/Azure/azure-cosmos-dotnet-v3) from 3.41.0 to 3.42.0.
    - [Release notes](https://github.com/Azure/azure-cosmos-dotnet-v3/releases)
    - [Changelog](https://github.com/Azure/azure-cosmos-dotnet-v3/blob/master/changelog.md)
    - [Commits](Azure/azure-cosmos-dotnet-v3@3.41.0...3.42.0)
    
    ---
    updated-dependencies:
    - dependency-name: Microsoft.Azure.Cosmos
      dependency-type: direct:production
      update-type: version-update:semver-minor
    ...
    
    Signed-off-by: dependabot[bot] <support@github.com>
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    dependabot[bot] authored Jul 30, 2024
    Configuration menu
    Copy the full SHA
    757c823 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    390b5b0 View commit details
    Browse the repository at this point in the history

Commits on Jul 31, 2024

  1. Addressing API review feedback (#34321)

    Change ReplacingExpressionVisitor.Replace to IReadOnlyList<Expression> parameters
    Make ReaderColumn.GetFieldValueExpression and the new constructor experimental.
    Make ReaderColumn.Create experimental.
    Make ReaderColumn<T> constructor experimental.
    maumar authored Jul 31, 2024
    Configuration menu
    Copy the full SHA
    b25cba7 View commit details
    Browse the repository at this point in the history
  2. Fix to #34056 - AOT/Query: for queries with JSON, interceptors genera…

    …te code with labels that are not uniquified (#34323)
    
    Problem was that when we generate shaper for extracting json values from the reader (streaming) we use hard-coded name for a label that's used in the loop going through json properties. This is fine for normal scenarios, since compiler can figure out the right label to jump to based on scope/reference, but when we generate c# code from that expression, we run into issues for case of nested JSON.
    Existing code already works if the label is not named explicitly - LinqToCSharpSyntaxTranslator generates names for unnamed labels and uniquifies the names when needed. Fix is to add the uniquification to all labels, not only the unnamed one.
    
    Also fixed another small bug in LinqToCSharpSyntaxTranslator encountered in the testing - when we process LambdaExpression and are dealing with lifted statements (that need to be incorporated into the lambda body), we assumed it would always be a single expression, but it could also be a block. Fix is to add handling for the block case, which is simply pre-pending lifted statements to the ones already in the block.
    
    Added JSON entites to Blog so that we can test the scenario, also added some posts (there were none) for cases which don't work with JSON entities, e.g. set ops.
    
    Fixes #34056
    maumar authored Jul 31, 2024
    Configuration menu
    Copy the full SHA
    ccf0247 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    3d1d324 View commit details
    Browse the repository at this point in the history

Commits on Aug 1, 2024

  1. Configuration menu
    Copy the full SHA
    9e40ee0 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    be00ba2 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    144e170 View commit details
    Browse the repository at this point in the history
  4. Update dependencies from https://github.com/dotnet/arcade build 20240…

    …725.3 (#34310)
    
    [main] Update dependencies from dotnet/arcade
    dotnet-maestro[bot] authored Aug 1, 2024
    Configuration menu
    Copy the full SHA
    05c024b View commit details
    Browse the repository at this point in the history
  5. Enable TSA reporting

    AndriySvyryd authored Aug 1, 2024
    Configuration menu
    Copy the full SHA
    a22cdc8 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    92249e6 View commit details
    Browse the repository at this point in the history

Commits on Aug 2, 2024

  1. Get partition keys, container name, and JsonIdDefinition from the roo…

    …t entity in the hierarchy by default (#34252)
    
    Fixes #34176
    
    Also, model validation.
    ajcvickers authored Aug 2, 2024
    Configuration menu
    Copy the full SHA
    e667bf8 View commit details
    Browse the repository at this point in the history
  2. Add back support for Cosmos nested dictionaries (#34312)

    * Add back support for Cosmos nested dictionaries
    
    Fixes #34105
    
    This code will be consolidated with the relational UTF8 JSON code when #29825 is implemented. For now, just adding back what was already in Cosmos.
    
    * Review updates
    ajcvickers authored Aug 2, 2024
    Configuration menu
    Copy the full SHA
    d94cc5a View commit details
    Browse the repository at this point in the history
Loading