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: mongodb/laravel-mongodb
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 4.5.0
Choose a base ref
...
head repository: mongodb/laravel-mongodb
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 4.6.0
Choose a head ref
  • 16 commits
  • 57 files changed
  • 7 contributors

Commits on Jun 20, 2024

  1. PHPORM-175: Use foreign key name for MorphTo relationships (#3011)

    Incorporates the proposed solution in #2783 to not default $ownerKey to the current model's key name when constructing a MorphTo in HybridRelations::morphTo().
    
    That change alone caused RelationsTest::testMorph() to fail, since MorphTo::addConstraints() would attempt to use a null ownerKey value. This required an additional change to fall back to the foreign key name when building the constraint.
    
    * Allow multiple classes in ticket tests
    jmikola authored Jun 20, 2024
    Configuration menu
    Copy the full SHA
    8333880 View commit details
    Browse the repository at this point in the history

Commits on Jun 28, 2024

  1. Configuration menu
    Copy the full SHA
    0a143cc View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    97aafc7 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    f6bb2ff View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    7a5f587 View commit details
    Browse the repository at this point in the history
  5. DOCSP-41010: Fix transactions code example (#3016) (#3020)

    Co-authored-by: Nora Reidy <nora.reidy@mongodb.com>
    mongodb-php-bot and norareidy authored Jun 28, 2024
    Configuration menu
    Copy the full SHA
    ffacc6b View commit details
    Browse the repository at this point in the history

Commits on Jul 8, 2024

  1. Create DocumentModel trait to enable MongoDB on any 3rd party model c…

    …lass (#2580)
    
    * Create DocumentModel trait to enable MongoDB on any 3rd party model class
    * Use the trait for every test model
    * Add method Model::isDocumentModel to check when model classes can be used with MongoDB
    * Refactor the User class to extend Laravel's User class
    GromNaN authored Jul 8, 2024
    Configuration menu
    Copy the full SHA
    89463b0 View commit details
    Browse the repository at this point in the history
  2. DOCSP-38380: array reads (#3028)

    * DOCSP-38380: array reads
    
    * fix
    
    * NR PR fixes 1
    
    * remove extra doc in test
    rustagir authored Jul 8, 2024
    Configuration menu
    Copy the full SHA
    cb3fa4e View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    bf4e35d View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    7e504a3 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    0f697e1 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    2f7bf84 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    9431912 View commit details
    Browse the repository at this point in the history

Commits on Jul 9, 2024

  1. Configuration menu
    Copy the full SHA
    f6ee9cc View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    65f0a67 View commit details
    Browse the repository at this point in the history
  3. Add document version feature (#3021)

    Co-authored-by: Jérôme Tamarelle <jerome@tamarelle.net>
    florianJacques and GromNaN authored Jul 9, 2024
    Configuration menu
    Copy the full SHA
    179c6a6 View commit details
    Browse the repository at this point in the history
Loading