All Versions
10
Latest Version
Avg Release Cycle
157 days
Latest Release
877 days ago

Changelog History

  • v2.9.5

    October 09, 2018

    This includes:

    • ๐Ÿš€ Minor bug fixes from previous beta/alpha releases, which are now thoroughly battle tested
    • The Keys dictionary, for cases where you need more than just a message and a value.
    • Helpers for serialization.
    • โž• Additions to the API described in previous beta/alpha releases.

    These are all additions to the API and are not breaking changes.

    ๐Ÿšš Also, StatusCode is marked Obsolete now. In 3.0, StatusCode may be removed in favor of Keys, depending on community response. So please speak if you use StatusCode and need it to stay. It is simply a bit redundant now that we have the more flexible Keys. For now, I have re-worked StatusCode to use Keys as the backing store. StatusCode remains a property, so it should serialize exactly the same.

  • v2.9.4-beta

    March 01, 2018

    ๐Ÿ’ฅ Breaking change:

    String.Format() can have problems when JSON is in the mix, since JSON uses curly braces and String.Format uses those to denote formatting. Outcomes.WithMessage() relies on String.Format, so it was possible to get parameter not specified errors!

    โ™ป๏ธ Given the prevalence of JSON, the availability of string interpolation and so on, it was deemed worthwhile to refactor this even though it will break people. We now have .WithMessage() which just takes a string, and .WithMessageFormat("...") which uses String.Format behinds the scenes.

    ๐Ÿ— Also, fixed a problem where, under the .NET Standard 1.3 targeting, .FromOutcome was not copying the value. There was a test, but the test was broken. This is why we do alpha builds.

  • v2.9.2-alpha

    January 18, 2018

    ๐Ÿ‘ Thanks to @enriquein for adding deserialization support. Previously, this was not possible because we lacked a public constructor and had a few other internals that caused problems. A new class, DeserializableOutcome, was added as a deserialization target.

    โšก๏ธ Also updated xunit and other test-related packages.

    ๐Ÿš€ This should be a stable release as not a lot has changed. v3 should be coming soon.

  • v2.8.2-alpha

    March 28, 2017

    ๐Ÿš€ Pre-release version. For .Net 4 and .Net 4.5, added the [Serializable] attribute to help with WCF.

  • v2.4.0-alpha

    July 19, 2016

    โ†ช Continued work around the keys dictionary. Keys are turning out to be quite useful and will definitely stay in.

  • v2.3.0-alpha

    May 31, 2016

    ๐Ÿš€ Test release covering the new keys dictionary, which is very helpful in some cases. Be careful using this one, it will probably go live, but if there are serialization problems it will get rolled back.

  • v2.2.0

    November 25, 2015

    ๐Ÿš€ After months of battle testing, bumped v2.2.0-alpha to release.

    v2 of Outcomes focuses on pairing down aspects of the API that were confusing.

    โฌ†๏ธ As of v2, there were minor breaking changes for fringes of the API that were simplified. If you are using 1.2.0 or later, the tooling should have given you obsolete warnings. Upgrading should be smooth.

  • v2.1.0

    June 17, 2015

    ๐Ÿš€ Pre-release version. The main focus of v2 is pairing down parts of the API that were confusing.

  • v1.2.0

    February 11, 2015
    • โž• Added formatting to several methods as a convenience.
    • โž• Added more documentation to classes and methods.
    • โž• Added more tests and improved test naming.
  • v1.1.0

    November 26, 2014

    ๐Ÿš€ bumped to version 1.1.0, and deployed to nuget.