Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
813 commits
Select commit Hold shift + click to select a range
07c52e2
Add net7.0 target to mpc and updated comments
AArnott Dec 2, 2022
78349d0
Fix analyzer tests on LF line ending platforms
AArnott Dec 2, 2022
9c1249b
Update public API files to prepare for nullable ref annotations
AArnott Dec 2, 2022
f88ca05
Apply documentation analyzers and fix issues they found
AArnott Dec 2, 2022
b847ee4
Merge pull request #1538 from neuecc/refreshingUpdates
AArnott Dec 2, 2022
a398f71
Annotate nullability of most APIs
AArnott Dec 3, 2022
a43dbc8
Merge pull request #1539 from neuecc/nrt2
AArnott Dec 3, 2022
dd78109
Add more nullable ref annotations
AArnott Dec 3, 2022
79eda92
Annotate DynamicUnionResolver
AArnott Dec 3, 2022
95249b1
Merge pull request #1540 from neuecc/nrt
AArnott Dec 3, 2022
da97ad0
Last of the nullable ref annotations
AArnott Dec 3, 2022
a477b7e
Enable nullable for all src projects
AArnott Dec 3, 2022
049565b
Merge pull request #1541 from neuecc/nrt
AArnott Dec 3, 2022
f9573d1
Switch from Azure Pipelines to GitHub Actions for unity build
AArnott Dec 6, 2022
2f6fb6e
Merge branch 'unityGA' into develop
AArnott Dec 6, 2022
fa0da94
Merge pull request #1543 from neuecc/unityGA
AArnott Dec 6, 2022
bb5d0f3
Merge pull request #1544 from neuecc/master_to_develop
AArnott Dec 10, 2022
897fbee
Merge pull request #1534 from sergey-shapesxr/fixGenerics
AArnott Dec 10, 2022
a24d8a1
Drop netcoreapp3.1 targeting
AArnott Dec 15, 2022
2da6478
Multitarget the library
AArnott Dec 15, 2022
dfd69e0
Avoid System.Net.Http compile error when targeting net472
AArnott Dec 15, 2022
ade39a9
Merge pull request #183 from AArnott/retargetNet
AArnott Dec 15, 2022
8121dad
Drop obsolete WPF workarounds
AArnott Dec 15, 2022
8bf30c8
Merge pull request #185 from AArnott/dropWpfWorkarounds
AArnott Dec 15, 2022
435bda6
Add emoticons to github workflows
AArnott Dec 15, 2022
2107c6a
Bump C# language version to 11
AArnott Dec 17, 2022
7e26321
Bump Microsoft.NET.Test.Sdk to 17.4.1
AArnott Dec 18, 2022
73ed0f8
Bump Microsoft.CodeCoverage (#187)
dependabot[bot] Jan 3, 2023
1d09284
Switch code coverage from static to dynamic instrumentation
AArnott Jan 4, 2023
e978900
Fixes Typo "paramterType" -> "parameterType"
gfs Jan 4, 2023
b869a52
Merge pull request #1547 from gfs/patch-1
AArnott Jan 5, 2023
c36559c
Upgrade Microsoft.CodeCoverage
AArnott Jan 5, 2023
77e4b51
Fix merge coverage error when output directory already exists
AArnott Jan 6, 2023
e14cc10
Fix unity+android code for reading an Int64 from memory
AArnott Jan 6, 2023
594ec07
Merge pull request #1548 from AArnott/fix1546
AArnott Jan 6, 2023
26135de
Hide Microsoft.NET.StringTools from compilation of downstream projects
AArnott Jan 11, 2023
04e202f
Merge pull request #1549 from AArnott/fix1509
AArnott Jan 11, 2023
eb847be
.gitignore .DS_Store
AArnott Jan 13, 2023
b12be77
Add integer encoded length as public API.
lynzrand Jan 20, 2023
8b190f9
Fix wrong data length written in `UnsafeBlitFormatter`
lynzrand Jan 20, 2023
756ee0b
Fix formatting: no consecutive blank lines
lynzrand Jan 20, 2023
a12cf47
Add tests to ensure compatibility
lynzrand Jan 20, 2023
eb9852b
Add tests for `IntegerEncodedLength` for every integer
lynzrand Jan 20, 2023
53d6c16
Fix failed test in `IntegerEncodedLength`
lynzrand Jan 20, 2023
c4d099c
Increase likelihood that folks set PackageProjectUrl property
AArnott Jan 22, 2023
07df47e
Bump Microsoft.CodeCoverage to 17.5.0-release-20230106-01
AArnott Jan 22, 2023
9abc683
Added sandbox tests for nested generic types
Jan 26, 2023
809d1ad
Fixed issue with Union formatter generator
Jan 25, 2023
161cd19
Fixed nullable knows types are added to generated resolver
Jan 26, 2023
59f7bc5
Add __CustomFormatter__ instanciator for StringKeyFormatterTemplate
gepa21 Jan 27, 2023
4ae1808
Show details of errors occurred while opening a project
mayuki Jan 31, 2023
f7f6ed3
Use latest NuGet.exe version (#188)
kartheekp-ms Feb 1, 2023
4de45d4
Bump Microsoft.CodeCoverage (#189)
dependabot[bot] Feb 1, 2023
f17518b
Update the dotnet-install.ps1 script
AArnott Feb 9, 2023
551183c
Improve error message for unsupported versions
AArnott Feb 9, 2023
8381192
Remove references to "Core" in .NET Core
AArnott Feb 10, 2023
d190333
Add -SdkOnly switch
AArnott Feb 10, 2023
c01126d
Simplify Version cast in ps1 script
AArnott Feb 13, 2023
b3a68a9
Use LF line endings for plist files
AArnott Feb 16, 2023
b579c7c
Add `-interactive` switch to init.ps1
AArnott Feb 16, 2023
c1aa817
Fix MessagePack CodeGen Unity spelling/grammar
Valerionn Feb 22, 2023
6415323
Bump dependencies to 17.5.0 versions
AArnott Feb 24, 2023
34f1344
Add msbuild extension for VS Code
AArnott Feb 27, 2023
0bfecd6
Drop test-tools as a nuget feed source
AArnott Feb 27, 2023
e877595
Merge pull request #192 from AArnott/dropdotnetToolsSource
AArnott Feb 27, 2023
1b08d1c
Merge remote-tracking branch 'origin/main' into updateDotNetInstallSc…
AArnott Feb 27, 2023
9e00d2a
build-again(and remove author info)
neuecc Dec 7, 2022
e4bcfc3
Merge pull request #1557 from gepa21/pr/fix_customformatter_for_strin…
AArnott Mar 11, 2023
41c7d44
Merge pull request #1564 from AArnott/cp1542
AArnott Mar 11, 2023
80481cd
Merge pull request #1558 from mayuki/ShowErrorDetailsOnGeneratorProje…
AArnott Mar 11, 2023
ba396de
Merge pull request #1561 from Valerionn/patch-1
AArnott Mar 11, 2023
db10457
Run codegen.ps1
AArnott Mar 11, 2023
a59c65e
Merge pull request #1553 from Scormave/fixUnionTemplate
AArnott Mar 11, 2023
99ae5e1
Run codegen.ps1 and fix compilation warning
AArnott Mar 11, 2023
81199b1
Merge pull request #1556 from Scormave/fixNullableKnownTypes
AArnott Mar 11, 2023
602a001
Run codegen.ps1 and fix compiler warnings
AArnott Mar 11, 2023
028c3ce
Merge remote-tracking branch 'upstream/develop' into nestedGenericsSa…
AArnott Mar 11, 2023
e0f5536
Merge pull request #1555 from Scormave/nestedGenericsSandbox
AArnott Mar 11, 2023
5630e3d
Merge latest Library.Template
AArnott Mar 11, 2023
b690e5e
Get solution building without warnings
AArnott Mar 11, 2023
929aa31
Fix failing tests
AArnott Mar 11, 2023
e9f08c8
Merge pull request #191 from AArnott/updateDotNetInstallScript
AArnott Mar 11, 2023
5132c22
Add ASP.NET Core runtime installation support
AArnott Mar 11, 2023
a921f8d
Drop Microsoft.CodeCoverage reference
AArnott Mar 11, 2023
33aee6e
Merge pull request #193 from AArnott/aspnetRuntime
AArnott Mar 11, 2023
54bd19a
Merge pull request #194 from AArnott/removeRedundantPackageReference
AArnott Mar 11, 2023
302f046
Fix Azure Pipelines build
AArnott Mar 11, 2023
9eeee78
Install ASP.NET Core runtime in scripts
AArnott Mar 11, 2023
efa8bbb
Merge remote-tracking branch 'libtemplate/main' into libtemplateUpdate
AArnott Mar 12, 2023
d926ab6
Skip running tests on mono
AArnott Mar 12, 2023
7d7f1d3
Merge pull request #1566 from neuecc/libtemplateUpdate
AArnott Mar 12, 2023
eb8c898
Rename `IntegerEncodedLength` to `GetEncodedLength`
AArnott Mar 12, 2023
6252f11
Merge remote-tracking branch 'upstream/master' into mergeMasterToDevelop
AArnott Mar 12, 2023
71ec1c9
Remove PublicAPI files for netcoreapp3.1
AArnott Mar 12, 2023
2c6d923
Merge branch 'mergeMasterToDevelop' into fix-1550
AArnott Mar 12, 2023
bd86ffc
Merge pull request #1567 from neuecc/mergeMasterToDevelop
AArnott Mar 12, 2023
2a4ca21
Use switch expressions for more concise syntax
AArnott Mar 12, 2023
58c4d3c
Merge pull request #1551 from lynzrand/fix-1550
AArnott Mar 12, 2023
e57167d
Fix over-packing of test and sandbox projects
AArnott Mar 12, 2023
34c753d
Fix package push to CI feed
AArnott Mar 12, 2023
634cb43
Fix strong name signing
AArnott Mar 12, 2023
9197909
Add emojis to two more yaml pipeline steps
AArnott Mar 12, 2023
ca4715e
Drop empty artifact scripts
AArnott Mar 12, 2023
0bb937f
Several fixes after the Library.Template merge
AArnott Mar 12, 2023
f3810de
Merge develop into master
AArnott Mar 12, 2023
f08b6fe
Build stable 2.5 version
AArnott Mar 12, 2023
9c3b648
Bump BenchmarkDotNetVersion from 0.13.2 to 0.13.5
dependabot[bot] Mar 12, 2023
f546626
Merge pull request #1572 from neuecc/dependabot/nuget/BenchmarkDotNet…
AArnott Mar 13, 2023
739085e
Bump Moq from 4.18.2 to 4.18.4 (#1569)
dependabot[bot] Mar 13, 2023
dd703a8
Do not pack GeneratorCore
AArnott Mar 13, 2023
fef9ec6
Use Mono.RuntimeStructs to test if the runtime is Mono
takeshik Mar 13, 2023
1d322ca
Merge pull request #1573 from takeshik/fix-MonoProtection-on-newer-mo…
AArnott Mar 13, 2023
0e387c5
Add `PrimitiveObjectResolver` test for deserializing strings
AArnott Mar 14, 2023
641c87d
Merge remote-tracking branch 'upstream/master' into fix1574
AArnott Mar 14, 2023
aa8acaf
Fix `PrimitiveObjectResolver`'s ability to read strings
AArnott Mar 14, 2023
cb44cb8
Merge pull request #1575 from AArnott/fix1574
AArnott Mar 14, 2023
2d5494c
fix ThreadsafeTypeKeyHashTable.GetOrAdd threading issue
gepa21 Mar 15, 2023
c3b4a71
Merge pull request #1577 from gepa21/pr/fix_ThreadsafeTypeKeyHashTabl…
AArnott Mar 16, 2023
8a7cf22
Fix compiler warning that appears with VS 2022 Update 6 preview
AArnott Mar 16, 2023
158c6ab
Remove code to throw an exception
AArnott Mar 16, 2023
cb0ad5d
Merge pull request #1579 from AArnott/dev/andarno/compilerWarningFix
AArnott Mar 16, 2023
0f7f13f
Fix: Advance destinationIterator in foreach loop.
pCYSl5EDgo Mar 29, 2023
a8140d5
Merge pull request #1584 from pCYSl5EDgo/fix-bug-unsafe-formatter
AArnott Mar 29, 2023
1833551
Bump Microsoft.NET.StringTools from 17.4.0 to 17.5.0 (#1588)
dependabot[bot] Apr 1, 2023
bbc3f97
Bump ReactiveProperty from 8.2.0 to 9.1.2 (#1592)
dependabot[bot] Apr 6, 2023
94f6f92
Avoid copying data twice in MessagePackWriter.MemoryCopy when running…
AlanLiu90 Apr 19, 2023
a793469
Move throw statement into a local function
AlanLiu90 Apr 19, 2023
620e41e
Merge pull request #1607 from AlanLiu90/OptimizeMemoryCopyInUnity
AArnott Apr 19, 2023
ba15c5f
Bump Nerdbank.GitVersioning from 3.5.119 to 3.6.128 (#1615)
dependabot[bot] May 1, 2023
4a4841e
Bump Microsoft.Build.Locator from 1.4.1 to 1.5.5 (#1613)
dependabot[bot] May 1, 2023
ce63bed
Bump Microsoft.CodeAnalysis.PublicApiAnalyzers from 3.3.3 to 3.3.4 (#…
dependabot[bot] May 1, 2023
eb929d6
Bump NUnit3TestAdapter from 4.3.1 to 4.4.2 (#1614)
dependabot[bot] May 20, 2023
a51dc77
Fix `ILookup<TKey, TElement>` deserialized behavior
AArnott May 20, 2023
3fe09e1
Merge pull request #1623 from neuecc/fix1431
AArnott May 20, 2023
5ec6543
Bump Microsoft.NET.StringTools from 17.5.0 to 17.6.3 (#1629)
dependabot[bot] Jun 12, 2023
6db8698
move code depending on UnityEditor into separate assembly to avoid co…
nonemec-havok Jun 27, 2023
a1a7417
Merge pull request #1649 from NorbertNemec/move-UnityEditor-dependenc…
AArnott Jun 27, 2023
55b4629
Stamp unity package version as 2.5.124
AArnott Jun 27, 2023
07237d8
Allow applying `[MessagePackFormatter]` on parameters
AArnott Sep 19, 2023
fe50eef
Merge pull request #1678 from AArnott/parameterFormatters
AArnott Sep 19, 2023
cf0b7d7
Revert "Allow applying `[MessagePackFormatter]` on parameters"
AArnott Sep 19, 2023
cc48707
Allow applying `[MessagePackFormatter]` on parameters and return values
AArnott Sep 19, 2023
ec99ca7
Merge pull request #1679 from MessagePack-CSharp/revert-1678-paramete…
AArnott Sep 19, 2023
e9100a7
Remove `long` to `int` truncation of stream position
AArnott Sep 27, 2023
6edce56
Merge pull request #1685 from MessagePack-CSharp/fix1586
AArnott Sep 28, 2023
d0768f3
Fix releases link in README
AArnott Sep 28, 2023
4890328
Better constrain dictionary detection
AArnott Oct 4, 2023
0c7c789
Fix releases links in README text
KonH Oct 5, 2023
c26eda8
Merge pull request #1688 from KonH/patch-1
AArnott Oct 5, 2023
7dcea24
Merge pull request #1687 from MessagePack-CSharp/fix1686
AArnott Oct 6, 2023
1a582ca
Create FUNDING.yml (#1693)
AArnott Oct 19, 2023
f31cac3
Workaround mono runtime bug
AArnott Oct 27, 2023
d10d7f9
Merge pull request #1696 from MessagePack-CSharp/fix1695
AArnott Oct 27, 2023
cffef3c
Add MESSAGEPACK_FORCE_AOT condition
Nov 2, 2023
d71dc81
DYNAMIC_GENERATION define
Nov 9, 2023
415c592
Merge pull request #1701 from brwhelan-msft/force-messagepack-aot
AArnott Nov 12, 2023
eefc907
Stamp unity package version as 2.5.140
AArnott Nov 30, 2023
bece0ed
Bump Newtonsoft.Json from 13.0.2 to 13.0.3 (#1656)
dependabot[bot] Jan 12, 2024
6abacb6
Update security policy
AArnott Jan 22, 2024
4afda71
Bump Microsoft.CodeAnalysis.Analyzers from 3.3.3 to 3.3.4
dependabot[bot] Jun 1, 2023
1bc95f5
Fix new compiler warnings
AArnott Jan 22, 2024
720a895
Merge pull request #1633 from MessagePack-CSharp/dependabot/nuget/Mic…
AArnott Jan 22, 2024
6ba3b6c
Bump NUnit3TestAdapter from 4.4.2 to 4.5.0 (#1654)
dependabot[bot] Jan 22, 2024
939166a
Promote APIs that have shipped for better tracking
AArnott Jan 27, 2024
55d5001
Direct Dependabot pull requests to the `develop` branch
AArnott Feb 5, 2024
09dd954
Don't offer to upgrade package references to MessagePack
AArnott Feb 5, 2024
4160966
fixing issue with backing field naming and serialization failing
epitka-sg Mar 8, 2024
dfe2717
Remove commented code
AArnott Mar 31, 2024
43f1b1c
Merge pull request #1785 from epitka/master
AArnott Mar 31, 2024
9259ec5
Verify empty dictionary is fine to deserialize
nmi-relewise Apr 22, 2024
270b18e
Do for loop only if any elements
nmi-relewise Apr 22, 2024
fb0bb13
[Formatting] Respect to nesting
nmi-relewise Apr 22, 2024
6b4beaf
Compute formatters only if elements are there
nmi-relewise Apr 22, 2024
9e555ea
enable ignoring fields by using [NonSerialized]
mookid8000 Apr 22, 2024
92d6365
Merge pull request #1805 from nmi-relewise/feature/1804-locate-format…
AArnott Apr 24, 2024
76cc9a3
Merge pull request #1808 from mookid8000/master
AArnott Apr 24, 2024
c5024ac
#1811 tweak dependencies.
thompson-tomo May 6, 2024
ed5182f
Add conditions for polyfil dependencies so are not promoted from bein…
thompson-tomo May 7, 2024
775a966
Drop dependency to v6
thompson-tomo May 12, 2024
539ff55
Fix build breaks
AArnott May 13, 2024
1b1b8d2
Avoid unsupported net461 target framework
AArnott May 13, 2024
f8d220b
Add .NET Framework target to drop dependencies
AArnott May 13, 2024
db2320b
Merge pull request #1812 from thompson-tomo/chore/#1811_optimiseDepen…
AArnott May 13, 2024
21abae9
Raise perf tracking events when formatters are dynamically generated
AArnott May 28, 2024
ec010c7
Bump xunit to 2.8.1
AArnott May 31, 2024
69485b2
Merge pull request #1834 from MessagePack-CSharp/fixnet6tests
AArnott May 31, 2024
ec9c95e
Merge pull request #1829 from MessagePack-CSharp/eventSource
AArnott May 31, 2024
8732272
Add .NET 8 target to mpc
AArnott May 30, 2024
3aec9fd
Merge pull request #1832 from MessagePack-CSharp/fix1831
AArnott Jun 7, 2024
83019ef
Allow writing to init property setters of generic classes on .NET 6+
AArnott Jul 5, 2024
e29def3
Merge pull request #1879 from MessagePack-CSharp/fix1134Again
AArnott Jul 5, 2024
266fad7
Merge pull request #1901 from AArnott/parameterFormatters
AArnott Jul 23, 2024
916e659
General support for records
N-Olbert Aug 17, 2024
ce9c704
Cosidered primary ctors
N-Olbert Aug 17, 2024
fd32138
Fix code style
N-Olbert Aug 18, 2024
79f87b9
Adjusted formatting of tests.
N-Olbert Aug 18, 2024
039d746
Add attributes for more C# syntax coloring in analyzer tests
AArnott Aug 19, 2024
cacd97d
Add support for code fix for primary constructors
AArnott Aug 19, 2024
fc3cada
Merge pull request #1932 from N-Olbert/SupportRecords
AArnott Aug 19, 2024
9b1ba2d
Update legal stuff
AArnott Sep 3, 2024
9c3db14
Update mpc acquisition instructions
AArnott Sep 23, 2024
fdf76f7
MPC String Value From Key Attribute Fix
alimakki Sep 16, 2024
62238b3
- perform a length check on `keyAttribute.ConstructorArguments` befo…
alimakki Sep 25, 2024
c4157ee
Merge pull request #1963 from BeatConnect/mpc_string_value_from_key_a…
AArnott Sep 25, 2024
3165534
Update references to .NET to match branding
AArnott Oct 16, 2024
e6bbe50
Get the v1.x branch building again
AArnott Oct 16, 2024
7cd869e
Merge and nullify v1.x build fixes
AArnott Oct 16, 2024
3a90034
Update published security policy (#2010)
AArnott Oct 17, 2024
0763cf0
Use a collision-resistant hash algorithm for untrusted data
AArnott Oct 16, 2024
ad2d135
Use safer unaligned-read methods
AArnott Oct 17, 2024
f8d40b3
Merge pull request #2014 from MessagePack-CSharp/secureHash
AArnott Oct 17, 2024
4f457dc
Remove PackageReference to older MessagePack version
AArnott Oct 18, 2024
0c02b68
Merge pull request #2018 from MessagePack-CSharp/msgpackPackRefRemoval
AArnott Oct 18, 2024
7c908af
Add .NET Foundation notices
AArnott Oct 26, 2024
c2cef88
Fix bugs in serializing long numbers
AArnott Nov 1, 2024
d3d435b
Merge pull request #2055 from MessagePack-CSharp/fixBuggyWrites
AArnott Nov 2, 2024
2731bfb
Fix repo url
tomap Nov 14, 2024
e6f3d81
Merge pull request #2065 from tomap/patch-1
AArnott Nov 14, 2024
930293f
Merge pull request #1978 from BertanAygun/bertan/issue1952
AArnott Oct 2, 2024
db8a242
Update unit tests to include a custom generic type.
BertanAygun Apr 9, 2025
0b9d9a4
Merge pull request #2183 from BertanAygun/bertan/issue1952v2
AArnott Apr 10, 2025
71892eb
Build v2.5 as stable from v2.x
AArnott Apr 10, 2025
58be50d
Backport .gitignore from master
AArnott May 14, 2026
9e214ba
Build on Ubuntu 22
AArnott May 15, 2026
c27960c
Merge pull request #2264 from MessagePack-CSharp/update-v2.x-minimal
AArnott May 15, 2026
94b32dd
Add more types to the default disallow list of named types to be dese…
AArnott Mar 30, 2026
1eecfe0
Merge pull request #2263 from MessagePack-CSharp/safer-type-deseriali…
AArnott May 15, 2026
3538bc1
Bound LZ4 input reads for CWE-125
AArnott Apr 29, 2026
adeb4ef
Add test to verify that we reject invalid DateTime ext lengths for CW…
AArnott May 15, 2026
e97f71e
Use secure lookup comparer for CWE-407
AArnott Apr 29, 2026
dc6f632
Fix CWE-789 multidimensional array allocation validation
AArnott Apr 29, 2026
7b12e5b
Guard JSON conversion depth for CWE-674
AArnott Apr 29, 2026
e01f07c
Validate Unity blit lengths for CWE-789
AArnott Apr 29, 2026
940b850
Guard dynamic union depth for CWE-674
AArnott Apr 29, 2026
9674352
Guard typeless JSON depth for CWE-674
AArnott Apr 29, 2026
a3c8a18
Avoid JSON separator recursion for CWE-674
AArnott Apr 29, 2026
0124048
Fix CWE-190 map header length overflow
AArnott Apr 29, 2026
ae90f2b
Limit untrusted ExpandoObject maps for CWE-407
AArnott Apr 29, 2026
c98d31f
Default MVC input formatter to UntrustedData for CWE-1188
AArnott Apr 29, 2026
696b4a7
Use iteration for skipping msgpack structures for CWE-674
AArnott May 13, 2026
826f17c
Reject nested typeless blocklist bypass for CWE-502
AArnott Apr 29, 2026
853429a
Guard LZ4 decompression length for CWE-409
AArnott Apr 29, 2026
b0f8c5e
Fix WriteRawX methods to advance by written length
AArnott May 14, 2026
7027e91
Fix several security issues
AArnott May 15, 2026
814bc4c
Honor TypeFormatter options hooks for CWE-470
AArnott Apr 29, 2026
5657b1e
Merge branch 'MESSAGEPACKCSHARP-OPEN-008-v2' into v2.x-fix-all
AArnott May 18, 2026
ffb151a
Add several known unsafe 'gadgets' to the disallow list
AArnott May 21, 2026
81b03dc
Merge pull request #2269 from MessagePack-CSharp/add-more-disallowed-…
AArnott May 21, 2026
b611da8
Merge security fixes to v2.x
AArnott Jun 9, 2026
8de61f8
Merge remote-tracking branch 'upstream/v2.x'
BrennanConroy Jun 9, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
14 changes: 14 additions & 0 deletions .devcontainer/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
# Refer to https://hub.docker.com/_/microsoft-dotnet-sdk for available versions
FROM mcr.microsoft.com/dotnet/sdk:8.0.300-jammy

# Installing mono makes `dotnet test` work without errors even for net472.
# But installing it takes a long time, so it's excluded by default.
#RUN apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 3FA7E0328081BFF6A14DA29AA6A19B38D3D831EF
#RUN echo "deb https://download.mono-project.com/repo/ubuntu stable-bionic main" | tee /etc/apt/sources.list.d/mono-official-stable.list
#RUN apt-get update
#RUN DEBIAN_FRONTEND=noninteractive apt-get install -y mono-devel

# Clear the NUGET_XMLDOC_MODE env var so xml api doc files get unpacked, allowing a rich experience in Intellisense.
# See https://github.com/dotnet/dotnet-docker/issues/2790 for a discussion on this, where the prioritized use case
# was *not* devcontainers, sadly.
ENV NUGET_XMLDOC_MODE=
20 changes: 20 additions & 0 deletions .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
{
"name": "Dev space",
"dockerFile": "Dockerfile",
"settings": {
"terminal.integrated.shell.linux": "/usr/bin/pwsh"
},
"postCreateCommand": "./init.ps1 -InstallLocality machine",
"extensions": [
"ms-azure-devops.azure-pipelines",
"ms-dotnettools.csharp",
"k--kato.docomment",
"editorconfig.editorconfig",
"pflannery.vscode-versionlens",
"davidanson.vscode-markdownlint",
"dotjoshjohnson.xml",
"ms-vscode-remote.remote-containers",
"ms-azuretools.vscode-docker",
"ms-vscode.powershell"
]
}
81 changes: 75 additions & 6 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -1,13 +1,11 @@
# EditorConfig is awesome:http://EditorConfig.org
# EditorConfig is awesome:http://EditorConfig.org

# top-most EditorConfig file
root = true

# Don't use tabs for indentation.
[*]
indent_style = space
insert_final_newline = true
trim_trailing_whitespace = true

# (Please don't specify an indent_size here; that has too many unintended consequences.)

Expand All @@ -18,18 +16,21 @@ indent_style = space
# Code files
[*.{cs,csx,vb,vbx,h,cpp,idl}]
indent_size = 4
insert_final_newline = true
trim_trailing_whitespace = true

# Xml project files
[*.{csproj,vbproj,vcxproj,vcxproj.filters,proj,projitems,shproj}]
# MSBuild project files
[*.{csproj,vbproj,vcxproj,vcxproj.filters,proj,projitems,shproj,msbuildproj,props,targets}]
indent_size = 2

# Xml config files
[*.{props,targets,ruleset,config,nuspec,resx,vsixmanifest,vsct}]
[*.{ruleset,config,nuspec,resx,vsixmanifest,vsct,runsettings}]
indent_size = 2

# JSON files
[*.json]
indent_size = 2
indent_style = space

# Dotnet code style settings:
[*.{cs,vb}]
Expand Down Expand Up @@ -167,3 +168,71 @@ csharp_new_line_before_members_in_anonymous_types = true

# Blocks are allowed
csharp_prefer_braces = true:silent

dotnet_diagnostic.RS0041.severity = suggestion

# SA1130: Use lambda syntax
dotnet_diagnostic.SA1130.severity = silent

# IDE1006: Naming Styles - StyleCop handles these for us
dotnet_diagnostic.IDE1006.severity = none

dotnet_diagnostic.DOC100.severity = silent
dotnet_diagnostic.DOC104.severity = warning
dotnet_diagnostic.DOC105.severity = warning
dotnet_diagnostic.DOC106.severity = warning
dotnet_diagnostic.DOC107.severity = warning
dotnet_diagnostic.DOC108.severity = warning
dotnet_diagnostic.DOC200.severity = warning
dotnet_diagnostic.DOC202.severity = warning

# CS1591: Missing XML comment for publicly visible type or member
dotnet_diagnostic.CS1591.severity = suggestion

# SA1101: Prefix local calls with this
dotnet_diagnostic.SA1101.severity = suggestion

# SA120x: Element ordering
dotnet_diagnostic.SA1201.severity = silent
dotnet_diagnostic.SA1202.severity = silent
dotnet_diagnostic.SA1204.severity = silent
dotnet_diagnostic.SA1214.severity = silent

# SA1121: Use built-in type alias
dotnet_diagnostic.SA1121.severity = suggestion

# SA1124: Do not use regions
dotnet_diagnostic.SA1124.severity = suggestion

# SA1133: Each attribute should be placed in its own set of square brackets
dotnet_diagnostic.SA1133.severity = silent

# SA1134: Each attribute should be placed on its own line of code
dotnet_diagnostic.SA1134.severity = silent

# SA1139: Use literal syntax instead of casting
dotnet_diagnostic.SA1139.severity = suggestion

# SA1600: Elements should be documented
dotnet_diagnostic.SA1600.severity = silent

# SA1601: Partial elements should be documented
dotnet_diagnostic.SA1601.severity = silent

# SA1602: Enumeration items should be documented
dotnet_diagnostic.SA1602.severity = silent

# SA1601: Element documentation should have summary
dotnet_diagnostic.SA1604.severity = suggestion

# SA1615: The documentation for parameter is missing
dotnet_diagnostic.SA1611.severity = suggestion

# SA1615: Element return value should be documented
dotnet_diagnostic.SA1615.severity = suggestion

# SA1618: Document type parameters
dotnet_diagnostic.SA1618.severity = suggestion

[*.sln]
indent_style = tab
15 changes: 10 additions & 5 deletions .gitattributes
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,13 @@
# Set default behavior to automatically normalize line endings.
###############################################################################
* text=auto
*.sh text eol=lf

# Ensure shell scripts use LF line endings (linux only accepts LF)
*.sh eol=lf
*.ps1 eol=lf

# The macOS codesign tool is extremely picky, and requires LF line endings.
*.plist eol=lf

###############################################################################
# Set default behavior for command prompt diff.
Expand All @@ -18,7 +24,7 @@
#
# Merging from the command prompt will add diff markers to the files if there
# are conflicts (Merging from VS is not affected by the settings below, in VS
# the diff markers are never inserted). Diff markers may cause the following
# the diff markers are never inserted). Diff markers may cause the following
# file extensions to fail to load in VS. An alternative would be to treat
# these files as binary and thus will always conflict and require user
# intervention with every merge. To do so, just uncomment the entries below
Expand Down Expand Up @@ -47,9 +53,9 @@

###############################################################################
# diff behavior for common document formats
#
#
# Convert binary document formats to text before diffing them. This feature
# is only available from the command line. Turn it on by uncommenting the
# is only available from the command line. Turn it on by uncommenting the
# entries below.
###############################################################################
#*.doc diff=astextplain
Expand All @@ -62,4 +68,3 @@
#*.PDF diff=astextplain
#*.rtf diff=astextplain
#*.RTF diff=astextplain

5 changes: 5 additions & 0 deletions .github/FUNDING.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# These are supported funding model platforms

github:
- neuecc
- aarnott
12 changes: 12 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
# Please see the documentation for all configuration options:
# https://help.github.com/github/administering-a-repository/configuration-options-for-dependency-updates

version: 2
updates:
- package-ecosystem: nuget
target-branch: develop
directory: /
schedule:
interval: monthly
ignore:
- dependency-name: MessagePack
9 changes: 6 additions & 3 deletions .github/workflows/stale.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,21 +3,24 @@ name: Mark stale issues and pull requests
on:
schedule:
- cron: "0 0 * * *"
workflow_dispatch:

jobs:
stale:

runs-on: ubuntu-latest

steps:
- uses: actions/stale@v1
- uses: actions/stale@v5.2.0
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
days-before-stale: 90
days-before-close: 5
stale-issue-message: 'This issue is stale because it has been open 90 days with no activity. Remove stale label or comment or this will be closed in 5 days.'
stale-issue-label: 'no-issue-activity'
exempt-issue-label: 'awaiting-approval'
exempt-issue-labels: awaiting-approval
stale-pr-message: 'This pull request is stale because it has been open 90 days with no activity. Remove stale label or comment or this will be closed in 5 days.'
stale-pr-label: 'no-pr-activity'
exempt-pr-label: 'awaiting-approval'
exempt-pr-labels: awaiting-approval
close-issue-reason: not_planned

48 changes: 48 additions & 0 deletions .github/workflows/unity.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
name: unity

on:
workflow_dispatch:
push:
branches:
- master
- develop
pull_request:
branches:
- master
- develop

jobs:
unity:
runs-on: ubuntu-latest
timeout-minutes: 15
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0 # avoid shallow clone so nbgv can do its work.
- uses: actions/setup-dotnet@v3
with:
global-json-file: global.json
- name: copy assets
run: src/MessagePack.UnityClient/copy_assets.sh
- uses: actions/cache@v3
with:
path: src/MessagePack.UnityClient/Library
key: MessagePack-ubuntu
- name: build
uses: game-ci/unity-builder@v2
env:
UNITY_LICENSE: ${{ secrets.UNITY_LICENSE_2021 }}
with:
projectPath: src/MessagePack.UnityClient
unityVersion: 2021.3.11f1
targetPlatform: StandaloneLinux64
buildMethod: PackageExporter.Export
customParameters: /headless /ScriptBackend mono
versioning: None
- uses: Cysharp/Actions/.github/actions/check-metas@main # check meta files
with:
directory: src/MessagePack.UnityClient
- uses: actions/upload-artifact@v3
with:
name: MessagePack.unitypackage
path: bin/*.unitypackage
Loading
Loading