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

133 Коммитов

Автор SHA1 Сообщение Дата
Gregorius Soedharmo 97baf14cc8
Fix array of user defined structs serialization failure (#235) 2021-07-08 10:01:51 -05:00
Gregorius Soedharmo 26f84af34a
Add exception handling for exception logging (#229)
* Add exception handling for exception logging

* Add System.Runtime.Serialization.Primitives package
2021-06-30 09:22:17 -05:00
dependabot[bot] b351032596
Bump FSharp.Core from 5.0.1 to 5.0.2 (#228)
Bumps [FSharp.Core](https://github.com/dotnet/fsharp) from 5.0.1 to 5.0.2.
- [Release notes](https://github.com/dotnet/fsharp/releases)
- [Changelog](https://github.com/dotnet/fsharp/blob/main/release-notes.md)
- [Commits](https://github.com/dotnet/fsharp/commits)

---
updated-dependencies:
- dependency-name: FSharp.Core
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-06-30 12:03:04 +00:00
dependabot[bot] 8dce55add8
Bump ApprovalTests from 5.4.7 to 5.5.0 (#223)
Bumps [ApprovalTests](https://github.com/approvals/ApprovalTests.Net) from 5.4.7 to 5.5.0.
- [Release notes](https://github.com/approvals/ApprovalTests.Net/releases)
- [Commits](https://github.com/approvals/ApprovalTests.Net/compare/5.4.7...5.5.0)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Aaron Stannard <aaron@petabridge.com>
2021-06-30 11:57:27 +00:00
dependabot[bot] e430328012
Bump AkkaVersion from 1.4.20 to 1.4.21 (#227)
Bumps `AkkaVersion` from 1.4.20 to 1.4.21.

Updates `Akka` from 1.4.20 to 1.4.21
- [Release notes](https://github.com/akkadotnet/akka.net/releases)
- [Changelog](https://github.com/akkadotnet/akka.net/blob/dev/RELEASE_NOTES.md)
- [Commits](https://github.com/akkadotnet/akka.net/compare/1.4.20...1.4.21)

Updates `Akka.Serialization.Hyperion` from 1.4.20 to 1.4.21
- [Release notes](https://github.com/akkadotnet/akka.net/releases)
- [Changelog](https://github.com/akkadotnet/akka.net/blob/dev/RELEASE_NOTES.md)
- [Commits](https://github.com/akkadotnet/akka.net/compare/1.4.20...1.4.21)

Updates `Akka.TestKit.Xunit2` from 1.4.20 to 1.4.21
- [Release notes](https://github.com/akkadotnet/akka.net/releases)
- [Changelog](https://github.com/akkadotnet/akka.net/blob/dev/RELEASE_NOTES.md)
- [Commits](https://github.com/akkadotnet/akka.net/compare/1.4.20...1.4.21)

---
updated-dependencies:
- dependency-name: Akka
  dependency-type: direct:production
  update-type: version-update:semver-patch
- dependency-name: Akka.Serialization.Hyperion
  dependency-type: direct:production
  update-type: version-update:semver-patch
- dependency-name: Akka.TestKit.Xunit2
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-06-30 06:52:25 -05:00
dependabot[bot] ef331c717f
Bump Microsoft.NET.Test.Sdk from 16.9.4 to 16.10.0 (#222)
Bumps [Microsoft.NET.Test.Sdk](https://github.com/microsoft/vstest) from 16.9.4 to 16.10.0.
- [Release notes](https://github.com/microsoft/vstest/releases)
- [Commits](https://github.com/microsoft/vstest/compare/v16.9.4...v16.10.0)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-06-07 09:55:44 -05:00
dependabot[bot] d6e20971e7
Bump BenchmarkDotNet from 0.12.1 to 0.13.0 (#221) 2021-05-20 16:48:31 +00:00
dependabot[bot] fa82ee596a
Bump AkkaVersion from 1.4.19 to 1.4.20
Bumps `AkkaVersion` from 1.4.19 to 1.4.20.

Updates `Akka` from 1.4.19 to 1.4.20
- [Release notes](https://github.com/akkadotnet/akka.net/releases)
- [Changelog](https://github.com/akkadotnet/akka.net/blob/dev/RELEASE_NOTES.md)
- [Commits](https://github.com/akkadotnet/akka.net/compare/1.4.19...1.4.20)

Updates `Akka.Serialization.Hyperion` from 1.4.19 to 1.4.20
- [Release notes](https://github.com/akkadotnet/akka.net/releases)
- [Changelog](https://github.com/akkadotnet/akka.net/blob/dev/RELEASE_NOTES.md)
- [Commits](https://github.com/akkadotnet/akka.net/compare/1.4.19...1.4.20)

Updates `Akka.TestKit.Xunit2` from 1.4.19 to 1.4.20
- [Release notes](https://github.com/akkadotnet/akka.net/releases)
- [Changelog](https://github.com/akkadotnet/akka.net/blob/dev/RELEASE_NOTES.md)
- [Commits](https://github.com/akkadotnet/akka.net/compare/1.4.19...1.4.20)

Signed-off-by: dependabot[bot] <support@github.com>
2021-05-13 07:04:12 +00:00
dependabot-preview[bot] 26758380c7
Bump AkkaVersion from 1.4.18 to 1.4.19
Bumps `AkkaVersion` from 1.4.18 to 1.4.19.

Updates `Akka` from 1.4.18 to 1.4.19
- [Release notes](https://github.com/akkadotnet/akka.net/releases)
- [Changelog](https://github.com/akkadotnet/akka.net/blob/dev/RELEASE_NOTES.md)
- [Commits](https://github.com/akkadotnet/akka.net/compare/1.4.18...1.4.19)

Updates `Akka.Serialization.Hyperion` from 1.4.18 to 1.4.19
- [Release notes](https://github.com/akkadotnet/akka.net/releases)
- [Changelog](https://github.com/akkadotnet/akka.net/blob/dev/RELEASE_NOTES.md)
- [Commits](https://github.com/akkadotnet/akka.net/compare/1.4.18...1.4.19)

Updates `Akka.TestKit.Xunit2` from 1.4.18 to 1.4.19
- [Release notes](https://github.com/akkadotnet/akka.net/releases)
- [Changelog](https://github.com/akkadotnet/akka.net/blob/dev/RELEASE_NOTES.md)
- [Commits](https://github.com/akkadotnet/akka.net/compare/1.4.18...1.4.19)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-04-29 05:39:19 +00:00
dependabot-preview[bot] bad2cc2b69
Bump coverlet.collector from 1.3.0 to 3.0.3 (#217) 2021-04-23 15:25:23 +00:00
Gregorius Soedharmo 8d6bffd810
Fix settings constructor backward compatibility issue (#214)
* Fix .ctor backward compatibility issue

* Add Akka integration spec

* Use common.props for nuget package versions

* Add API Approver spec
2021-04-19 14:34:21 -05:00
dependabot-preview[bot] 37209fe61b
Bump Microsoft.NET.Test.Sdk from 16.9.1 to 16.9.4 (#209) 2021-04-13 15:41:39 +00:00
Gregorius Soedharmo 477b5f3156
Fix cross framework incompatibility for System.Drawing.Color (#208)
* Fix cross framework problem with System.Drawing

* Merge PR #206 test case

* Generalize type package name transformation for cross framework compatibility

* Define compiler directives that are missing in CI/CD

* Change class based configuration to lambda function
2021-04-13 10:35:15 -05:00
Gregorius Soedharmo 6b9543d79c Add FriendType comparison in Equal() 2021-03-25 01:48:57 +07:00
Gregorius Soedharmo 4605dd3388 Update the cross framework spec to include complex POCO object, Type serialization, and support for netcoreapp3.1 and net5.0 2021-03-25 01:22:07 +07:00
dependabot-preview[bot] ada41986ea
Bump Microsoft.NET.Test.Sdk from 16.8.3 to 16.9.1 (#203) 2021-03-17 19:59:37 +00:00
dependabot-preview[bot] 03872471d0
Bump FSharp.Core from 5.0.0 to 5.0.1 (#202) 2021-03-17 19:54:42 +00:00
dependabot-preview[bot] 3d9e766132
Bump System.Collections.Immutable from 1.7.1 to 5.0.0 (#195) 2021-01-06 16:32:10 +00:00
dependabot-preview[bot] 6127ffad83
Bump Microsoft.NET.Test.Sdk from 16.7.1 to 16.8.3 (#196) 2021-01-04 21:51:40 +00:00
Gregorius Soedharmo 5c0dc6fd92
Merge branch 'dev' into dev 2020-10-30 04:53:48 +07:00
Ralf e31c339208 throw EndOfStreamException if stream doesn't return enough bytes 2020-10-29 15:51:00 +01:00
Gregorius Soedharmo 110f91ffe9 Remove modifications that could not be reached/touched by the unit test 2020-10-29 13:44:39 +07:00
Gregorius Soedharmo d13f8dd5bb Add a more aggresive unit test 2020-10-29 13:39:40 +07:00
jkuehner 9c725c03af Create Test for Issue #183 2020-10-28 22:24:52 +01:00
Gregorius Soedharmo 228f1f1c91
Merge branch 'dev' into dev 2020-10-27 04:10:38 +07:00
Gregorius Soedharmo a28fbde260
Merge branch 'dev' into dev 2020-10-27 04:09:44 +07:00
dependabot-preview[bot] 4f16c3e101
Bump FSharp.Core from 4.7.2 to 5.0.0 (#189) 2020-10-26 20:24:22 +00:00
Gregorius Soedharmo 360b0513ee
Merge branch 'dev' into dev 2020-10-27 00:11:12 +07:00
Gregorius Soedharmo 82d58d14df
Merge branch 'dev' into dev 2020-10-27 00:11:08 +07:00
Gregorius Soedharmo 82eb0f37e0
Fix unit test problem (#191)
* Remove netcoreapp2.1 from unit test targt framework

* Bump xunit.runner.visualstudio to 2.4.3
2020-10-26 12:08:06 -05:00
Ralf dcc036f8ee fixed issue #40 regarding partial streams 2020-10-07 10:10:04 +02:00
Jochen Kühner f25ef13965
Merge branch 'dev' into dev 2020-10-01 23:36:33 +02:00
dependabot-preview[bot] e214023eb0
Bump Microsoft.NET.Test.Sdk from 16.6.1 to 16.7.1 (#182) 2020-09-24 23:29:52 +00:00
jkuehner 6bafc4c747 bugfix not using know serializers when defined 2020-09-23 18:05:07 +02:00
Gregorius Soedharmo e5d4900a0e
Update release notes for 0.9.16 (#178)
* Update RELEASE_NOTES.md

* Update RELEASE_NOTES.md

* Update RELEASE_NOTES.md

* Update RELEASE_NOTES.md

Co-authored-by: Aaron Stannard <aaron@petabridge.com>
2020-06-17 13:54:00 -05:00
dependabot-preview[bot] 4e4f742d6b
Bump BenchmarkDotNet from 0.12.0 to 0.12.1 (#172) 2020-06-17 18:45:05 +00:00
dependabot-preview[bot] 672899f73d
Bump System.Collections.Immutable from 1.7.0 to 1.7.1 (#175) 2020-06-17 17:58:21 +00:00
dependabot-preview[bot] e4c7cb1f7a
Bump FluentAssertions from 5.10.2 to 5.10.3 (#171) 2020-06-17 17:51:06 +00:00
Gregorius Soedharmo 22343b7ae2
Add deserialization support for ReadOnlyDictionary (#177)
* Create spec for ReadOnlyDictionary deserializer

* Add support for ReadOnlyDictionary serializer
2020-06-17 12:45:17 -05:00
dependabot-preview[bot] 7afb21e7c5
Bump Microsoft.NET.Test.Sdk from 16.5.0 to 16.6.1 (#174) 2020-05-26 17:13:38 +00:00
dependabot-preview[bot] 631c338969
Bump FSharp.Core from 4.7.0 to 4.7.2 (#176) 2020-05-26 17:08:19 +00:00
Aaron Stannard cb48350218
added v0.9.15 release notes (#167) 2020-02-27 10:07:02 -06:00
Gregorius Soedharmo 3a08ddee7f
Fix Type.GetGenericTypeDefinition() interface error (#166) 2020-02-26 16:46:24 -06:00
dependabot-preview[bot] 52e993ab54
Bump FluentAssertions from 5.10.0 to 5.10.2 (#161) 2020-02-13 01:12:05 +00:00
Gregorius Soedharmo 61e1469622
Fix DictionarySerializerFactory to work with private or protected default constructor (#162)
* Fix DictionarySerializerFactory to work with private or protected default constructor

* Add test cases for generic dictionary implementation with private and protected constructor
2020-02-12 18:00:48 -06:00
Aaron Stannard f24687b5fe
added v0.9.13 release notes (#159) 2020-02-09 18:00:01 -06:00
Igor Fedchenko 01ed0c81d3
Update IDictionary<T, V> serializer to not use IDictionary assumption (#158)
* Updated spec to serialize object without IDictionary

* Updated implementation to not use IDictionary assumption
2020-02-07 12:39:52 -06:00
Igor Fedchenko a66b88e25c
IDictionary<TKey, TValue> support (#156)
* Added failing spec

* Added IDictionary<,> serialization support
2020-02-06 09:18:29 -06:00
dependabot-preview[bot] f341ce1345
Bump Microsoft.NET.Test.Sdk from 16.4.0 to 16.5.0 (#155) 2020-02-06 15:17:27 +00:00
Aaron Stannard 149fe9fd25
added v0.9.2 release notes (#153) 2020-01-20 14:15:05 -06:00
Aaron Stannard a13c315c83
rewrote CrossFrameworkSerializationTests as xUnit theory (#152) 2020-01-20 13:23:58 -06:00
Aaron Stannard d0a22fc138
Merge branch 'dev' into dynamic 2020-01-20 12:46:45 -06:00
Aaron Stannard 7f36823f43
Adjust ArrayList support (#150)
* Support ArrayList

* Remove wrong copyright

*  Communicate between mscorlib and System.Private.CoreLib

* Strict string match

* Add a binary file generator for all .NET frameworks

* Add generated serialized files to project as suggestted in https://github.com/akkadotnet/Hyperion/pull/112#issuecomment-486078678_

* Add unit tests to test cross framework serialization and deserialization

* Readd new line

* added comment to explain null-coalescing operation

Co-authored-by: alexvaut <alex@vautier.biz>
Co-authored-by: humhei <humhei@outlook.com>
Co-authored-by: Deniz İrgin <denizirgin@gmail.com>
2020-01-20 12:45:40 -06:00
Igor Fedchenko 3d65b93b8d Fix version tolerance when bad assembly version specified in type manifest (#149)
* Added red test

* Ignore assembly version, if specified

* Handling assembly loading failure

* Fix mscorelib substitution case

* Fixed ToQualifiedAssemblyName test

* Strip assembly version with regex

* Reuse existing assembly version strip regex
2020-01-16 17:47:16 -06:00
dependabot-preview[bot] 54e13f0649
Bump Microsoft.CSharp from 4.6.0 to 4.7.0 (#146) 2020-01-13 21:14:36 +00:00
dependabot-preview[bot] d0f963a111
Bump System.Reflection.TypeExtensions from 4.6.0 to 4.7.0 (#147) 2019-12-27 17:52:32 +00:00
dependabot-preview[bot] a06a764f74
Bump System.Collections.Immutable from 1.6.0 to 1.7.0 (#148) 2019-12-27 16:57:36 +00:00
Aaron Stannard cb7c6d0cc4
added v0.9.11 release notes (#142) 2019-11-13 16:06:36 -06:00
Aaron Stannard 4d7356fd10
moved Hyperion back to .NET 4.5 (#141)
need to do this in order to release a patch that will allow us to run Hyperion in .NET Core 3.0 on Akka.NET v1.3.*
2019-11-13 14:55:05 -06:00
dependabot-preview[bot] 7540c03241 Bump Microsoft.NET.Test.Sdk from 16.3.0 to 16.4.0 (#140)
Bumps [Microsoft.NET.Test.Sdk](https://github.com/microsoft/vstest) from 16.3.0 to 16.4.0.
- [Release notes](https://github.com/microsoft/vstest/releases)
- [Commits](https://github.com/microsoft/vstest/compare/v16.3...v16.4.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-11-13 14:36:42 -06:00
humhei 7f3f2fb46f Remove dynamic keyword 2019-11-06 18:50:41 +08:00
dependabot-preview[bot] 0d0ec2890c Bump BenchmarkDotNet from 0.11.5 to 0.12.0 (#137)
Bumps [BenchmarkDotNet](https://github.com/dotnet/BenchmarkDotNet) from 0.11.5 to 0.12.0.
- [Release notes](https://github.com/dotnet/BenchmarkDotNet/releases)
- [Commits](https://github.com/dotnet/BenchmarkDotNet/compare/v0.11.5...v0.12.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-10-30 14:09:11 -05:00
Aaron Stannard cbcbfdfa06
added v0.9.10 Release Notes (#134) 2019-10-16 13:15:13 -05:00
dependabot-preview[bot] 105dffce8f Bump FSharp.Core from 4.6.2 to 4.7.0 (#135)
Bumps [FSharp.Core](https://github.com/dotnet/fsharp) from 4.6.2 to 4.7.0.
- [Release notes](https://github.com/dotnet/fsharp/releases)
- [Changelog](https://github.com/dotnet/fsharp/blob/master/release-notes.md)
- [Commits](https://github.com/dotnet/fsharp/commits)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-10-16 13:14:35 -05:00
dependabot-preview[bot] 7ec4bd7710
Bump Microsoft.CSharp from 4.3.0 to 4.6.0 (#132) 2019-10-15 17:46:02 +00:00
Deniz İrgin 034ba5c243 WIP Communicate between framework mscorlib and core framework with Unit Tests (#116)
*  Communicate between mscorlib and System.Private.CoreLib

* Strict string match

* Add a binary file generator for all .NET frameworks

* Add generated serialized files to project as suggestted in https://github.com/akkadotnet/Hyperion/pull/112#issuecomment-486078678_

* Add unit tests to test cross framework serialization and deserialization

* FullFramework or CoreNetFramework runtime check

* Using Constants instead

* Downgrade FSharp.Core 4.7.0 to 4.6.2 because 4.7.0 is not compatible with netstandard1.6

* Add generated serialized file for .NET Core 3.0  to project

* Add netcoreapp2.2 support to Hyperion.Tests
Update Windows vm image to windows-2019

* Remove netcoreapp2.2 from Hyperion.Tests
2019-10-15 12:38:23 -05:00
Aaron Stannard 75c05f6c94
added v0.9.9 release notes (#130) 2019-10-04 17:17:26 -05:00
dependabot-preview[bot] d87f8a2a58
Bump Microsoft.NET.Test.Sdk from 15.3.0 to 16.3.0 (#122) 2019-10-04 22:03:09 +00:00
dependabot-preview[bot] 612df3d370
Bump BenchmarkDotNet from 0.10.10 to 0.11.5 (#123) 2019-10-04 21:57:23 +00:00
dependabot-preview[bot] 43806eea35
Bump System.Collections.Immutable from 1.4.0 to 1.6.0 (#124) 2019-10-04 21:52:10 +00:00
dependabot-preview[bot] 955bb469e4
Bump XunitVersion from 2.3.0 to 2.4.1 (#125) 2019-10-04 21:26:50 +00:00
dependabot-preview[bot] 2a614a40bc
Bump System.Reflection.TypeExtensions from 4.3.0 to 4.6.0 (#126) 2019-10-04 21:21:42 +00:00
Aaron Stannard 14a24328f9
removed dotnet-xunit (#127) 2019-10-04 16:17:10 -05:00
Aksel Arzuman 2750c72d59 NetStandard2.0 and NetCoreApp3.0 supports added (#119)
* * Hyperion FSharp test project converted to netstandard2.0

* * The System.TypeInitializationException bug fixed for netcore3.0 projects by removing static keyword from ExceptionTypeInfo and setting it in the constructor

* * netstandard2.0 support added
* netcore3.0 support added

* * test project updated to run netcoreapp3.0 tests as well

* * tests refactored

* * FormatterServices.GetUninitializedObject reverted back to Func in order to prevent runtime exceptions

* Update .gitignore

* * refactoring

* dotnet sdk install url changed in ps and sh scripts
2019-10-04 18:17:03 +02:00
Arjen Smits f0bd03146d Build system update (#120)
- Bumped hyperion core to net452
- Updated build scripts to latest version. This included nbench targets although its not used in the solution. Did this so we end up with the same scripts all around. Makes it easier to maintain since there is no need for different build descriptions for each repo.
- Note that signing targets are also in there, but they are disabled in the target itself
2019-10-03 15:22:28 +01:00
humhei 9b4ed1a300 Array2D && Array3D support (#109) 2019-04-12 09:08:13 +02:00
Mikhail Kantarovskiy 735c49e6a8 Introduced regex for TypeEx.GetShortAssemblyQualifiedName (#61)
* Introduced regex for TypeEx.GetShortAssemblyQualifiedName
2018-11-30 17:01:40 -08:00
Aaron Stannard f5e5331764
added v0.9.9 placeholder for nightlies (#104) 2018-11-01 17:53:09 -05:00
zbynek001 0b3ed5a5de preserve reference is checking type to prevent InvalidCastException (#97) 2018-10-25 16:30:15 -05:00
Aaron Stannard b596a93f02
V0.9.8 release notes (#93)
* added release notes for Hyperion v0.9.8

* fixed markdown syntax
2018-01-31 13:59:37 -08:00
joey-becker f587c9e8fb Support for FSharpSet<T> (#92)
* EnumerableSerializeFactory fixes

* Update EnumerableSerializerFactory. Move null checks outside ObjectReader, allow private constructors.

* Update EnumerableSerializerFactor to use Add method if exists, then IEnumerable<T> ctor.

* Check for parameterless constructor before calling Activator.CreateInstance in EnumerableSerializerFactor

* Test serialization of FSharpList<T>

* Fix merge issues

* Fix merge issues

* Fix type in FSharpTests.cs
2018-01-31 21:50:39 +01:00
Aaron Stannard a2ddef9d65
Hyperion v0.9.7 release notes [dev] (#87)
* Hyperion v0.9.7 release notes

* updated README
2018-01-18 08:55:55 -08:00
Aaron Stannard 4d2d2a1ad5 Project restructure + BenchmarkDotNet migration (#86)
* moved to BenchmarkDotNet

* restructured project to use pb-lib format
2018-01-18 07:58:03 +01:00