AutoMapper 0.2 released

With quite a few community patches submitted, I dropped AutoMapper version 0.2 today.  Here’s the release notes:

Added:

  • Better mapping exceptions that capture current mapping context
  • Custom instantiation expressions for value formatters
  • Custom instantiation expressions for value resolvers
  • Support for nullable types
  • Support for better subclass resolution
  • Custom member resolution can be any lambda expression
  • Mapping enumerations by name/value
  • Support for nullable enumerations
  • Support for filling an existing object, instead of AutoMapper creating the destination object itself
  • Support for enumerable target types, including:
    • IEnumerable
    • IEnumerable<T>
    • ICollection
    • ICollection<T>
    • IList
    • IList<T>
    • List<T>

Fixed:

  • Destination properties with no setters are now ignored
  • Assembly is now strong-named

Naturally there is no documentation for any of this yet, but you can find full examples of all of these features in the source code’s unit tests.  You can find the release over at the CodePlex site.

About Jimmy Bogard

I'm a principal consultant with Headspring Systems in Austin, TX. My focus is using .NET technologies together with Agile methodologies. Back in 2005, I drank the Agile punch and haven't looked at a waterfall the same since.
This entry was posted in AutoMapper. Bookmark the permalink. Follow any comments here with the RSS feed for this post.
  • http://jonkruger.com/blog Jon Kruger

    Keep it up. AutoMapper is working great in our project so far, it’s making things a lot less painless.

  • http://www.davetheninja.net Dave the Ninja

    Yep top work jimmy!

    I have been working with AM for a few days now (from trunk) and so far its worked a charm where needed!

    Ninja

  • http://randompunter.com Damian Hickey

    Good stuff.

    May I suggest either sticking with either google code OR codeplex. Soure & discussions are on one, releases on the other and some discussions there….