6.0.RC1 | 5.0.RC1
·
1598 commits
to master
since this release
Additions:
- Adds
@RequestandRequestScope - Adds
ApplicationScopewith the view of migrating fromSystemContexttoApplicationScope. - In adding request scope this lead to quite a lot of refactoring and simplification of internals
Breaking changes:
BeanContextrenamed toBeanScope- This gives us better Alignment with RequestScope and ApplicationScope@ContextModulerenamed to@InjectModuleCloseableis treated as a@PreDestroymethodBeanLifecycleinterface removed - Just use@PostConstructand@PreDestroy/Closeableinterface- Removed
sortBy()methods - Migrate to performing your own sort as needed
Other changes:
SystemContextdeprecated in favour of@ApplicationScope
Issues:
#112 - Rename ContextModule to InjectModule and BeanContextFactory to BeanScopeFactory
#111 - Support inherited field/method injection (ref #86)
#110 - Refactor/remove sort by methods
#109 - Refactor rename BeanContext to BeanScope (to better align with ApplicationScope and RequestScope) breaking-api
#108 - Add ApplicationScope
#107 - Add RequestScope support (for #85)
#106 - Refactor/simplify to single builder - remove parent/child part refactor
#104 - Should a bean that implements Closable / AutoClosable automatically get a PreDestroy hook?
#86 - Run Jakarta Dependency Injection TCK
#85 - Not totally obvious how to do your own request scoping