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

New Package support and removal of vulnerable Newtonsoft packages #186

Open
wants to merge 16 commits into
base: main
Choose a base branch
from

Conversation

RocktimeLtd
Copy link

@RocktimeLtd RocktimeLtd commented Jan 5, 2024

What problem does the pull request solve?

It allows support of new Newtonsoft and JWT packages. It drops support of vulnerable Newtonsoft packages
Updated Unit tests so they support the new version of NUnit
Added .NETFramework 4.8
Updated test packages and tests
Merged in current origin/main

Checklist

  • I’ve used the pull request template
  • I’ve written unit tests for these changes
  • I’ve updated the documentation in
  • [ x] I’ve bumped the version number (in src/GovukNotify/GovukNotify.csproj)

<PackageReference Include="NUnit3TestAdapter" Version="3.9.0" />
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.9.0" />
<PackageReference Include="Moq" Version="4.20.70" />
<PackageReference Include="MSTest.TestAdapter" Version="3.2.0" />

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think the MSTest packages can be removed since the project uses NUnit tests instead

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

These have now been removed.
I have also added a Framework 4.8 compiled Dll

Kieron added 5 commits April 24, 2024 10:07
Updated NUnit version
# Conflicts:
#	src/GovukNotify.Tests/IntegrationTests/Assertions.cs
#	src/GovukNotify.Tests/IntegrationTests/NotificationClientAsyncIntegrationTests.cs
#	src/GovukNotify.Tests/IntegrationTests/NotificationClientIntegrationTests.cs
#	src/GovukNotify.Tests/UnitTests/NotificationClientAsyncUnitTests.cs
#	src/GovukNotify.Tests/UnitTests/NotificationClientUnitTests.cs
#	src/GovukNotify/GovukNotify.csproj
Bumped version
Updated package references
@RocktimeLtd
Copy link
Author

I have added the latest updates ready for merging

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants