Castle Windsor (incl. Core with DynamicProxy and Dictionary Adapter) v2.5 final is out

Exactly one month after beta 2, I’m happy to announce that Wind­sor, as well as Cas­tle Core (which now includes Dynam­icProxy and Dic­tio­nary Adapter) 2.5 are offi­cially released.

Sin­gle .zip con­tains the fol­low­ing versions:

  • .NET 3.5 (sp1)
  • .NET 4.0
  • .NET 4.0 Client Profile
  • Sil­verlight 3
  • Sil­verlight 4

Changes, changes, changes

For the list of changes see announce­ment for beta 1, and beta 2 or changes.txt file in the pack­age. Since beta 2 the fol­low­ing changes were made:

  • debug­ger view sup­port has been extracted to a sep­a­rate sub­sys­tem (ICon­tain­erDe­bug­gerEx­ten­sion­Host) and can be extended by users code via ICon­tain­erDe­bug­gerEx­ten­sion and IComponentDebuggerExtension
  • call­ing IHandler.TryStart will no longer silently ignore all the exceptions.
  • added Col­lec­tion­Re­solver which is a more gen­eral ver­sion of ArrayRe­solver and ListRe­solver and sup­ports in addi­tion ICollection<Foo> and IEnumerable<Foo>
  • fixed issue where depen­den­cies would not be cleaned up when com­po­nent cre­ation failed
  • fixed issue where startable com­po­nent would be cre­ated twice when prop­erty depen­dency could not be resolved
  • pass­ing argu­ments to ILazy­Compo­nent­Loader (see breakingchanges.txt)
  • fixed bug that caused excep­tion when prox­ied com­po­nent and it's prox­ied prop­erty depen­dency shared interceptor

Sam­ples

For now we have a sin­gle sam­ple appli­ca­tion (Sil­verlight 4 app), cre­ated by Hadi Eskan­dari. You’re still wel­come to con­tribute more apps, and hope­fully soon we’ll have more of them.

New issue tracker

While not strictly related to the release, we also deployed a new issue tracker, which should be much eas­ier to use.

Down­loads

The pack­age is here (Core with Dynam­icProxy and Dic­tio­nary Adapter) and here (Wind­sor with Log­ging Facil­ity and Syn­chro­nize Facil­ity). Enjoy.

  • Tomasz Pluskiewicz

    It's nice that Wind­sor 2.5 has been released but now it's inte­gra­tion with Mono­Rail is bro­ken. Do you know when one can expect an updated Mono­rail release?

    Alter­na­tively is there a place to down­load old Nhiber­nate Inte­gra­tion bina­ries (from before Wind­sor 2.5)

  • http://kozmic.pl/Default.aspx Krzysztof Koźmic

    @Tomasz

    we accept patches.

    You can ask Chris Canal, who is the lead of NHiber­nate Facil­ity, but from what I know he's going to release the facil­ity for Wind­sor 2.5 only.

    Mono­rail will be updated some­time soon. You can con­tribute to this effort to make it sooner.

    cheers

  • Mauri­cio Scheffer

    Awe­some work mate! Thanks!

  • http://nblumhardt.com/ Nicholas Blumhardt

    Con­grat­u­la­tions Krzysztof & the Cas­tle team! It sounds like a lot of work has gone in and 2.5 will be a very solid release.

  • mms

    After some test­ing with the sam­ple above it seems Dynam­icProxy still dosn't really sup­port cus­tom prop­erty attrib­utes. I say 'really' because one attribute below does show up, but only with the Data­Grid con­trol not forex­am­ple a DataForm.

    Add some DataAn­no­ta­tions attrib­utes for WPF/Silverlight databinding:

    [Display(Name="First Name")]
    [Required(AllowEmptyStrings=false)]
    pub­lic vir­tual string First­name { get; set; }

    Yet val­i­da­tion does not occur, remove the proxy and work with the tar­get object directly and every­thing works fine. This is really a deal breaker as far as Dynam­icProxy and data­bind­ing of lets say DTOs.

  • http://kozmic.pl/Default.aspx Krzysztof Koźmic

    @mms

    What you mean still? Did you report it before? I can't find the issue in the issue tracker.

    If you believe this is a bug sub­mit a issue with repro­duc­tion to the issue tracker.