Skip to content
This repository has been archived by the owner on May 21, 2022. It is now read-only.

Commit

Permalink
Merge remote-tracking branch 'refs/remotes/origin/dev-pomma89'
Browse files Browse the repository at this point in the history
  • Loading branch information
pomma89 committed Aug 17, 2017
2 parents be4e9ed + de7d754 commit 6c972d0
Show file tree
Hide file tree
Showing 27 changed files with 264 additions and 287 deletions.
18 changes: 18 additions & 0 deletions .travis.yml
@@ -0,0 +1,18 @@
language: csharp
dist: trusty
sudo: required
dotnet: 2.0.0
install:
- export DOTNET_CLI_TELEMETRY_OUTPUT=1
before_script:
- chmod a+x ./build.sh
script:
- ./build.sh
addons:
apt:
sources:
- sourceline: 'deb [arch=amd64] https://packages.microsoft.com/repos/microsoft-ubuntu-trusty-prod trusty main'
key_url: 'https://packages.microsoft.com/keys/microsoft.asc'
packages:
- dotnet-hostfxr-1.0.1
- dotnet-sharedframework-microsoft.netcore.app-1.1.2
58 changes: 31 additions & 27 deletions CHANGELOG.md
@@ -1,57 +1,61 @@
# Changelog for PommaLabs.Thrower #

### v4.1.3 (2017-04-09) ###
### v4.2.0 (2017-08-16)

* Added support for .NET Standard 2.0.

### v4.1.3 (2017-04-09)

* Removed TaskExtensions class, added by mistake.

### v4.1.2 (2017-03-25) ###
### v4.1.2 (2017-03-25)

* Improved Cake build system.

### v4.1.0 (2017-03-19) ###
### v4.1.0 (2017-03-19)

* Updated project to VS2017.
* Removed Portable DLL, now we target .NET Standard.
* Added logging capabilities via LibLog.

### v4.0.15 (2017-03-04) ###
### v4.0.15 (2017-03-04)

* Improved FormattableObject formatting.
* Added ToEnum extension methods for strings.

### v4.0.13 (2017-02-25) ###
### v4.0.13 (2017-02-25)

* Added some useful classes.

### v4.0.11 (2017-02-12) ###
### v4.0.11 (2017-02-12)

* Added DLL for .NET Standard 1.0.
* Removed .NET 4.6 and .NET Standard 1.1/1.2 DLLs, since they were equivalent to .NET 4.5 and .NET Standard 1.0.

### v4.0.10 (2017-02-12) ###
### v4.0.10 (2017-02-12)

* The project has been fully converted to .NET Core.
* Added GetTypeAssembly to PortableTypeInfo.

### v4.0.7 (2017-01-22) ###
### v4.0.7 (2017-01-22)

* NuGet package references NETStandard.Library instead of many packages.
* FastMember: static members are now correctly ignored.

### v4.0.6 (2017-01-08) ###
### v4.0.6 (2017-01-08)

* SerializableAttribute is no more defined as a polyfill for .NET Standard 1.3; instead, it is taken from System.Runtime.Serialization.Formatters package.
* Added new DLL for .NET Standard 1.2.
* Fixed a security setting on .NET Standard 1.3 which prevented FastMember to work properly.

### v4.0.5 (2016-12-25) ###
### v4.0.5 (2016-12-25)

* EnumerationAttribute doc comments contained a few mistakes.
* EmailAddressAttribute and PhoneNumberAttribute now validate successfully null values.
* Fixed and enriched unit tests for object validation.
* Validation attributes are now available for portable DLL thanks to Portable.DataAnnotations.

### v4.0.4 (2016-12-17) ###
### v4.0.4 (2016-12-17)

* All code marked as Obsolete in v3 has now been completely removed.
* Added a new exception handler for InvalidCastException.
Expand All @@ -60,19 +64,19 @@
* Added a new method to validate enumerations - it also works with flags.
* Added new validation attributes for email, phone number and enumerations.

### v3.0.4 (2016-09-04) ###
### v3.0.4 (2016-09-04)

* DLL for .NET Standard 1.3 was not properly generated. Now it is.
* Fixed some build issues for .NET Standard 1.1 and 1.3.

### v3.0.3 (2016-09-03) ###
### v3.0.3 (2016-09-03)

* All Raise[...]Exception classes have been marked as obsolete and should produce a compilation error when used. Please use new Raise.* handlers.
* Added IfIsEqualTo and IfIsNotEqualTo to ArgumentExceptionHandler.
* Added IfIsNaN, IfIsPositiveInfinity, IfIsNegativeInfinity to ArgumentOutOfRangeExceptionHandler.
* Added a new method to Raise<TExt> which handles unknown constructors.

### v3.0.2 (2016-08-28) ###
### v3.0.2 (2016-08-28)

* Added an exception handler for System.IO.DirectoryNotFoundException.
* Added an exception handler for System.IO.FileNotFoundException.
Expand All @@ -83,70 +87,70 @@
* Benchmarks are now executed against all JITs.
* New benchmarks for Raise.FileNotFoundException.

### v3.0.1 (2016-08-06) ###
### v3.0.1 (2016-08-06)

