blob: d151138ca2353d43df4da3b31e6ba86eb4015c5c [file] [log] [blame]
Carsten Ziegeler5c624a42015-08-13 05:24:29 +00001Changes from 2.0.0 to 2.0.2
2---------------------------
3** Improvement
4 * [FELIX-5001] scr:list Gogo command should display component configurations
Carsten Ziegeler5ff55e02015-08-27 14:49:56 +00005 * [FELIX-5020] Don't log exception if metatype is not available
Carsten Ziegeler5c624a42015-08-13 05:24:29 +00006
7
Carsten Ziegeler87724c22015-08-11 05:28:29 +00008Changes from 1.8.2 to 2.0.0
9---------------------------
10** Improvement
11 * [FELIX-4949] [RFC-190] Implement prototype_required
12 * [FELIX-4918] Implement searching for event methods according to 112.3.2
13 * [FELIX-4916] Provide service capability
14 * [FELIX-4787] Update DS Implementation to R6
15 * [FELIX-4769 [RFC190/212] Implement ComponentServiceObjects
16 * [FELIX-4634] [RFC212] Implement replace strategy
17 * [FELIX-4633] [RFC212] Implement update strategy
18 * [FELIX-4632] [RFC212] Make properties map passed to event methods comparable
19 * [FELIX-4631] [R6/RFC212] Implement field injection
20 * [FELIX-4537] use a bnd.bnd file for bnd configuration
21 * [FELIX-4507] "persistent" factory components
22 * [FELIX-4506] Control felix optional extensions through xml attributes in component descriptor
23 * [FELIX-4467] Option to use system bundle context for tracking bundles
24 * [FELIX-4412] Add Provide-Capability for declarative services bundle
25 * [FELIX-4406] [R6/rfc190] support 1.3 namespace
26 * [FELIX-4405] [R6rfc190] support prototype scope
27 * [FELIX-4404] [R6/rfc190] implement additional event method signature single Map
28 * [FELIX-4403] [R6/rfc190] implement configuration through annotation instances
29 * [FELIX-4402] [R6/rfc190] implement multiple pid support
30 * [FELIX-4401] [R6/rfc190] Implement runtime/introspection/console based on DTOs
31 * [FELIX-4391] R6/rfc190 Support <refname>.cardinality.minimum configuration property
32
33** Bug
34 * [FELIX-4990] Only first factoy configuration is used
35 * [FELIX-4968] With configuration annotations, coercion exceptions are thrown at the wrong time.
36 * [FELIX-4967] Configuration annotations need to handle char and char[]
37 * [FELIX-4965] Configuration annotations with invalid members handled incorrectly
38 * [FELIX-4964] Reactivate component at most once per service event
39 * [FELIX-4957] [RFC-212] Various issues with field references
40 * [FELIX-4951] [RFC-190] Correct pid handling
41 * [FELIX-4950] [RFC-190] Within a component instance for each reference to the same service the same object needs to be injected
42 * [FELIX-4883] ServiceComponentRuntime.getComponentConfigurationDTOs NullPointerException
43 * [FELIX-4843] ScrInfo impl misses the first provided service
44 * [FELIX-4835] Use bnd 2.3 (via maven-bundle-plugin 2.5.3) to avoid java 8 import problems
45 * [FELIX-4793] Components with an empty configuration are created even if configuration is required or available
46 * [FELIX-4792] Handle Errors on component initialization
47 * [FELIX-4790] SCR MutablePropertiesTest fails when run with framework 4.6.0
48 * [FELIX-4789] SCR Felix4188Test fails when run with framework 4.4.1 or newer
49 * [FELIX-4785] Incompatible SCR API
50 * [FELIX-4768] [RFC190/212] Reference can specify both method and field
51 * [FELIX-4753] Timing issues with bundle context configuration and CM configuration taking effect.
52 * [FELIX-4686] If component is declared with 1.3 NS and ds.factory.enabled = true, validation error occors
53 * [FELIX-4585] SCR will create an additional component instance when ComponentContext.enableComponent is called
54 * [FELIX-4563] target filters in xml reference element are not turned into properties
55 * [FELIX-4536] [R6rfc190] service.pid property aggregates pids from all configurations.
56 * [FELIX-4469] shell command "scr help" does not work without parameter
57 * [FELIX-4447] Regression in ScrShellCommand (NPE caused by falsy regex)
58 * [FELIX-4396] for factory components, configuration changes should affect existing instances
59 * [FELIX-4149] Do not directly support modifying service registration properties
60
61
David Jenckse12188b2013-12-08 08:19:12 +000062Changes from 1.8 to 1.8.2
63---------------------------
64
65** Bug
66 * [FELIX-4309] - SCR leaves some components in DISABLED state
67 * [FELIX-4313] - Bad synchronization in scr where a lock is held while ungetting a service
68 * [FELIX-4322] - [DS] Prevent activation attempts until all dependency managers are set up with trackers
69 * [FELIX-4323] - [DS] ScrService.getComponents may return a null array element
70 * [FELIX-4325] - [DS] Synchronization issue when activating component
71 * [FELIX-4326] - Possible Invalid BundleContext exception when shutting down the extender
72 * [FELIX-4348] - [DS] locateService calls race with component reconfiguration
David Jencks75372c62014-01-18 01:09:06 +000073 * [FELIX-4349] - Synchronization issue in ComponentRegistry
74 * [FELIX-4350] - Component wrongly activated
David Jenckse12188b2013-12-08 08:19:12 +000075
76** Improvement
77 * [FELIX-4316] - Packages imported dynamically should also be imported statically with an optional flag
78 * [FELIX-4317] - SCR implementation should avoid using bundleContext.getBundle()
79 * [FELIX-4343] - [DS] rationalize log levels
80
David Jenckscac6e262013-02-10 08:01:42 +000081Changes from 1.6.2 to 1.8
David Jencks48afc492012-12-20 04:53:49 +000082---------------------------
83
84** Bug
David Jencksc8d4ab72013-10-20 05:38:41 +000085 * [FELIX-3536] (minor additional work) - Consider putting the non-spec ComponentFactory behavior in a separate class
David Jencks48afc492012-12-20 04:53:49 +000086 * [FELIX-3708] - [DS] use java 5
87 * [FELIX-3729] - [DS] Track dependencies by imitating ServiceTracker and keeping a list of actual service references all the time
88 * [FELIX-3738] - [DS] ComponentInstance.getServices(String refName) is implemented wrong for 0..1 and 1..1 refs
89 * [FELIX-3754] - Services registered from within the activate method may not be bound
90 * [FELIX-3787] - NPE on reference update
91 * [FELIX-3790] - [DS] Services may not be bound if the events arrive during component instantiation.
92 * [FELIX-3825] - [DS] make logging more useful by including component ID when known
93 * [FELIX-3826] - [DS] race in enabling components with factory pid
David Jenckscac6e262013-02-10 08:01:42 +000094 * [FELIX-3862] - [DS] Deadlock when service is removed during activation
95 * [FELIX-3870] - [DS] confusing logic around determining if modified method can be called on config update
96 * [FELIX-3875] - [DS] After configuration changes target filter on optional ref, matching services are not bound
97 * [FELIX-3888] - [DS] Expose the insides of ScrCommand as a service directly and enhance it
98 * [FELIX-3890] - [DS] We might try to unbind a service we couldn't get and didn't bind
99 * [FELIX-3891] - [DS] synchronization around registerService can create deadlocks
David Jencks3591d782013-02-15 02:35:00 +0000100 * [FELIX-3902] - [DS] Single dynamic mandatory reference problem on target filter update
David Jencks98ee7ea2013-10-16 22:05:14 +0000101 * [FELIX-3915] - [DS] Timing hole between ComponentHolder initial config and registration
102 * [FELIX-3952] - [DS] service events can go missing resulting in hang
103 * [FELIX-3967] - [DS] NPE in DependencyManager$AbstractCustomizer.isSatisfied
104 * [FELIX-3971] - [DS] SingleDynamicCustomizer doesn't respond correctly to configuration update events.
105 * [FELIX-3975] - [DS] Give ParseException cause to move out of the stone age
106 * [FELIX-3991] - [DS] component deactivation may not complete properly with enough threads
107 * [FELIX-4000] - [DS] ConcurrentModificationException in AbstractComponentManager iterating through m_dependencyManagers
108 * [FELIX-4004] - [DS] ConcurrentModificationException in DependencyManager.open(
109 * [FELIX-4006] - [DS] While disposing a component, it's possible to unbind a reference that wasn't bound.
110 * [FELIX-4011] - [DS] code refactoring/simplification
111 * [FELIX-4020] - [DS] A reference being unregistered between checking for references available and actual binding may get bound anyway
112 * [FELIX-4031] - [DS] Respond better to InterruptedException
113 * [FELIX-4055] - [DS] Component instance unset but remains in Active state
114 * [FELIX-4057] - [DS] Use Findbugs, and fix located problems
115 * [FELIX-4069] - [DS] ConcurrentModificationException in ServiceFactoryComponentManager
116 * [FELIX-4070] - [DS] Reduce or eliminate use of States in command pattern
117 * [FELIX-4088] - [DS] NPE from SCR service unregistration
118 * [FELIX-4090] - [DS] ActivateMethod.ACTIVATE_TYPES_DS11 and ACTIVATE_TYPES_DS10 should be static final
119 * [FELIX-4166] - [DS] Removing required dependency before component is created leaves service registered
120 * [FELIX-4171] - [DS] possible DependencyManager NPE during cleanup after failure to activate a component
121 * [FELIX-4188] - [DS] If a bundle is stopped while the SCR extender is being stopped, the callback for the STOPPING event returns before full deactivation
122 * [FELIX-4189] - [DS] DS should not hold any lock while calling bundleContext#getService
123 * [FELIX-4223] - [DS] DependencyManager filter should be set up in enable, not activate, to avoid race conditions
124 * [FELIX-4224] - [DS] Dependency manager can be active but not have m_bindMethods set
David Jencksd5644d32013-10-22 06:42:31 +0000125 * [FELIX-4287] - [DS] NPE when calling ComponentInstance.dispose after bundle shut down
David Jencks853b55b2013-10-25 07:04:03 +0000126 * [FELIX-4290] - [DS] Issue with factory components with required configuration
David Jencks0caef202013-10-26 07:39:24 +0000127 * [FELIX-4293] - [DS] logic error in handling configuration LOCATION_CHANGED event
David Jencks7378d6a2013-10-28 23:08:15 +0000128 * [FELIX-4297] - [DS] timing hole in opening a dependency manager
David Jencks98ee7ea2013-10-16 22:05:14 +0000129
130** Task
131 * [FELIX-3584] - [DS] Handle new LOCATION_CHANGED event
132 * [FELIX-3651] - [DS] Properly support configuration location binding and targeted pids
David Jencks320b2762013-10-29 16:23:44 +0000133 * [FELIX-4298] - [DS] Run tests against R5 config admin and require specifying profile for R4
David Jencks48afc492012-12-20 04:53:49 +0000134
Felix Meschberger626a3f82011-10-17 10:07:59 +0000135Changes from 1.6.0 to 1.6.2
136---------------------------
137
Felix Meschberger5da6b992012-10-31 19:26:12 +0000138** Sub-task
139 * [FELIX-3650] - Don't log a warn message for Configuration Admin LOCATION_CHANGED event
140
Felix Meschberger626a3f82011-10-17 10:07:59 +0000141** Bug
142 * [FELIX-2578] - Declarative Services bundle does not start without Configuration Admin API wired
143 * [FELIX-2821] - Component service references not unbound in reverse order (breaks compendium spec 112.5.15)
144 * [FELIX-2823] - Uncaught exception in case of circular service reference
145 * [FELIX-2824] - Components that have a ConfigurationPolicy value of REQUIRE fail to activate
146 * [FELIX-2926] - No log message on missing activate method
147 * [FELIX-2944] - SCR/ spec version 1.1-felix is causing NPE in XmlHandler
148 * [FELIX-2962] - SCR doesn't detect invalid XML
Felix Meschberger43eac632012-06-01 12:48:16 +0000149 * [FELIX-2992] - scr 1.6.1-SNAPSHOT: impossible to build due to obsolete dependencies
Felix Meschberger626a3f82011-10-17 10:07:59 +0000150 * [FELIX-3039] - SCR cleans up delayed service components too aggressively
151 * [FELIX-3086] - IllegalArgumentException in PropertyMetadata.setValues()
152 * [FELIX-3087] - Given invalid value, but the property isn't invalid.
153 * [FELIX-3089] - A component without ServicePermissions cannot be registered as a service
Felix Meschberger43eac632012-06-01 12:48:16 +0000154 * [FELIX-3090] - SCR factory components ignore reference target filters
Felix Meschberger626a3f82011-10-17 10:07:59 +0000155 * [FELIX-3093] - SCR project does not build on machines with empty M2 repository
156 * [FELIX-3108] - SCR doesn't cope when the DS xml is not encoded using the default platform encoding.
157 * [FELIX-3126] - SCR activates a service component while the containing bundle is stopping.
Felix Meschberger43eac632012-06-01 12:48:16 +0000158 * [FELIX-3288] - NPE when component exposed as a service with servicefactory = true
159 * [FELIX-3307] - NPE in DependencyManager.invokeBindMethod
Felix Meschbergerbaef9542012-01-26 14:48:54 +0000160 * [FELIX-3317] - Concurrency issue during Component Service registration
Felix Meschberger43eac632012-06-01 12:48:16 +0000161 * [FELIX-3325] - Finding activate/deactivate/modified methods has numerous problems
162 * [FELIX-3409] - with permissions enabled, AbstractComponentManager.verifyDependencyManagers is wrong.
163 * [FELIX-3410] - ImmediateComponentManager should use any non-ignored configuration to try to activate a component.
164 * [FELIX-3456] - Component ignores required static service addition when in Activating state
Felix Meschberger5da6b992012-10-31 19:26:12 +0000165 * [FELIX-3533] - Strip out . properties when a lifecycle method returns service properties
166 * [FELIX-3534] - ServiceFactory components don't deal with ConfigurationAdmin updates properly
167 * [FELIX-3535] - Minor DS cleanup fixes
168 * [FELIX-3536] - Consider putting the non-spec ComponentFactory behavior in a separate class
169 * [FELIX-3557] - Tests for DS circular dependency behavior
170 * [FELIX-3559] - [DS] first register immediate components' service, then create the implementation object per spec
171 * [FELIX-3625] - "officially" upgrade scr to ds 1.2 from compendium 4.3
David Jenckse39a3cc2012-10-31 18:53:13 +0000172 * [FELIX-3637] - DS bind concurrency problem
Felix Meschberger5da6b992012-10-31 19:26:12 +0000173 * [FELIX-3639] - SCR "need write lock" assertion error
Felix Meschberger50c15802012-11-28 07:15:10 +0000174 * [FELIX-3645] - SCR could not obtain lock in 5000 ms
Felix Meschberger5da6b992012-10-31 19:26:12 +0000175 * [FELIX-3646] - AbstractComponent.disposeInternal ignores reason
David Jenckse39a3cc2012-10-31 18:53:13 +0000176 * [FELIX-3647] - Component modification must continue if modify method throws
177 * [FELIX-3648] - A component declared with DS 1.0 or DS 1.1 namespace must fail validation if Reference.updated attribute is declared
Felix Meschberger5da6b992012-10-31 19:26:12 +0000178 * [FELIX-3649] - Remove ct.workaround property and support
179 * [FELIX-3657] - [DS] ServiceFactory problems
180 * [FELIX-3658] - [DS] disableing a component that is a dependency of another results in an IllegalStateException
181 * [FELIX-3659] - [DS] Share the method objects among all the dependency managers and component managers for the same class
182 * [FELIX-3675] - [DS] NPE shutting down a component due to service already removed
183 * [FELIX-3676] - [DS] misleading logging on first immediate component getService call
184 * [FELIX-3681] - [DS] Dependencies are not dropped when implemention object is discarded
185 * [FELIX-3697] - [DS] create all the components in a bundle before enabling them
186 * [FELIX-3698] - [DS] code simplification for BundleComponentActivator.getSelectedComponents
187 * [FELIX-3704] - [DS] ds shutdown should wait for ComponentActorThread task queue to complete before finishing
188 * [FELIX-3710] - [DS] don't try to activate for a service event for an optional reference
189 * [FELIX-3717] - [DS] unbind method might not have correct parameters
190 * [FELIX-3718] - [DS] deactivate might not move component state to unsatisfied
191 * [FELIX-3719] - [DS] disabling a dependency manager should not reset the service count
David Jenckse39a3cc2012-10-31 18:53:13 +0000192 * [FELIX-3723] - ClassCastException on ConfigurationAdmin service creating components
Felix Meschberger5da6b992012-10-31 19:26:12 +0000193 * [FELIX-3724] - [DS] concurrent getService calls may return null
194 * [FELIX-3725] - [DS] hidden dependency on spring junit wrapper from pax exam
195 * [FELIX-3726] - Reference target filters defined as component properties are ignored
196 * [FELIX-3727] - [DS] NPE during shutdown
Felix Meschberger50c15802012-11-28 07:15:10 +0000197 * [FELIX-3744] - set implementation object before modifying service properties
198
Felix Meschberger626a3f82011-10-17 10:07:59 +0000199** Improvement
200 * [FELIX-2895] - Allow the use of a property to tell SCR to always discover Service Component files even if there's no wildcard in the name
Felix Meschberger43eac632012-06-01 12:48:16 +0000201 * [FELIX-3016] - Activator log level cannot be changed dynamically through Configuration Admin
Felix Meschberger23e633e2012-01-11 08:14:55 +0000202 * [FELIX-3232] - Re-Import SCR Service API
Felix Meschberger43eac632012-06-01 12:48:16 +0000203 * [FELIX-3371] - update scr build to recent pax components
204 * [FELIX-3377] - Allow a component to update its own service properties
205 * [FELIX-3506] - SCR bind/unbind/update methods should be able to return a map of service properties like the activate/deactivate/modified methods.s
David Jencks48afc492012-12-20 04:53:49 +0000206 * [FELIX-3558] - [DS] make it easier to debug tests by cribbing code from ScrService to print out DS state * [FELIX-3569] - Improve configured method handling for ComponentFactory instances
Felix Meschberger5da6b992012-10-31 19:26:12 +0000207 * [FELIX-3662] - [DS] use backport-util-concurrenct instead of concurrent for pre java 5 compatibility
208 * [FELIX-3677] - [DS] in the scr command info operation, show the bound service references
Felix Meschberger626a3f82011-10-17 10:07:59 +0000209
210** New Feature
211 * [FELIX-2712] - [SCR] Add Gogo command support
Felix Meschberger43eac632012-06-01 12:48:16 +0000212 * [FELIX-3507] - scr greedy and reluctant policy options from compendium 4.3
Felix Meschberger5da6b992012-10-31 19:26:12 +0000213 * [FELIX-3524] - SCR configuration-pid from compendium 4.3
Felix Meschberger626a3f82011-10-17 10:07:59 +0000214
215** Task
216 * [FELIX-2539] - Include DEPENDENCIES file in distributables
217 * [FELIX-2553] - Reconsider logging/log levels
218 * [FELIX-2903] - Inline required KXml classes
219 * [FELIX-3158] - Upgrade to Felix parent POM 2.1 and use managed ant plugin version
Felix Meschberger43eac632012-06-01 12:48:16 +0000220 * [FELIX-3527] - Add Java API usage check
Felix Meschberger5da6b992012-10-31 19:26:12 +0000221 * [FELIX-3668] - Revert Rev. 1381440 "restore previous behavior when a bind method cannot be found"
222 * [FELIX-3679] - Component names need not be globally unique any more
Felix Meschberger91702f42012-11-07 11:09:42 +0000223 * [FELIX-3747] - Cleanup maven project setup
Felix Meschberger626a3f82011-10-17 10:07:59 +0000224
225** Wish
226 * [FELIX-1747] - Use Remote Resources Plugin to generate the legal files
227
228
Felix Meschbergerda38c6b2010-08-10 11:36:17 +0000229Changes from 1.4.0 to 1.6.0
230---------------------------
231
232** Bug
233 * [FELIX-1952] - Factory configured ComponentFactory instances not reconfigured when configuration updated
234 * [FELIX-1997] - Actual configuration might not be reflected in the web console
235 * [FELIX-2006] - If an Error is thrown instantiated a component, the component remains in the Activating state and cannot be managed any longer
236 * [FELIX-2090] - Multiple concurrency issues under heavy "stop/start" load
237 * [FELIX-2091] - AbstractComponentManager.getBundle() may throw NullPointerException
238 * [FELIX-2213] - NPE when modifying properties of lazy (uninstantiated) service
239 * [FELIX-2230] - NPE deactivating service during fw shutdown
240 * [FELIX-2231] - Errors with services in Lazy bundles
241 * [FELIX-2233] - ConfiguredComponentHolder tracks component enablement but not disablement
242 * [FELIX-2288] - Felix SCR API problem/misunderstanding
243 * [FELIX-2289] - Unsynchronized access to map of component instances may block the system
244 * [FELIX-2325] - SCR says that my component is registered twice
245 * [FELIX-2370] - Access to internal data structures for delayed and service factory components not thread safe
246 * [FELIX-2399] - Make ScrService lenient against unexpected configuration data types
247 * [FELIX-2510] - Configuration not provided to components if Configuration Admin is not active while setting up components
248 * [FELIX-2518] - Modified method without arguments not supported
249 * [FELIX-2519] - Declarative Services 1.0 descriptors must fail to validate if 1.1 attributes are declared
250 * [FELIX-2520] - Bind method selection must not expect the component's bundle to import the service interface type
251 * [FELIX-2521] - Method call failures not always handled correctly
252 * [FELIX-2523] - Component must be reactivated even if modified method is declared
253
254** Improvement
255 * [FELIX-2368] - Activate components synchronously
256 * [FELIX-2372] - Improve logging on IllegalStateException getting a service
257 * [FELIX-2526] - Add a property to enable workarounds for CT assumptions
258
259** Sub-task
260 * [FELIX-2534] - Adapt SCR LICENSE and NOTICE files
261
262
Felix Meschbergerb35c8332010-05-28 20:27:35 +0000263Changes from 1.2.0 to 1.4.0
264---------------------------
265
266** Bug
267 * [FELIX-1841] - SCR invokes bind method twice when dependency service properties are modified
268 * [FELIX-1846] - When updated configuration of component without a previously set target filter, NullPointerException is thrown
269 * [FELIX-1866] - SCR 1.1 restarts components when service properties are changed, even if "modified" attributed is specified
270 * [FELIX-1922] - issue with configuration policy=require and with factory components
271 * [FELIX-1923] - SCR project misses explicit Maven Bundle Plugin version
272 * [FELIX-1926] - Access to internal maps in the ComponentRegistry must be guarded against concurrency issues
273 * [FELIX-1927] - NPE in AbstractComponentManager if no services are provided and a SecurityManager is installed
274 * [FELIX-1942] - Component Factory instances are may reactivate
275 * [FELIX-1943] - Component Factory not deactivated if required reference unregistered
276 * [FELIX-1944] - Reference.getServiceReferences() returns empty array if no services bound
277
278** Improvement
279 * [FELIX-1897] - Add proper Configuration Admin support for SCR configuration
280
281** New Feature
282 * [FELIX-1893] - Add "update" callback support to inform components of modified service properties
283
284** Task
285 * [FELIX-1945] - Increase org.apache.felix.scr package export to 1.4
286
Felix Meschbergerda38c6b2010-08-10 11:36:17 +0000287
Felix Meschbergerb35c8332010-05-28 20:27:35 +0000288Changes from 1.0.8 to 1.2.0
289---------------------------
290
291** Bug
292 * [FELIX-1162] - Component.getReferences returns null if a component that has references is not enabled.
293 * [FELIX-1166] - SCR does not rebind ConfigurationAdmin service in Sling jcrinstall tests
294 * [FELIX-1173] - Concurrency Issues while containing bundle is stopping
295 * [FELIX-1177] - Components must correctly be disposed off
296 * [FELIX-1178] - Component may remain deactivated after a reference has been unregistered and registered again
297 * [FELIX-1185] - If a static/mandatory reference to a service is unregistered, the component should be deactivated synchronously instead of asynchronously
298 * [FELIX-1195] - NullPointerException in ComponentActivatorTask if component is destroyed
299 * [FELIX-1238] - NPE when invoking "scr list" with no components registered
300 * [FELIX-1252] - NullPointerException in "scr list" command
301 * [FELIX-1413] - Newly registered services must not immediately bound for static references
302 * [FELIX-1414] - Service ranking is only obeyed on first component activation
303 * [FELIX-1416] - Wrong factory configuration behaviour
304 * [FELIX-1436] - Descriptors with duplicate implementation and/or service elements are invalid
305 * [FELIX-1437] - DS 1.1 signatures for activators and bind methods only available for declaration with new namespace
306 * [FELIX-1440] - Abort method (binder, activator) method search on non-accessible suitable methods
307 * [FELIX-1445] - When a component is deactivated due to the deactivation of a service to which it staticly 1..1 references, this component is not reactivated when that service is reregistered.
308 * [FELIX-1503] - Component Factory instances are not let gone after dispose
309 * [FELIX-1504] - ComponentInstance implementation is reused accross reactivations
310 * [FELIX-1658] - Deadlocks caused by component activation and deactivation
311 * [FELIX-1666] - Missing support for DS 1.1 specified lazy activation behavior
312 * [FELIX-1674] - typo in scr and webconsole - "unsatisifed"
313 * [FELIX-1714] - typo in scr command
314 * [FELIX-1733] - Disposed components are not removed from the component registry
315 * [FELIX-1825] - Configurations of delayed components are not deactivated if not used any more
316 * [FELIX-1826] - ComponentException must be thrown if ComponentFactory.newInstance cannot create a component instance
317 * [FELIX-1827] - Check permission before getting or registering services
318 * [FELIX-1830] - Support for DS 1.1 character property type name
319 * [FELIX-1832] - ServiceFactory must not be deactivated if the instances fails to be created
320 * [FELIX-1833] - Stopping the Felix SCR bundle may leave traces behind thus preventing the class loader from being GC-ed
321
322** Improvement
323 * [FELIX-1186] - Defer the construction of a log message
324 * [FELIX-1223] - Replace ManagedService[Factory] by ConfigurationListener based component configuration
325 * [FELIX-1239] - AbstractComponentManager.getServiceReference need not be synchronized
326 * [FELIX-1313] - Declarative Services bundle should not export Configuration Admin package
327 * [FELIX-1314] - Restructure SCR implementation package
328 * [FELIX-1443] - Unify Method lookup
329 * [FELIX-1447] - Remove ComponentMetadata parameter from AbstractComponentManager.log method signature
330 * [FELIX-1530] - Extend the SCR introspection API to reflect the new DS 1.1 features
331 * [FELIX-1686] - Missing activate or deativate methods show up as Error in LogService
332 * [FELIX-1735] - Use system property to provide bundle jar file to integration tests
333 * [FELIX-1823] - Drop support for Framework API 1.3 (R4.0)
334
335** New Feature
336 * [FELIX-924] - No component instance if no Configuration
337 * [FELIX-925] - Extend SCR to allow alternate activate and deactivate method signatures
338 * [FELIX-927] - Allow bind and unbind methods to receive the service properties
339 * [FELIX-928] - Allow use of wildcards in Service-Component header
340 * [FELIX-929] - Making name attributes optional
341 * [FELIX-930] - XML schema namespace change
342 * [FELIX-1232] - Do not use private configuration properties as service properties
343 * [FELIX-1284] - Support for the 'modified' operation (DS in OSGi 4.2 compendium)
344
345** Task
346 * [FELIX-1711] - Remove OSGi library source from SVN and depend on official R4.2 libraries
347
Felix Meschbergerda38c6b2010-08-10 11:36:17 +0000348
Felix Meschbergerb35c8332010-05-28 20:27:35 +0000349Changes from 1.0.6 to 1.0.8
350---------------------------
351
352** Bug
353 * [FELIX-714] - Needless component reactivation on startup
354 * [FELIX-832] - Bind method not invoked when the unbind method is unspecified after reference is changed
355 * [FELIX-836] - Deadlocks caused by Declarative Services
356 * [FELIX-861] - NullPointerException on stopping bundle managed by SCR
357 * [FELIX-950] - service.ranking property not respected for singular service reference
358 * [FELIX-993] - Reference target filters not handled correctly
359 * [FELIX-1044] - DependencyManager may miss service registrations
360 * [FELIX-1053] - SCR: Bound Service Replacement regression ?
361
362** Improvement
363 * [FELIX-639] - Need more logs from SCR
364 * [FELIX-717] - Fix License Reference for KXml in NOTICE file
365 * [FELIX-923] - Log a better message if the names of components collide
366 * [FELIX-1046] - Upgrade parent pom reference to new parent pom (for repository.a.o deployment)
367
368
369Changes from 1.0.4 to 1.0.6
370---------------------------
371
372** Bug
373 * [FELIX-694] - NullPointerException on shutdown
374 * [FELIX-695] - XML configuration file uses unqualified locals
375 * [FELIX-698] - SCR logs "java.lang.IllegalStateException: Invalid BundleContext" when activating components
376
377** Improvement
378 * [FELIX-668] - SCR OBR description
379
Felix Meschbergerda38c6b2010-08-10 11:36:17 +0000380
Felix Meschbergerb35c8332010-05-28 20:27:35 +0000381Changes from 1.0.2 to 1.0.4
382---------------------------
383
384** Bug
385 * [FELIX-624] - Wrong classloader is used to detect bind/unbind methods
386 * [FELIX-646] - Reconfiguration of factory components is not possible
387
Felix Meschbergerda38c6b2010-08-10 11:36:17 +0000388
Felix Meschbergerb35c8332010-05-28 20:27:35 +0000389Changes from 1.0.0 to 1.0.2
390---------------------------
391
392** Bug
393 * [FELIX-490] - Deadlocks may be caused by Declarative Services
394 * [FELIX-539] - Intermittent IllegalArgumentException while using declarative services
395 * [FELIX-550] - SCR registers service component twice after stopping/starting a bundle
396 * [FELIX-578] - ComponentFactoryImpl.newInstance() must create the component synchronously
397 * [FELIX-579] - NPE in AbstractComponentManager
398 * [FELIX-591] - NPE in AbstractComponentManager
399 * [FELIX-593] - Fix handling of immediate attribute of component factories
400 * [FELIX-599] - Service Registration Lock: Do not release not-owned lock and don't wait so long for the lock
401 * [FELIX-601] - Reactivation of a component after a configuration update should be completely asynchronous
402
403
404Initial Release 1.0.0
405---------------------
406
407** Bug
408 * [FELIX-105] - SCR component/reference/cardinality never used
409 * [FELIX-106] - SCR doesn't support XML documents with namespaces
410 * [FELIX-109] - java.lang.ClassCastException when the component descriptor contains <property> elements
411 * [FELIX-112] - activate() calls do not match with deactivate() calls for a delayed component (immediate="false") and service instances are multiple (although there is no factory)
412 * [FELIX-264] - Update pom to use new bundle plugin
413 * [FELIX-268] - SCR module in the pom.xml
414 * [FELIX-279] - Concurrency Issues when enabling components
415 * [FELIX-337] - Immediate components are registered as delayed
416 * [FELIX-341] - Intermittent exception during Felix shutdown
417 * [FELIX-356] - DependencyManager.bind may bind to null and does not correctly check for success
418 * [FELIX-357] - activation and deactivation may run concurrently
419 * [FELIX-364] - 0..1 dynamic service reference does not bind properly.
420 * [FELIX-366] - Bound Service Replacement incorrect
421 * [FELIX-368] - Service binding odities if (un)bind methods take ServiceReferences
422 * [FELIX-384] - Possible deadlock on framework startlevel change
423 * [FELIX-385] - ReferenceMetadata.setTarget includes the interface name in the target filter
424 * [FELIX-387] - Fix support for reference service target properties
425 * [FELIX-425] - DependencyManager does not correctly handle service counting
426 * [FELIX-464] - Cannot retrieve service to be unbound in unbind method taking ServiceReference
427 * [FELIX-489] - Intermittent deadlock while using declarative services in Tuscany
428
429** Improvement
430 * [FELIX-128] - Implementing missing ComponentContext methods
431 * [FELIX-131] - Fix method lookup and implement enableComponet/disableComponent
432 * [FELIX-132] - Integrate SCR with Felix
433 * [FELIX-140] - Drop GenericActivator from SCR
434 * [FELIX-243] - Add support for ServiceFactory components
435 * [FELIX-254] - Add support for property values in <property> element body
436 * [FELIX-258] - Support Configuration Admin configuration
437 * [FELIX-259] - Add support for factory components
438 * [FELIX-277] - Improve SCR packaging to make it simpler to deploy and use
439 * [FELIX-373] - Log the unsatisfied dependencies of a component which prevent activation of the component
440 * [FELIX-374] - Register ManagedService on behalf of components to receive Configuration
441 * [FELIX-392] - Better handle unexpected issues when trying to get a activation or binding method by reflection
442
443** New Feature
444 * [FELIX-18] - Implement Declarative Services
445 * [FELIX-110] - completion of the current Felix SCR implementation to take into account components <properties> elements
446 * [FELIX-284] - Add Management API
447
448** Task
Pierre De Ropefd44f32012-06-01 14:18:54 +0000449 * [FELIX-144] - Change all headers and remove copyright notices