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: protobuf-net/protobuf-net
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 3.2.30
Choose a base ref
...
head repository: protobuf-net/protobuf-net
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 3.2.45
Choose a head ref
  • 15 commits
  • 95 files changed
  • 12 contributors

Commits on Sep 27, 2023

  1. release notes

    mgravell committed Sep 27, 2023
    Configuration menu
    Copy the full SHA
    01a4e6d View commit details
    Browse the repository at this point in the history

Commits on Sep 29, 2023

  1. investigate #1048 (#1086)

    mgravell authored Sep 29, 2023
    Configuration menu
    Copy the full SHA
    fba0624 View commit details
    Browse the repository at this point in the history

Commits on Oct 26, 2023

  1. Configuration menu
    Copy the full SHA
    f750d75 View commit details
    Browse the repository at this point in the history

Commits on Dec 4, 2023

  1. try net8 packaging (#1113)

    * try net8 packaging
    
    * explicit assembly binding redirect
    
    * attempt to fix file collision problems
    mgravell authored Dec 4, 2023
    Configuration menu
    Copy the full SHA
    5e8ae8f View commit details
    Browse the repository at this point in the history

Commits on Dec 12, 2023

  1. Configuration menu
    Copy the full SHA
    af0fcc6 View commit details
    Browse the repository at this point in the history

Commits on Jan 19, 2024

  1. Sort order of Serializer.GetProto<FooEnum>() as reported in #1102 (#1123

    )
    
    * very minor spelling update
    
    * Issue 1102 - added IComparable to EnumMember and a directive to Sort the array within GetEnumValues of MetaType.
    
    * Issue 1102 - added extra compare logic
    
    * Issue 1102 - Removing conditional compilation so that GetEnumValues returns an array sorted by enum value
    
    * Issue 1102 - adjusting sort logic to order from zero to int.MaxValue then from negative int.MaxValue to -1. EnumMembers that have a value outside of int min max ranges return zero. This change impacts sort order for proto2.
    
    * Issue 1102 - todo comment clean up
    
    * Issue 1102 - Added test case for an enum that has negatives and out of range values. Adjusted sort logic to give correct order. Note that out of range values are treated as equivalent no matter the value being compared to, this impacts the context only proto generation.
    
    For example, not positions of B and D
    
    public enum OutOfRangeEnum : long
    {
      A = 1,
      B = -4,
      C = int.MaxValue,
      D = ((long)int.MaxValue) + 1,
      E = -int.MaxValue,
      F = ((long)int.MinValue) - 1,
    }
    
    /* for context only
    enum OutOfRangeEnum {
       ZERO = 0; // proto3 requires a zero value as the first item (it can be named anything)
       A = 1;
       C = 2147483647;
       B = -4;
       // D = 2147483648; // note: enums should be valid 32-bit integers
       E = -2147483647;
       // F = -2147483649; // note: enums should be valid 32-bit integers
    }
    */
    
    * Issue 1102 - Correction to sort order so that negatives are from -int.MaxValue to -1.
    
    This changes where out of range values appear, for example, note positions of B, D and F in the context only output;
    
    public enum OutOfRangeEnum : long
    {
      A = 1,
      B = -4,
      C = int.MaxValue,
      D = ((long)int.MaxValue) + 1,
      E = -int.MaxValue,
      F = ((long)int.MinValue) - 1,
    }
    
    /* for context only
    enum OutOfRangeEnum {
       ZERO = 0; // proto3 requires a zero value as the first item (it can be named anything)
       A = 1;
       C = 2147483647;
       E = -2147483647;
       B = -4;
       // D = 2147483648; // note: enums should be valid 32-bit integers
       // F = -2147483649; // note: enums should be valid 32-bit integers
    }
    */
    jfbourke authored Jan 19, 2024
    Configuration menu
    Copy the full SHA
    a263ab6 View commit details
    Browse the repository at this point in the history
  2. Support serializing ISet and IReadOnlySet (this latter for .NET6 and …

    …above only) (#1118)
    
    Co-authored-by: ladeak <ladeak87@windowslive.com>
    ladeak and ladeak authored Jan 19, 2024
    Configuration menu
    Copy the full SHA
    da72635 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    f9a8abe View commit details
    Browse the repository at this point in the history
  4. don't emit CS8981 in down-level compilers (#1125)

    * dignostic CS8981 doesn't exist (as 8981 without prefix) in down-level compilers
    
    cross-ref #1107
    
    * reorder to maintain output
    mgravell authored Jan 19, 2024
    Configuration menu
    Copy the full SHA
    9cce21c View commit details
    Browse the repository at this point in the history

Commits on Feb 17, 2024

  1. noise reduction (#1129)

    mgravell authored Feb 17, 2024
    Configuration menu
    Copy the full SHA
    99eb2c3 View commit details
    Browse the repository at this point in the history

Commits on Feb 28, 2024

  1. Adds New SchemaGeneration Flag for Generating Prefixed Enum Members (#…

    …1133)
    
    * adds support for EnumNamePrefix
    
    * update tests
    
    * resolve comments
    
    ---------
    
    Co-authored-by: abuyusuf <abuyusuf@microsoft.com>
    ThaTechMaestro and abuyusuf authored Feb 28, 2024
    Configuration menu
    Copy the full SHA
    7c8c000 View commit details
    Browse the repository at this point in the history

Commits on Mar 3, 2024

  1. Configuration menu
    Copy the full SHA
    93b8be6 View commit details
    Browse the repository at this point in the history

Commits on Aug 30, 2024

  1. Add NestedTypes to DynamicallyAccessedMember (#817)

    This prevents nested types - e.g. child objects or arrays of child
    objects - from being removed by the linker when an application is
    trimmed.
    
    This only works at the moment in current unreleased versions of the
    .NET SDK (e.g. .NET 6 rc.1.21381.5). It does not work in any publicly
    released preview up to and including .NET 6 Preview 6.
    
    See dotnet/linker#2185 for more information.
    yaakov-h authored Aug 30, 2024
    Configuration menu
    Copy the full SHA
    ca2148a View commit details
    Browse the repository at this point in the history

Commits on Sep 8, 2024

  1. Fix the warning output for the CS0078 rule (#1171)

    * Before fix
    
    * Fix the warning output for the CS0078 rule
    rstm-sf authored Sep 8, 2024
    Configuration menu
    Copy the full SHA
    21d5c30 View commit details
    Browse the repository at this point in the history

Commits on Sep 10, 2024

  1. Configuration menu
    Copy the full SHA
    90014d5 View commit details
    Browse the repository at this point in the history
Loading