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: nsubstitute/NSubstitute
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v5.2.0
Choose a base ref
...
head repository: nsubstitute/NSubstitute
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v5.3.0
Choose a head ref
  • 19 commits
  • 154 files changed
  • 6 contributors

Commits on Apr 30, 2024

  1. Add Throws for exceptions to the docs (#795)

    * Add Throws for exceptions to the docs
    * Update ExtractDocs.fs to import ExceptionExtensions
    304NotModified authored Apr 30, 2024
    Configuration menu
    Copy the full SHA
    1f2fb0f View commit details
    Browse the repository at this point in the history

Commits on May 1, 2024

  1. Update to nunit4 (#783)

    Romfos authored May 1, 2024
    Configuration menu
    Copy the full SHA
    ef7a2d0 View commit details
    Browse the repository at this point in the history

Commits on May 5, 2024

  1. Update build project to .net 8 (#776)

    * Update build project to .net 8
    
    * Update MSBuild.StructuredLogger
    
    * Update nuget packages
    Romfos authored May 5, 2024
    Configuration menu
    Copy the full SHA
    4139d6a View commit details
    Browse the repository at this point in the history

Commits on May 8, 2024

  1. Remove Visual Studio for Mac from readme (#807)

    -  Remove Visual Studio for Mac from readme as it is deprecated [1]
    -  Remove some not needed warning suppressions
    
    [1]: https://devblogs.microsoft.com/visualstudio/visual-studio-for-mac-retirement-announcement/
    Romfos authored May 8, 2024
    Configuration menu
    Copy the full SHA
    4a5e6b6 View commit details
    Browse the repository at this point in the history

Commits on May 14, 2024

  1. Configuration menu
    Copy the full SHA
    2cf5aad View commit details
    Browse the repository at this point in the history
  2. Arg.Any<Arg.AnyType>() does not match arguments passed by reference (#…

    …787) (#811)
    
    Co-authored-by: Mihnea Rădulescu <>
    mihnea-radulescu authored May 14, 2024
    Configuration menu
    Copy the full SHA
    da6c174 View commit details
    Browse the repository at this point in the history
  3. Raise.EventWith default constructor (#788)

    Mihnea Rădulescu committed May 14, 2024
    Configuration menu
    Copy the full SHA
    084d0c6 View commit details
    Browse the repository at this point in the history

Commits on May 20, 2024

  1. Use c# 12 primary constructors (#812)

    * Use c# 12 primary constructors
    
    * Format SetActionForCallHandler
    Romfos authored May 20, 2024
    Configuration menu
    Copy the full SHA
    b7ff02c View commit details
    Browse the repository at this point in the history
  2. Update following PR review (1)

    Mihnea Rădulescu committed May 20, 2024
    Configuration menu
    Copy the full SHA
    a524189 View commit details
    Browse the repository at this point in the history

Commits on May 27, 2024

  1. Merge branch 'main' into bug/issue-788-Raise-EventWith-default-constr…

    …uctor
    Mihnea Rădulescu committed May 27, 2024
    Configuration menu
    Copy the full SHA
    ee276f3 View commit details
    Browse the repository at this point in the history

Commits on May 28, 2024

  1. Configuration menu
    Copy the full SHA
    4bd429e View commit details
    Browse the repository at this point in the history

Commits on Jun 2, 2024

  1. When(...).Throws gives a CouldNotSetReturnDueToNoLastCallException (#803

    )
    Mihnea Rădulescu authored and dtchepak committed Jun 2, 2024
    Configuration menu
    Copy the full SHA
    0c0d798 View commit details
    Browse the repository at this point in the history
  2. Replaced Obsolete attributes in WhenCalled<T> with doc comments.

    Mihnea Rădulescu authored and dtchepak committed Jun 2, 2024
    Configuration menu
    Copy the full SHA
    2ce4d66 View commit details
    Browse the repository at this point in the history
  3. Merge pull request #813 from mihnea-radulescu/bug/issue-788-Raise-Eve…

    …ntWith-default-constructor
    
    Raise.EventWith default constructor (#788)
    dtchepak authored Jun 2, 2024
    Configuration menu
    Copy the full SHA
    da82bc5 View commit details
    Browse the repository at this point in the history

Commits on Jun 10, 2024

  1. Unable to match arguments whose type is generic, when their concrete…

    … type is not known (#786) (#814)
    
    Unable to match arguments whose type is generic, when their concrete type is not known (#786)
    
    Co-authored-by: Mihnea Rădulescu <>
    mihnea-radulescu authored Jun 10, 2024
    Configuration menu
    Copy the full SHA
    73818a6 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    b8b0184 View commit details
    Browse the repository at this point in the history

Commits on Aug 11, 2024

  1. Feature: Enable call forwarding and substitution for non virtual meth…

    …ods or sealed classes implementing an interface. (#700)
    
    How to use:
    var substitute = Substitute.ForTypeForwardingTo <ISomeInterface,SomeImplementation>(argsList);
    
    In this case, it doesn't matter if methods are virtual or not; it will intercept all calls since we will be working with an interface all the time.
    For
    Limitations:
    
    Overriding virtual methods effectively replaces its implementation both for internal and external calls. With this implementation NSubstitute will only intercept calls made by client classes using the interface. Calls made from inside the object itself to its own method, will hit the actual implementation.
    marcoregueira authored Aug 11, 2024
    Configuration menu
    Copy the full SHA
    4d258a2 View commit details
    Browse the repository at this point in the history

Commits on Oct 26, 2024

  1. Release build workflow (#797)

    * Release build workflow
    
    * Release build - apply review comments
    
    - Rename workflow
    - Split artifact upload into packages and docs
    
    * Change artifact retention on release build
    dtchepak authored Oct 26, 2024
    Configuration menu
    Copy the full SHA
    cc73901 View commit details
    Browse the repository at this point in the history

Commits on Oct 28, 2024

  1. Prep 5.3.0 release (#836)

    dtchepak authored Oct 28, 2024
    Configuration menu
    Copy the full SHA
    45e00e3 View commit details
    Browse the repository at this point in the history
Loading