Граф коммитов

1784 Коммитов

Автор SHA1 Сообщение Дата
William Godbe 9aeb12b9bd
Use a collision-resistant hash algorithm for untrusted data (#5)
* Fix conflict

* Use safer unaligned-read methods

---------

Co-authored-by: Andrew Arnott <andrew.arnott@microsoft.com>
2024-10-21 10:02:20 -07:00
Immo Landwerth 95119056ee
Merge pull request #4 from terrajobst/add-security-md
Add SECURITY.md
2024-09-13 00:35:02 -07:00
Immo Landwerth 2a19f734a9 Add SECURITY.md 2024-09-10 16:51:47 -07:00
Dan Moseley ecc4e18ad7
Merge pull request #3 from danmoseley/obs
Obsolete BinaryFormatter related methods
2023-04-12 16:28:32 -07:00
Dan Moseley 2dce4432e6 revert json 2023-04-12 17:02:59 -06:00
Dan Moseley 545724bfbf obsolete attribs for binary formatting 2023-04-12 17:01:26 -06:00
Doug Bunting fe9fa0834d
Merge pull request #2 from gllebede/master
MessagePack update
2022-08-22 12:00:36 -07:00
Pranav K 3d1b75b8a3 Scrub nuget.config 2022-08-17 13:16:25 +01:00
Andrew Arnott 94d86190bc
Merge pull request #1481 from ValkaVales/patch-1
Fix OverflowException in SafeBitConverter.ToInt64
2022-08-12 07:28:20 -06:00
Oleksii Kharkov 0eccfe5060
Bug with long & double is fixed.
There was a bug, which produced "System.OverflowException: Arithmetic operation resulted in an overflow".
2022-08-12 15:40:34 +03:00
Andrew Arnott 10955cc19e
Merge pull request #1478 from AArnott/nongenericperftests
Add non-generic serialize/deserialize perf tests
2022-08-02 08:45:46 -06:00
Andrew Arnott 541ad7c639
Merge pull request #1461 from LineSmarts/master
Fix for "System.NotImplementedException: byref delegate" (second attempt)
2022-08-02 08:37:38 -06:00
Andrew Arnott 37e2dbc242
Add non-generic serialize/deserialize perf tests 2022-08-02 08:32:40 -06:00
Andrew Arnott 1092f85b68
Fix PerBenchmarkDotNet project
This has evidently been broken since I regressed it in 5c0220eecc.
2022-08-02 07:20:12 -06:00
Maxim Mikhisor d75c56acc1
Merge pull request #3 from AArnott/pr1461
Revise the fix slightly
2022-07-25 10:51:37 +12:00
Andrew Arnott eb6b93bb63
Revise the fix slightly 2022-07-23 08:03:47 -06:00
Andrew Arnott 8fe5fc9466
Merge pull request #1462 from gllebede/user/gllebede/skip_properties_with_MessagePackFormatterAttribute
Skip type collection if property has MessagePackFormatterAttribute
2022-07-23 07:39:59 -06:00
maxim 287c4f7a7a Small bug fix 2022-07-03 20:26:50 +12:00
maxim 3cd55341c1 Changes to fixx issues to pass CI build pipeline. 2022-07-03 20:03:26 +12:00
Gleb Lebedev ebb2040b53 Skip type collection if property has MessagePackFormatterAttribute 2022-06-29 12:34:19 +01:00
Andrew Arnott eab5122e95
Set unity package.json file for v2.4.35 2022-06-28 09:28:49 -06:00
Maxim Mikhisor 8ef5aec97e
Merge pull request #1 from neuecc/master
Merging
2022-06-28 13:08:56 +12:00
maxim 7a4a9ef9fb Several lines of code were deleted (which were not deleted in previous commit by some unknown accident). 2022-06-28 13:02:50 +12:00
Andrew Arnott 64ee45cdba
Merge pull request #1457 from AArnott/reduceLOHimpact
Add option to avoid large buffer allocations
2022-06-27 07:08:37 -06:00
Andrew Arnott f94fbf59d5
Merge pull request #1455 from neuecc/unity-meta
Add StringInterningFormatter.cs.meta for Unity
2022-06-23 12:33:53 -06:00
Andrew Arnott 9a2acd8e1b
Add option to avoid large buffer allocations
Allocating 1MB buffers contribute to the large object heap and should be avoidable for applications that it is a problem for.
2022-06-23 11:32:55 -06:00
neuecc 3074ea9127 add meta 2022-06-23 17:55:27 +09:00
Andrew Arnott 3a7ef805b0
Merge pull request #1452 from neuecc/dependabot/nuget/sandbox/Sandbox/Newtonsoft.Json-13.0.1
Bump Newtonsoft.Json from 10.0.3 to 13.0.1 in /sandbox/Sandbox
2022-06-22 19:06:58 -06:00
Andrew Arnott 1e1c4cff11
Merge pull request #1453 from neuecc/dependabot/nuget/benchmark/SerializerBenchmark/Newtonsoft.Json-13.0.1
Bump Newtonsoft.Json from 12.0.3 to 13.0.1 in /benchmark/SerializerBenchmark
2022-06-22 19:06:28 -06:00
dependabot[bot] 0eeb64b4ff
Bump Newtonsoft.Json in /benchmark/SerializerBenchmark
Bumps [Newtonsoft.Json](https://github.com/JamesNK/Newtonsoft.Json) from 12.0.3 to 13.0.1.
- [Release notes](https://github.com/JamesNK/Newtonsoft.Json/releases)
- [Commits](https://github.com/JamesNK/Newtonsoft.Json/compare/12.0.3...13.0.1)

---
updated-dependencies:
- dependency-name: Newtonsoft.Json
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-06-22 20:44:48 +00:00
dependabot[bot] c357cd8acd
Bump Newtonsoft.Json from 10.0.3 to 13.0.1 in /sandbox/Sandbox
Bumps [Newtonsoft.Json](https://github.com/JamesNK/Newtonsoft.Json) from 10.0.3 to 13.0.1.
- [Release notes](https://github.com/JamesNK/Newtonsoft.Json/releases)
- [Commits](https://github.com/JamesNK/Newtonsoft.Json/compare/10.0.3...13.0.1)

---
updated-dependencies:
- dependency-name: Newtonsoft.Json
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-06-22 15:25:13 +00:00
Andrew Arnott 888ecb280b
Merge pull request #1448 from AArnott/dropNet5.0
Drop net5.0 runtime targets
2022-06-15 22:21:34 -06:00
Andrew Arnott f1b42c0770
Merge pull request #1445 from neuecc/generator-rollforward-major
MessagePack.Generator RollForward to Major
2022-06-14 14:05:22 -06:00
Andrew Arnott a346d11182
Drop net5.0 runtime targets
Where we already had a .NET 6 target, we just drop net5.0. Where .NET 5 was the latest target, we change it to target .NET 6.

This is because .NET 5 is no longer supported by Microsoft, so no one is expected to be using that runtime at this point.
2022-06-14 13:59:19 -06:00
Andrew Arnott a0324060aa
Apply better workaround for https://github.com/dotnet/roslyn/issues/61478 2022-06-14 13:54:34 -06:00
Andrew Arnott de58043772
Merge branch 'master' into develop 2022-06-14 13:49:04 -06:00
Andrew Arnott c0e85a1c1c
Build 2.4 as stable version 2022-06-14 13:46:16 -06:00
Yoshifumi Kawai 9a3eb9c7da
MessagePack.Generator RollForward to Major 2022-06-10 10:40:38 +09:00
Andrew Arnott 69d190d454
Merge pull request #1443 from AArnott/mergeMasterToDevelop
Merge master to develop
2022-06-09 08:22:41 -06:00
Andrew Arnott cf86d7cbbe
Update package.json version to 2.3.112 to match latest release 2022-06-09 07:38:55 -06:00
Andrew Arnott 7e1629eeeb
Merge branch 'master' into mergeMasterToDevelop 2022-06-09 07:28:58 -06:00
Andrew Arnott 9f5b50634c
Merge pull request #1440 from AArnott/fix1433
Suppress CS1591 warnings in generated code
2022-06-07 13:59:10 -06:00
Andrew Arnott bf892e7339
Suppress CS1591 warnings in generated code
Fixes #1433
2022-06-07 10:51:30 -06:00
Andrew Arnott 623aaf27bc
Merge pull request #1427 from AArnott/fix1240_dateonly
Add built-in support for .NET 6 `DateOnly` and `TimeOnly` types
2022-05-24 10:24:58 -06:00
Andrew Arnott 14ed43cf39
Workaround https://github.com/dotnet/roslyn/issues/61478 2022-05-24 10:08:29 -06:00
Andrew Arnott c7ef724b09
Add built-in support for .NET 6 `DateOnly` and `TimeOnly` types
`DateOnly` requires 5 bytes (typically).
`TimeOnly` requires 6 bytes for second resolution or 8 bytes for ticks resolution. This is automatically selected based on the original value.

Closes #1240

# Conflicts:
#	src/MessagePack/net6.0/PublicAPI.Unshipped.txt
2022-05-24 10:08:29 -06:00
Andrew Arnott 50b549fe1f
Update Nerdbank.Streams 2022-05-24 10:08:26 -06:00
Andrew Arnott c3fcd1d87c
Merge pull request #1436 from AArnott/sdkUpdate
Update SDK to 6.0.300
2022-05-24 06:01:07 -06:00
Andrew Arnott 5484c90c04
Update SDK to 6.0.300 2022-05-23 20:50:08 -06:00
Andrew Arnott a70e019216
Resolve merge conflicts with develop 2022-05-12 06:36:57 -06:00