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: nforgeio/neonSDK
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v4.0.2
Choose a base ref
...
head repository: nforgeio/neonSDK
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v4.0.3
Choose a head ref
  • 5 commits
  • 9 files changed
  • 1 contributor

Commits on Feb 15, 2024

  1. The most significant changes include the update of the `NeonSdkVersio…

    …n` constant in the `Neon` namespace, the addition of a new method `GetHashCodeIgnoringWhitespace` in the `Neon.Common` namespace, and the addition of new package and project references in `Neon.Roslyn.XUnit.csproj`. Additionally, there were modifications in `TestCompilation.cs`, `TestCompilationBuilder.cs`, and the addition of new files `TestCompilationAssertions.cs` and `TestCompilationExtensions.cs`.
    
    1. The `NeonSdkVersion` constant in the `Neon` namespace in `Build.cs` was updated from `4.0.2` to `4.0.3-rc.1`. This change indicates an update in the SDK version used in the project.
    
    2. A new method `GetHashCodeIgnoringWhitespace` was added to the `Neon.Common` namespace in `StringExtensions.cs`. This method is designed to calculate the hash code for a string, with an option to ignore case.
    
    3. A new package reference to `FluentAssertions` version `6.12.0` was added to `Neon.Roslyn.XUnit.csproj`. This addition suggests that the project now uses the FluentAssertions library for assertions in unit tests.
    
    4. A new project reference to `Neon.Common\Neon.Common.csproj` was added to `Neon.Roslyn.XUnit.csproj`. This change indicates a new dependency on the `Neon.Common` project.
    
    5. In `TestCompilation.cs`, the method `HasOutputSyntax` and the `StringExtensions` class were removed. Instead, a new property `HashCodes` was added to the `TestCompilation` class. This change suggests a refactoring of the `TestCompilation` class.
    
    6. A new file `TestCompilationAssertions.cs` was added, which includes the `TestCompilationAssertions` class. This class provides FluentAssertions for the `TestCompilation` class, enhancing the testing capabilities of the project.
    
    7. In `TestCompilationBuilder.cs`, the `Console.Write("foo");` line was removed. Also, the `HashCodes` property was added to the `TestCompilation` instance returned by the `Build` method. This change suggests a cleanup and enhancement of the `TestCompilationBuilder` class.
    
    8. A new file `TestCompilationExtensions.cs` was added, which includes the `TestCompilationExtensions` class. This class provides an extension method `Should` for the `TestCompilation` class, further enhancing the testing capabilities of the project.
    marcusbooyah committed Feb 15, 2024
    Configuration menu
    Copy the full SHA
    14dcb2a View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    ca424e3 View commit details
    Browse the repository at this point in the history
  3. The most significant changes include the update of the Neon SDK versi…

    …on in the `Build.cs` file, the addition of new methods and properties in the `CompilationExtensions.cs`, `TestCompilation.cs`, and `TestCompilationAssertions.cs` files, and the creation of a new dictionary in the `TestCompilationBuilder.cs` file.
    
    1. The Neon SDK version was updated from "4.0.3-rc.1" to "4.0.3-rc.2" in the `Build.cs` file. This change indicates an upgrade to a newer version of the SDK.
    
    2. The `CompilationExtensions.cs` file saw the removal of the `System` and `System.Text` namespaces and the addition of the `Microsoft.CodeAnalysis`, `System.Collections.Generic`, `System.IO`, and `System.Linq` namespaces. This change suggests a shift in the functionality of the code in this file. Additionally, two new methods, `AddSourceFile` and `AddSourceFiles`, were added to this file, allowing the addition of source files to the compilation.
    
    3. In the `TestCompilation.cs` file, a new property `Sources` was added to the `TestCompilation` class. This property is a dictionary that stores the output source files, indicating an enhancement in the class's functionality.
    
    4. A new method `HaveCount` was added to the `TestCompilationAssertions.cs` file. This method checks if the compilation has a specific number of sources, providing a new functionality for testing the compilation.
    
    5. The `TestCompilationBuilder.cs` file saw the creation of a new dictionary `sources` to store the output source files. The `TestCompilation` object now also includes this `sources` dictionary. The `HashCodes` property of the `TestCompilation` object was updated to exclude empty or whitespace strings, suggesting an improvement in the object's data handling.
    marcusbooyah committed Feb 15, 2024
    Configuration menu
    Copy the full SHA
    8eb6505 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    53999ef View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    314080a View commit details
    Browse the repository at this point in the history
Loading