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.

Related Articles:

Post Footer automatically generated by Add Post Footer Plugin for wordpress.

About Jimmy Bogard

I'm a technical architect with Headspring in Austin, TX. I focus on DDD, distributed systems, and any other acronym-centric design/architecture/methodology. I created AutoMapper and am a co-author of the ASP.NET MVC in Action books.
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….