NHibernate 4.0.0.GA released

414 views
Skip to first unread message

Oskar Berggren

unread,
Aug 17, 2014, 2:00:22 PM8/17/14
to nhu...@googlegroups.com, nhibernate-...@googlegroups.com
NHibernate 4.0.0 General Availability is now available for download from Sourceforge and Nuget.

http://sourceforge.net/projects/nhibernate/?source=directory

NHibernate 4.0 requires .Net 4.0 or later. The main focus of the release is updating for .Net 4.0 features, such as the ISet<T>. Many deprecated features have been removed. There is also more than a hundred other fixes and improvements compared to 3.3, by about 60 different contributors. All changes up to 3.4.0.GA is included.

Richard Birkby

unread,
Aug 17, 2014, 3:35:32 PM8/17/14
to nhibernate-...@googlegroups.com
Congratulations. It's clear it has been a lot of work - but I'm sure it's worth it.


Richard


--

---
You received this message because you are subscribed to the Google Groups "nhibernate-development" group.
To unsubscribe from this group and stop receiving emails from it, send an email to nhibernate-develo...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Ricardo Peres

unread,
Aug 17, 2014, 5:39:46 PM8/17/14
to nhu...@googlegroups.com, nhibernate-...@googlegroups.com
Excellent work Oskar and Alex! Congrats on another great release!

RP

Ricardo Peres

unread,
Aug 17, 2014, 7:41:32 PM8/17/14
to nhibernate-...@googlegroups.com, nhu...@googlegroups.com
Guys,

Remind me please why does NH 4 have a dependency on Iesi.Collections? Apparently, all it has now are other implementations of sets, but I don't think NHibernate uses them, only HashSet<T> and SortedSet<T>, right?

RP

Oskar Berggren

unread,
Aug 18, 2014, 3:22:23 AM8/18/14
to nhu...@googlegroups.com, nhibernate-...@googlegroups.com
Iesi.Collections 4.0 has also been rewritten. Several of the sets it provided are gone, and the remaining now rely on the BCL ISet interface.


/Oskar


2014-08-18 5:24 GMT+02:00 Jeff Doolittle <jeffdo...@gmail.com>:
I have the same question. I was under the impression that the Iesi.Collections dependency was going away in favor of BCL ISet implementations.

--Jeff

--
You received this message because you are subscribed to the Google Groups "nhusers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to nhusers+u...@googlegroups.com.
To post to this group, send email to nhu...@googlegroups.com.
Visit this group at http://groups.google.com/group/nhusers.

Ricardo Peres

unread,
Aug 18, 2014, 3:46:38 AM8/18/14
to nhibernate-...@googlegroups.com
Yes, Oskar, I know that, but why the dependency? Does NH internally use anything from it?

RP

Oskar Berggren

unread,
Aug 18, 2014, 4:09:25 AM8/18/14
to nhibernate-...@googlegroups.com
The Iesi 4.0 LinkedHashSet<T> is used to provide the ordered-set feature, when the order-by attribute is present on the <set> element.

LinkedHashSet<T> is different from SortedSet<T> in that the former will preserve the element insertion order, whereas the SortedSet<T> uses a comparer.

I don't think the dependency is much of a problem, and with 4.0 NHibernate, users would no longer need to care about it in their code unless they do use the set-order-by, but it is a bit irritating to have it for such a small use. Perhaps reflection can be used to avoid the hard dependency or we could abolish the feature?


2014-08-18 9:46 GMT+02:00 Ricardo Peres <rjp...@gmail.com>:
Yes, Oskar, I know that, but why the dependency? Does NH internally use anything from it?

RP

--

---
You received this message because you are subscribed to the Google Groups "nhibernate-development" group.
To unsubscribe from this group and stop receiving emails from it, send an email to nhibernate-develo...@googlegroups.com.

Seif Attar

unread,
Aug 18, 2014, 5:59:51 AM8/18/14
to nhibernate-...@googlegroups.com
I had wondered about why the dependency remained as well, good to know the reason, it does seem weird to have a dependency for just a single class which from project I have seen using nhibernate is not used that much (set with order-by).

Thanks and well done everyone.

José Henrique (Zote)

unread,
Aug 18, 2014, 6:05:39 AM8/18/14
to nhu...@googlegroups.com, nhibernate-...@googlegroups.com
Hi guys!

Do you know when Evers compatible with NH 4 will be released?

Thank you

--
José Henrique (Zote)
Analista de TI
Bludata Software


--
You received this message because you are subscribed to the Google Groups "nhusers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to nhusers+u...@googlegroups.com.
To post to this group, send email to nhu...@googlegroups.com.
Visit this group at http://groups.google.com/group/nhusers.

Roger Kratz

unread,
Aug 18, 2014, 7:16:19 AM8/18/14
to nhu...@googlegroups.com, nhibernate-...@googlegroups.com
Reply all
Reply to author
Forward
0 new messages