* Completed the implementation of a more fluent validation.
* Added a build script based on FAKE.
* Updated examples and doc comments.
* HttpException properly serializes custom data.
* Library for .NET Standard 1.1.

### v2.2.4 (2016-06-12) ###
### v2.2.4 (2016-06-12)

* Updated internal EmailValidator, now validation has a flag to enable top level domains.
All validation calls now allow the specification of that flag.
* Started new implementation for more fluent validation.

### v2.2.3 (2016-04-02) ###
### v2.2.3 (2016-04-02)

* Fixed issue #1 - IfIsNull does not handle Nullable<T> type.
* Extended RaiseArgumentException with IfIsNullOrEmpty for ICollection<T>.
* The CHANGELOG file has been moved to the root of the project.

### v2.2.2 (2016-03-05) ###
### v2.2.2 (2016-03-05)

* Imported a fix for the IPv6 email address validation logic.

### v2.2.1 (2016-02-27) ###
### v2.2.1 (2016-02-27)

* Fixed AssemblyVersion, now it will not change anymore between minor releases.

### v2.1.4 (2016-01-10) ###
### v2.1.4 (2016-01-10)

* Added new methods to PortableTypeInfo.

### v2.1.3 (2016-01-09) ###
### v2.1.3 (2016-01-09)

* Added methods for phone validation to RaiseArgumentException.

### v2.1.2 (2016-01-09) ###
### v2.1.2 (2016-01-09)

* Added methods for email validation to RaiseArgumentException.
* RaiseArgumentException.IfIsNotValid also applies standard System.ComponentModel.DataAnnotations validation.

### v2.1.1 (2015-12-27) ###
### v2.1.1 (2015-12-27)

* RaiseArgumentException now requires the argument name in the same way of other Raise* classes.

### v2.1.0 (2015-12-26) ###
### v2.1.0 (2015-12-26)

* Calls to all Raise* methods cannot be deleted any more by not defining the USETHROWER compilation symbol.
The definition of that symbol was the cause of common errors and was not helpful on the performance side.
* Added RaiseObjectDisposedException.
* Added methods for string validation to RaiseArgumentException.
* Initial support for DNX.

### v2.0.3 (2015-10-31) ###
### v2.0.3 (2015-10-31)

* FastMember.ObjectAccessor now implements IDictionary<string, object>.
* Added HttpException for Web API projects.

### v2.0.2 (2015-10-24) ###
### v2.0.2 (2015-10-24)

* Embedded FastMember.
* Added a simple reflection-based object validator.

### v2.0.1 (2015-10-10) ###
### v2.0.1 (2015-10-10)

* All assemblies are now signed.
* Added RaiseNotSupportedException and RaiseIndexOutOfRangeException.
4 changes: 2 additions & 2 deletions README.md
Expand Up @@ -5,8 +5,8 @@

## Summary ##

* Latest release version: `v4.1.3`
* Build status on [AppVeyor](https://ci.appveyor.com): [![Build status](https://ci.appveyor.com/api/projects/status/xjkp8gn0cf4s7qbg?svg=true)](https://ci.appveyor.com/project/pomma89/thrower)
* Latest release version: `v4.2.0`
* Build status on [Travis CI](https://travis-ci.org): [![Build Status](https://travis-ci.org/pomma89/Thrower.svg?branch=master)](https://travis-ci.org/pomma89/Thrower)
* [Doxygen](http://www.stack.nl/~dimitri/doxygen/index.html) documentation:
+ [HTML](http://pomma89.altervista.org/thrower/doc/html/index.html)
+ [CHM](http://pomma89.altervista.org/thrower/doc/refman.chm)
Expand Down
7 changes: 5 additions & 2 deletions Thrower.sln
@@ -1,13 +1,13 @@

Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio 15
VisualStudioVersion = 15.0.26403.0
VisualStudioVersion = 15.0.26730.3
MinimumVisualStudioVersion = 10.0.40219.1
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "root", "root", "{40BFDC8F-025F-4E62-A6A2-EFA3FEB24059}"
ProjectSection(SolutionItems) = preProject
.gitattributes = .gitattributes
.gitignore = .gitignore
appveyor.yml = appveyor.yml
.travis.yml = .travis.yml
build.cake = build.cake
CHANGELOG.md = CHANGELOG.md
LICENSE.md = LICENSE.md
Expand Down Expand Up @@ -76,4 +76,7 @@ Global
{E67A4C51-3C6B-4D85-9D0B-7E91434C5D93} = {CAFA8672-FBD1-4D46-AB48-CF4EB2F2AC02}
{99B9948A-E0E2-464C-AF42-982004AAFE4D} = {40BFDC8F-025F-4E62-A6A2-EFA3FEB24059}
EndGlobalSection
GlobalSection(ExtensibilityGlobals) = postSolution
SolutionGuid = {F79CE40E-E25C-4217-BC41-6D6EECDB2A92}
EndGlobalSection
EndGlobal
52 changes: 0 additions & 52 deletions appveyor.yml

This file was deleted.

0 comments on commit 6c972d0

Please sign in to comment.