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

Remove binary serializer #463

Merged
merged 4 commits into from
Jul 25, 2024

Conversation

Mohammad-Haris
Copy link
Contributor

Resolves #462


Before the change?

Library supported conversion of an object to binary format. But BinaryFormatter has security issues and was flagged as obsolete in .NET 7.0 and higher, hence removing the functionality for now.

After the change?

Removed BinarySerializerAdapter and its references.

Pull request checklist

  • Tests for the changes have been added (for bug fixes/features)
  • Docs have been reviewed and added/updated if needed (for bug fixes/features)

Does this introduce a breaking change?

  • Yes
  • [] No
    Users using binary serialization might encounter errors.

@gstraccini gstraccini bot added 🛠 WIP Work in progress .NET Pull requests that update .net code dependencies Pull requests that update a dependency file 📝 documentation Tasks related to writing or updating documentation enhancement New feature or request good first issue Good for newcomers hacktoberfest Participation in the Hacktoberfest event help wanted Extra attention is needed security labels Jul 25, 2024
@github-actions github-actions bot added the size/L Denotes a PR that changes 100-499 lines, ignoring generated files. label Jul 25, 2024
@gstraccini gstraccini bot requested a review from guibranco July 25, 2024 10:24
@gstraccini gstraccini bot added the 🚦 awaiting triage Items that are awaiting triage or categorization label Jul 25, 2024
@AppVeyorBot
Copy link

@@ -118,6 +118,13 @@ Refer to [CONTRIBUTING.md](CONTRIBUTING.md) to learn how to contribute to this p
<table>
<tbody>
<tr>
<td align="center">
Copy link
Owner

Choose a reason for hiding this comment

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

A workflow/GH action updates this section automatically; don't worry. Once your code gets merged, it will add your data here!

@@ -8,6 +8,13 @@ Refer to [CONTRIBUTING.md](https://github.com/guibranco/CrispyWaffle/blob/main/C
<table>
<tbody>
<tr>
<td align="center">
Copy link
Owner

Choose a reason for hiding this comment

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

Same here!

@guibranco
Copy link
Owner

@Mohammad-Haris, great job. Thanks for the effort! I will merge it as soon as the CI checks conclude to run! 🚀

@guibranco guibranco merged commit 8756c85 into guibranco:main Jul 25, 2024
24 of 30 checks passed
@Mohammad-Haris Mohammad-Haris deleted the remove-binary-serializer branch July 25, 2024 14:36
@guibranco guibranco mentioned this pull request Jul 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🚦 awaiting triage Items that are awaiting triage or categorization dependencies Pull requests that update a dependency file 📝 documentation Tasks related to writing or updating documentation enhancement New feature or request good first issue Good for newcomers hacktoberfest Participation in the Hacktoberfest event help wanted Extra attention is needed .NET Pull requests that update .net code security Serializers size/L Denotes a PR that changes 100-499 lines, ignoring generated files. 🛠 WIP Work in progress
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[FEATURE] Remove binary serializer classes from codebase
3 participants