Revision: 1515
Author: sberlin
Date: Sun Mar 6 15:22:33 2011
Log: Edited wiki page Guice30 through web user interface.
http://code.google.com/p/google-guice/source/detail?r=1515
Modified:
/wiki/Guice30.wiki
=======================================
--- /wiki/Guice30.wiki Sun Jan 9 17:57:33 2011
+++ /wiki/Guice30.wiki Sun Mar 6 15:22:33 2011
@@ -12,6 +12,16 @@
*
[http://google-guice.googlecode.com/svn/tags/3.0-rc2/javadoc/index.html
Javadoc API]
*
[http://google-guice.googlecode.com/svn/trunk/latest-api-diffs/3.0/changes.html
API Changes from 2.0 to 3.0, by JDiff]
+==Changes since rc2==
+ * Allow TypeConverters & ConvertedConstantBindings to still work when
requireExplicitBindings is set.
+ * Remove all cglib & Guice internal frames from stack traces when AOP is
involved.
+ * Fix so child injectors can't rebind keys from just-in-time parent
bindings.
+ * Better error messages when child injectors & private modules are used.
+ * Fix Persist extension so @Transactional class annotations work.
+ * Update Grapher extension so the graph can be rooted with a Key (not
just a Class).
+ * Allow Guice to work on generated classes.
+ * Update method interception so non-intercepted methods in a class with
intercepted methods don't go through cglib.
+
==Changes since rc1==
* Fix Providers.guicify to inject @Inject members/methods from the
delegate Provider.
* Remove !InjectorBuilder, moved new methods to Binder, added visitors to
{Default}!ElementVisitor.
@@ -44,6 +54,7 @@
* [ToConstructorBindings ToConstructor Bindings]
* Better OSGi support (and generally improved support for multiple
classloaders)
* New methods in Binder: `requireExplicitBindings` &
`disableCircularProxies`
+ * Much simpler stack traces when AOP is involved
* Exact duplicate bindings are ignored (instead of an exception being
thrown)
* Repackaged cglib, asm & guava classes are now hidden from IDE
auto-imports
* Source can be built with Maven
@@ -96,12 +107,15 @@
* Added to Injector: `getAllBindings`, `getExistingBinding`,
`getScopeBindings`, `getTypeConverterBindings`.
* Added to Key: `hasAttributes`, `ofType`, `withoutAttributes`
* Various bug fixes / improvements:
+ * Prevent child injectors from rebinding a parent just-in-time
binding.
+ * Non-intercepted methods in a class with other intercepted methods
no longer go through cglib (reducing total stack traces).
+ * Allow Guice to work on generated classes.
* Fix calling Provider.get() of an unrelated Provider in a scoping
method.
* `MoreTypes.getRawTypes` returns the proper types for arrays
(instead of Object[].class)
* JIT bindings left in a parent injector when child injectors fail
creating a JIT binding are now removed
* Overriding an @Inject method (if the subclass also annotates the
method with @Inject) no longer injects the method twice
* You can now bind byte constants (using
`ConstantBindingBuilder.to(byte)`)
- * Better exceptions when trying to intercept final classes
+ * Better exceptions when trying to intercept final classes, using
keys already bound in child or private module, and many other cases.
* ConvertedConstantBinding now exposes the TypeConverterBinding used
to convert the constant.
==Migrating from Guice 2.0==
--
You received this message because you are subscribed to the Google Groups
"google-guice-dev" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/google-guice-dev?hl=en.