Or are all features we're thinking about non-breaking?
c. On 23 Jul 2013, at 17:13, Stuart McCulloch wrote:
On 24 Jul 2013, at 01:08, Christian Gruber wrote:I'll target a release of 4.0-BETA (alpha?) for this weekend.Will this be what's in master at the moment? Because if so then I'd prefer just push it out as 3.1 right now before any breaking API changes.Otherwise users wouldn't have a stable build to jump to until we finish the API changes for 4.0.c. On 23 Jul 2013, at 16:58, Sam Berlin wrote:I've been meaning to add Injector.getAllElements() for quite a while now.Maybe this will push me to finally do it if we have an imminent new-version-number release..On Tue, Jul 23, 2013 at 7:35 PM, Christian Gruber <[email protected]>wrote:Heh, Eric. Let's get it out there for you. :)I'll defer to Sam on the numbering. I think he has a better picture of the full scope of change in head, having written the vast bulk of it. :DThat said, while we're doing a 4.0, are there any API-incompatible changes we are interested in making beyond your SPI fix, Sam? I can't see anythingcrucial to fix with a breaking change, but now would be the time. Christian. On 23 Jul 2013, at 15:48, Eric Tschetter wrote:Don't rush a release just for me and this one feature :). If you reallywant to use this as an excuse to make one happen though, by all means, useit ;). --EricOn Tue, Jul 23, 2013 at 3:47 PM, Sam Berlin <[email protected]> wrote:I'd lean towards a 4.0-beta, and then we can roll in these upcomingchanges too. I'm hoping we can get this particular debugging-change to change Element.getSource to return a new SPI type (ElementSource) insteadof 'Object'. samOn Tue, Jul 23, 2013 at 6:46 PM, Christian Gruber <[email protected]wrote:Le sigh. I'm working on six things. We can roll a release if we thinkwe have everything we want in it right now. Or if not, I can roll 3.1You received this message because you are subscribed to the Google Groupsbeta (if we are agreed on 3.1 as the version). c. On 23 Jul 2013, at 15:45, Sam Berlin wrote: I think Christian's working on it? We also have a few awesomein-the-workschanges here that will make debugging a helluva lot easier (including capturing the chain of Modules involved with each binding, as well ascomplete stack traces per binding).On Tue, Jul 23, 2013 at 5:59 PM, Eric Tschetter <[email protected]>wrote:Is there an rc or other semi-stable (and hopefully tagged somewhere)You received this message because you are subscribed to the Googlebuildof guice with that in maven central? If so I'll be more than happy totry it out. If not, I can wait.I already adjusted the code to work with the explicit bindings and it turned out it required a *lot* fewer than I thought it would. Wouldstill prefer just the requireAtInject, but it's easy to relax the restriction in the future once that is released. --EricOn Tue, Jul 23, 2013 at 2:55 PM, Stuart McCulloch <[email protected]wrote:On 23 Jul 2013, at 22:48, Christian Gruber wrote:You received this message because you are subscribed to the GoogleWait… didn't we add requireAtInjectOnConstructors(****) as a halfwaybetween full JIT and requireExplicitBindings()?Thanks for the reminder - I was going by the online javadoc whichdoesn't have the latest additions I see it here:http://google-guice.**googleco**de.com/git/core/src/**<http://googlecode.com/git/core/src/**>com/google/inject/Binder.java<**http://google-guice.** googlecode.com/git/core/src/**com/google/inject/Binder.java<http://google-guice.googlecode.com/git/core/src/com/google/inject/Binder.java>If you're building your own snapshot of Guice, then you should haveaccess to it. If not, it should be out shortly when we roll areleasecandidate. But please do try it out by rolling a local copy of guicefrom head.c. On 23 Jul 2013, at 14:42, Stuart McCulloch wrote: On 23 Jul 2013, at 22:28, Eric Tschetter wrote:disable the injection of things without the annotation, but I'mThanks for the quick response!Binder.****requireExplicitBindings() is causing it to fail onbindingsomething that has an @Inject annotation on it. I was hoping tojustguessing that's not possible?Yes with requireExplicitBindings you will have to be more verbose,even down to binding the actual implementation classes as follows:bind( MyComponentImpl.class );@Inject just declares a dependency on something, rather than beingabinding that can provide something, so this is working as designedIf that's the case, that's fine, I can deal with being even moreexplicit and requiring a bind for everything.On Tue, Jul 23, 2013 at 2:20 PM, Stuart McCulloch <[email protected]> wrote:I'm not sure how to search for the old commit...). I also don't knowOn 23 Jul 2013, at 22:13, Eric Tschetter wrote:Hello everyone.I'm looking for a way to disable JIT bindings in Guice. Googlefound http://code.google.com/p/****google-guice/issues/detail?id=** **342<http://code.google.com/p/**google-guice/issues/detail?id=**342> <http://code.google.com/**p/google-guice/issues/detail?**id=342<http://code.google.com/p/google-guice/issues/detail?id=342>For me, but it looks like r1141 referenced in there is a brokenlinknow (probably switched source control systems and the linksaren'tupdated?thatan InjectorBuilder is (can't find the class in the current code, soamguessing it's something that existed in 2009 and doesn't anymore).I'm guessing this functionality was maintained, but am wonderinghowto enable it. Basically I want to disable any injection that isnot either(a) bound in a module or (b) of an object with an @Inject binding.The equivalent git hash is http://code.google.com/p/****google-guice/source/detail?r=****<http://code.google.com/p/**google-guice/source/detail?r=**>888a264bdee08c82cccd9dcc94a8a4****ac98912bad<http://code.**google.com/p/google-guice/**source/detail?r=** 888a264bdee08c82cccd9dcc94a8a4**ac98912bad<http://code.google.com/p/google-guice/source/detail?r=888a264bdee08c82cccd9dcc94a8a4ac98912bad>Since then the requireExplicitBindings option was moved to theBinder API:http://google-guice.**googleco**de.com/git/javadoc/**<http://googlecode.com/git/javadoc/**>com/google/inject/Binder.html#****requireExplicitBindings()<ht**tp://google-guice.googlecode.**com/git/javadoc/com/google/** inject/Binder.html#**requireExplicitBindings()<http://google-guice.googlecode.com/git/javadoc/com/google/inject/Binder.html#requireExplicitBindings()>To unsubscribe from this group and stop receiving emails from it,--Eric--You received this message because you are subscribed to the GoogleGroups "google-guice" group.send an email to google-guice+unsubscribe@**goo**glegroups.com<http://googlegroups.com><google-guice%**[email protected]<google-guice%[email protected]> **>.To post to this group, send email to [email protected].To unsubscribe from this group and stop receiving emails from it,Visit this group at http://groups.google.com/****group/google-guice<http://groups.google.com/**group/google-guice> <http://**groups.google.com/group/**google-guice<http://groups.google.com/group/google-guice>. For more options, visit https://groups.google.com/****groups/opt_out <https://groups.google.com/**groups/opt_out><https://groups.**google.com/groups/opt_out<https://groups.google.com/groups/opt_out>. --You received this message because you are subscribed to the GoogleGroups "google-guice" group.send an email to google-guice+unsubscribe@**goo**glegroups.com<http://googlegroups.com><google-guice%**[email protected]<google-guice%[email protected]> **>.To post to this group, send email to [email protected].Visit this group at http://groups.google.com/****You received this message because you are subscribed to the Googlegroup/google-guice<http://groups.google.com/**group/google-guice> <http://**groups.google.com/group/**google-guice<http://groups.google.com/group/google-guice>. For more options, visit https://groups.google.com/****groups/opt_out <https://groups.google.com/**groups/opt_out><https://groups.**google.com/groups/opt_out<https://groups.google.com/groups/opt_out>. --Groups "google-guice" group.To unsubscribe from this group and stop receiving emails from it,sendan email to google-guice+unsubscribe@**goo**glegroups.com<http://googlegroups.com><google-guice%**[email protected]<google-guice%[email protected]> **>.To post to this group, send email to [email protected].Visit this group at http://groups.google.com/****group/google-guice <http://groups.google.com/**group/google-guice><http://**groups.google.com/group/**google-guice<http://groups.google.com/group/google-guice>. For more options, visit https://groups.google.com/****groups/opt_out <https://groups.google.com/**groups/opt_out><https://groups.**google.com/groups/opt_out<https://groups.google.com/groups/opt_out>.Christian Gruber :: Google, Inc. :: Java Core Libraries :: Dependency Injectionemail: [email protected] :::: mobile: +1 (646) 807-9839--You received this message because you are subscribed to the GoogleGroups "google-guice" group.To unsubscribe from this group and stop receiving emails from it,sendan email to google-guice+unsubscribe@**goo**glegroups.com<http://googlegroups.com><google-guice%**[email protected]<google-guice%[email protected]> **> .To post to this group, send email to [email protected].Visit this group at http://groups.google.com/****group/google-guice<http://groups.google.com/**group/google-guice>You received this message because you are subscribed to the Google<http://**groups.google.com/group/**google-guice<http://groups.google.com/group/google-guice>. For more options, visit https://groups.google.com/**** groups/opt_out <https://groups.google.com/**groups/opt_out>< https://groups.**google.com/groups/opt_out<https://groups.google.com/groups/opt_out>. --Groups "google-guice" group.To unsubscribe from this group and stop receiving emails from it,send anemail to google-guice+unsubscribe@**goo**glegroups.com<http://googlegroups.com><google-guice%**[email protected]<google-guice%[email protected]> **> .To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/****group/google-guice<http://groups.google.com/**group/google-guice><http://**groups.google.com/group/**google-guice<http://groups.google.com/group/google-guice>.For more options, visit https://groups.google.com/****groups/opt_out<https://groups.google.com/**groups/opt_out><https://groups.**google.com/groups/opt_out<https://groups.google.com/groups/opt_out>. --Groups "google-guice" group.To unsubscribe from this group and stop receiving emails from it, sendanemail to google-guice+unsubscribe@**goo**glegroups.com<http://googlegroups.com><google-guice%**[email protected]<google-guice%[email protected]> **> .To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/****group/google-guice<http://groups.google.com/**group/google-guice><http://**groups.google.com/group/**google-guice<http://groups.google.com/group/google-guice>.For more options, visit https://groups.google.com/****groups/opt_out<https://groups.google.com/**groups/opt_out><https://groups.**google.com/groups/opt_out<https://groups.google.com/groups/opt_out>. --Groups "google-guice" group.To unsubscribe from this group and stop receiving emails from it, send an email to google-guice+unsubscribe@**goo**glegroups.com<http://googlegroups.com><google-guice%**[email protected]<google-guice%[email protected]> **> .To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/****group/google-guice<http://groups.google.com/**group/google-guice><http://**groups.google.com/group/**google-guice<http://groups.google.com/group/google-guice>.For more options, visit https://groups.google.com/****groups/opt_out<https://groups.google.com/**groups/opt_out><https://groups.**google.com/groups/opt_out<https://groups.google.com/groups/opt_out>.Christian Gruber :: Google, Inc. :: Java Core Libraries :: DependencyInjection email: [email protected] :::: mobile: +1 (646) 807-9839 --You received this message because you are subscribed to the GoogleGroups "google-guice" group.To unsubscribe from this group and stop receiving emails from it, sendanemail to google-guice+unsubscribe@**goo**glegroups.com<http://googlegroups.com><google-guice%**[email protected]<google-guice%[email protected]> **> .To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/****group/google-guice<http://groups.google.com/**group/google-guice><http://**groups.google.com/group/**google-guice<http://groups.google.com/group/google-guice>.For more options, visit https://groups.google.com/****groups/opt_out<https://groups.google.com/**groups/opt_out><https://groups.**google.com/groups/opt_out<https://groups.google.com/groups/opt_out>. --"google-guice" group.To unsubscribe from this group and stop receiving emails from it, send an email to google-guice+unsubscribe@**googlegroups.com<google-guice%[email protected]>.To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/**group/google-guice<http://groups.google.com/group/google-guice>.For more options, visit https://groups.google.com/**groups/opt_out<https://groups.google.com/groups/opt_out>.--You received this message because you are subscribed to the Google Groups"google-guice" group.To unsubscribe from this group and stop receiving emails from it, send an email to google-guice+unsubscribe@**googlegroups.com<google-guice%[email protected]>.To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/**group/google-guice<http://groups.google.com/group/google-guice>.For more options, visit https://groups.google.com/**groups/opt_out<https://groups.google.com/groups/opt_out>.Christian Gruber :: Google, Inc. :: Java Core Libraries :: DependencyInjection email: [email protected] :::: mobile: +1 (646) 807-9839 --You received this message because you are subscribed to the Google Groups"google-guice" group.To unsubscribe from this group and stop receiving emails from it, send an email to google-guice+unsubscribe@**googlegroups.com<google-guice%[email protected]>. To post to this group, send email to [email protected].Visit this group at http://groups.google.com/**group/google-guice<http://groups.google.com/group/google-guice>.For more options, visit https://groups.google.com/**groups/opt_out<https://groups.google.com/groups/opt_out>.--You received this message because you are subscribed to the Google Groups "google-guice" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/google-guice. For more options, visit https://groups.google.com/groups/opt_out.Christian Gruber :: Google, Inc. :: Java Core Libraries :: Dependency Injectionemail: [email protected] :::: mobile: +1 (646) 807-9839 --You received this message because you are subscribed to the Google Groups "google-guice" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/google-guice. For more options, visit https://groups.google.com/groups/opt_out.--You received this message because you are subscribed to the Google Groups "google-guice" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/google-guice. For more options, visit https://groups.google.com/groups/opt_out.
Christian Gruber :: Google, Inc. :: Java Core Libraries :: Dependency Injection
email: [email protected] :::: mobile: +1 (646) 807-9839 -- You received this message because you are subscribed to the Google Groups "google-guice" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/google-guice. For more options, visit https://groups.google.com/groups/opt_out.
