blob: 137232c849231d72f7f8800252de739d8e629426 [file] [log] [blame]
Felix Meschberger10adcef2011-10-17 10:07:59 +00001Changes from 1.6.0 to 1.6.2
2---------------------------
3
Felix Meschbergerf98f70d2012-10-31 19:26:12 +00004** Sub-task
5 * [FELIX-3650] - Don't log a warn message for Configuration Admin LOCATION_CHANGED event
6
Felix Meschberger10adcef2011-10-17 10:07:59 +00007** Bug
8 * [FELIX-2578] - Declarative Services bundle does not start without Configuration Admin API wired
9 * [FELIX-2821] - Component service references not unbound in reverse order (breaks compendium spec 112.5.15)
10 * [FELIX-2823] - Uncaught exception in case of circular service reference
11 * [FELIX-2824] - Components that have a ConfigurationPolicy value of REQUIRE fail to activate
12 * [FELIX-2926] - No log message on missing activate method
13 * [FELIX-2944] - SCR/ spec version 1.1-felix is causing NPE in XmlHandler
14 * [FELIX-2962] - SCR doesn't detect invalid XML
Felix Meschbergerdfcaa842012-06-01 12:48:16 +000015 * [FELIX-2992] - scr 1.6.1-SNAPSHOT: impossible to build due to obsolete dependencies
Felix Meschberger10adcef2011-10-17 10:07:59 +000016 * [FELIX-3039] - SCR cleans up delayed service components too aggressively
17 * [FELIX-3086] - IllegalArgumentException in PropertyMetadata.setValues()
18 * [FELIX-3087] - Given invalid value, but the property isn't invalid.
19 * [FELIX-3089] - A component without ServicePermissions cannot be registered as a service
Felix Meschbergerdfcaa842012-06-01 12:48:16 +000020 * [FELIX-3090] - SCR factory components ignore reference target filters
Felix Meschberger10adcef2011-10-17 10:07:59 +000021 * [FELIX-3093] - SCR project does not build on machines with empty M2 repository
22 * [FELIX-3108] - SCR doesn't cope when the DS xml is not encoded using the default platform encoding.
23 * [FELIX-3126] - SCR activates a service component while the containing bundle is stopping.
Felix Meschbergerdfcaa842012-06-01 12:48:16 +000024 * [FELIX-3288] - NPE when component exposed as a service with servicefactory = true
25 * [FELIX-3307] - NPE in DependencyManager.invokeBindMethod
Felix Meschberger8d3ccae2012-01-26 14:48:54 +000026 * [FELIX-3317] - Concurrency issue during Component Service registration
Felix Meschbergerdfcaa842012-06-01 12:48:16 +000027 * [FELIX-3325] - Finding activate/deactivate/modified methods has numerous problems
28 * [FELIX-3409] - with permissions enabled, AbstractComponentManager.verifyDependencyManagers is wrong.
29 * [FELIX-3410] - ImmediateComponentManager should use any non-ignored configuration to try to activate a component.
30 * [FELIX-3456] - Component ignores required static service addition when in Activating state
Felix Meschbergerf98f70d2012-10-31 19:26:12 +000031 * [FELIX-3533] - Strip out . properties when a lifecycle method returns service properties
32 * [FELIX-3534] - ServiceFactory components don't deal with ConfigurationAdmin updates properly
33 * [FELIX-3535] - Minor DS cleanup fixes
34 * [FELIX-3536] - Consider putting the non-spec ComponentFactory behavior in a separate class
35 * [FELIX-3557] - Tests for DS circular dependency behavior
36 * [FELIX-3559] - [DS] first register immediate components' service, then create the implementation object per spec
37 * [FELIX-3625] - "officially" upgrade scr to ds 1.2 from compendium 4.3
David Jencks621c15b2012-10-31 18:53:13 +000038 * [FELIX-3637] - DS bind concurrency problem
Felix Meschbergerf98f70d2012-10-31 19:26:12 +000039 * [FELIX-3639] - SCR "need write lock" assertion error
40 * [FELIX-3646] - AbstractComponent.disposeInternal ignores reason
David Jencks621c15b2012-10-31 18:53:13 +000041 * [FELIX-3647] - Component modification must continue if modify method throws
42 * [FELIX-3648] - A component declared with DS 1.0 or DS 1.1 namespace must fail validation if Reference.updated attribute is declared
Felix Meschbergerf98f70d2012-10-31 19:26:12 +000043 * [FELIX-3649] - Remove ct.workaround property and support
44 * [FELIX-3657] - [DS] ServiceFactory problems
45 * [FELIX-3658] - [DS] disableing a component that is a dependency of another results in an IllegalStateException
46 * [FELIX-3659] - [DS] Share the method objects among all the dependency managers and component managers for the same class
47 * [FELIX-3675] - [DS] NPE shutting down a component due to service already removed
48 * [FELIX-3676] - [DS] misleading logging on first immediate component getService call
49 * [FELIX-3681] - [DS] Dependencies are not dropped when implemention object is discarded
50 * [FELIX-3697] - [DS] create all the components in a bundle before enabling them
51 * [FELIX-3698] - [DS] code simplification for BundleComponentActivator.getSelectedComponents
52 * [FELIX-3704] - [DS] ds shutdown should wait for ComponentActorThread task queue to complete before finishing
53 * [FELIX-3710] - [DS] don't try to activate for a service event for an optional reference
54 * [FELIX-3717] - [DS] unbind method might not have correct parameters
55 * [FELIX-3718] - [DS] deactivate might not move component state to unsatisfied
56 * [FELIX-3719] - [DS] disabling a dependency manager should not reset the service count
David Jencks621c15b2012-10-31 18:53:13 +000057 * [FELIX-3723] - ClassCastException on ConfigurationAdmin service creating components
Felix Meschbergerf98f70d2012-10-31 19:26:12 +000058 * [FELIX-3724] - [DS] concurrent getService calls may return null
59 * [FELIX-3725] - [DS] hidden dependency on spring junit wrapper from pax exam
60 * [FELIX-3726] - Reference target filters defined as component properties are ignored
61 * [FELIX-3727] - [DS] NPE during shutdown
David Jencks731744a2012-11-06 23:20:27 +000062 * [FELIX-3744] - set implementation object before modifying service properties
Felix Meschberger6b375422012-11-07 10:37:18 +000063
Felix Meschberger10adcef2011-10-17 10:07:59 +000064** Improvement
65 * [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 Meschbergerdfcaa842012-06-01 12:48:16 +000066 * [FELIX-3016] - Activator log level cannot be changed dynamically through Configuration Admin
Felix Meschberger2e481172012-01-11 08:14:55 +000067 * [FELIX-3232] - Re-Import SCR Service API
Felix Meschbergerdfcaa842012-06-01 12:48:16 +000068 * [FELIX-3371] - update scr build to recent pax components
69 * [FELIX-3377] - Allow a component to update its own service properties
70 * [FELIX-3506] - SCR bind/unbind/update methods should be able to return a map of service properties like the activate/deactivate/modified methods.s
Felix Meschbergerf98f70d2012-10-31 19:26:12 +000071 * [FELIX-3569] - Improve configured method handling for ComponentFactory instances
72 * [FELIX-3662] - [DS] use backport-util-concurrenct instead of concurrent for pre java 5 compatibility
73 * [FELIX-3677] - [DS] in the scr command info operation, show the bound service references
Felix Meschberger10adcef2011-10-17 10:07:59 +000074
75** New Feature
76 * [FELIX-2712] - [SCR] Add Gogo command support
Felix Meschbergerdfcaa842012-06-01 12:48:16 +000077 * [FELIX-3507] - scr greedy and reluctant policy options from compendium 4.3
Felix Meschbergerf98f70d2012-10-31 19:26:12 +000078 * [FELIX-3524] - SCR configuration-pid from compendium 4.3
Felix Meschberger10adcef2011-10-17 10:07:59 +000079
80** Task
81 * [FELIX-2539] - Include DEPENDENCIES file in distributables
82 * [FELIX-2553] - Reconsider logging/log levels
83 * [FELIX-2903] - Inline required KXml classes
84 * [FELIX-3158] - Upgrade to Felix parent POM 2.1 and use managed ant plugin version
Felix Meschbergerdfcaa842012-06-01 12:48:16 +000085 * [FELIX-3527] - Add Java API usage check
Felix Meschbergerf98f70d2012-10-31 19:26:12 +000086 * [FELIX-3668] - Revert Rev. 1381440 "restore previous behavior when a bind method cannot be found"
87 * [FELIX-3679] - Component names need not be globally unique any more
Felix Meschberger9b7bba02012-11-07 11:09:42 +000088 * [FELIX-3747] - Cleanup maven project setup
Felix Meschberger10adcef2011-10-17 10:07:59 +000089
90** Wish
91 * [FELIX-1747] - Use Remote Resources Plugin to generate the legal files
92
93
Felix Meschberger8f4d71f2010-08-10 11:36:17 +000094Changes from 1.4.0 to 1.6.0
95---------------------------
96
97** Bug
98 * [FELIX-1952] - Factory configured ComponentFactory instances not reconfigured when configuration updated
99 * [FELIX-1997] - Actual configuration might not be reflected in the web console
100 * [FELIX-2006] - If an Error is thrown instantiated a component, the component remains in the Activating state and cannot be managed any longer
101 * [FELIX-2090] - Multiple concurrency issues under heavy "stop/start" load
102 * [FELIX-2091] - AbstractComponentManager.getBundle() may throw NullPointerException
103 * [FELIX-2213] - NPE when modifying properties of lazy (uninstantiated) service
104 * [FELIX-2230] - NPE deactivating service during fw shutdown
105 * [FELIX-2231] - Errors with services in Lazy bundles
106 * [FELIX-2233] - ConfiguredComponentHolder tracks component enablement but not disablement
107 * [FELIX-2288] - Felix SCR API problem/misunderstanding
108 * [FELIX-2289] - Unsynchronized access to map of component instances may block the system
109 * [FELIX-2325] - SCR says that my component is registered twice
110 * [FELIX-2370] - Access to internal data structures for delayed and service factory components not thread safe
111 * [FELIX-2399] - Make ScrService lenient against unexpected configuration data types
112 * [FELIX-2510] - Configuration not provided to components if Configuration Admin is not active while setting up components
113 * [FELIX-2518] - Modified method without arguments not supported
114 * [FELIX-2519] - Declarative Services 1.0 descriptors must fail to validate if 1.1 attributes are declared
115 * [FELIX-2520] - Bind method selection must not expect the component's bundle to import the service interface type
116 * [FELIX-2521] - Method call failures not always handled correctly
117 * [FELIX-2523] - Component must be reactivated even if modified method is declared
118
119** Improvement
120 * [FELIX-2368] - Activate components synchronously
121 * [FELIX-2372] - Improve logging on IllegalStateException getting a service
122 * [FELIX-2526] - Add a property to enable workarounds for CT assumptions
123
124** Sub-task
125 * [FELIX-2534] - Adapt SCR LICENSE and NOTICE files
126
127
Felix Meschberger18c02d42010-05-28 20:27:35 +0000128Changes from 1.2.0 to 1.4.0
129---------------------------
130
131** Bug
132 * [FELIX-1841] - SCR invokes bind method twice when dependency service properties are modified
133 * [FELIX-1846] - When updated configuration of component without a previously set target filter, NullPointerException is thrown
134 * [FELIX-1866] - SCR 1.1 restarts components when service properties are changed, even if "modified" attributed is specified
135 * [FELIX-1922] - issue with configuration policy=require and with factory components
136 * [FELIX-1923] - SCR project misses explicit Maven Bundle Plugin version
137 * [FELIX-1926] - Access to internal maps in the ComponentRegistry must be guarded against concurrency issues
138 * [FELIX-1927] - NPE in AbstractComponentManager if no services are provided and a SecurityManager is installed
139 * [FELIX-1942] - Component Factory instances are may reactivate
140 * [FELIX-1943] - Component Factory not deactivated if required reference unregistered
141 * [FELIX-1944] - Reference.getServiceReferences() returns empty array if no services bound
142
143** Improvement
144 * [FELIX-1897] - Add proper Configuration Admin support for SCR configuration
145
146** New Feature
147 * [FELIX-1893] - Add "update" callback support to inform components of modified service properties
148
149** Task
150 * [FELIX-1945] - Increase org.apache.felix.scr package export to 1.4
151
Felix Meschberger8f4d71f2010-08-10 11:36:17 +0000152
Felix Meschberger18c02d42010-05-28 20:27:35 +0000153Changes from 1.0.8 to 1.2.0
154---------------------------
155
156** Bug
157 * [FELIX-1162] - Component.getReferences returns null if a component that has references is not enabled.
158 * [FELIX-1166] - SCR does not rebind ConfigurationAdmin service in Sling jcrinstall tests
159 * [FELIX-1173] - Concurrency Issues while containing bundle is stopping
160 * [FELIX-1177] - Components must correctly be disposed off
161 * [FELIX-1178] - Component may remain deactivated after a reference has been unregistered and registered again
162 * [FELIX-1185] - If a static/mandatory reference to a service is unregistered, the component should be deactivated synchronously instead of asynchronously
163 * [FELIX-1195] - NullPointerException in ComponentActivatorTask if component is destroyed
164 * [FELIX-1238] - NPE when invoking "scr list" with no components registered
165 * [FELIX-1252] - NullPointerException in "scr list" command
166 * [FELIX-1413] - Newly registered services must not immediately bound for static references
167 * [FELIX-1414] - Service ranking is only obeyed on first component activation
168 * [FELIX-1416] - Wrong factory configuration behaviour
169 * [FELIX-1436] - Descriptors with duplicate implementation and/or service elements are invalid
170 * [FELIX-1437] - DS 1.1 signatures for activators and bind methods only available for declaration with new namespace
171 * [FELIX-1440] - Abort method (binder, activator) method search on non-accessible suitable methods
172 * [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.
173 * [FELIX-1503] - Component Factory instances are not let gone after dispose
174 * [FELIX-1504] - ComponentInstance implementation is reused accross reactivations
175 * [FELIX-1658] - Deadlocks caused by component activation and deactivation
176 * [FELIX-1666] - Missing support for DS 1.1 specified lazy activation behavior
177 * [FELIX-1674] - typo in scr and webconsole - "unsatisifed"
178 * [FELIX-1714] - typo in scr command
179 * [FELIX-1733] - Disposed components are not removed from the component registry
180 * [FELIX-1825] - Configurations of delayed components are not deactivated if not used any more
181 * [FELIX-1826] - ComponentException must be thrown if ComponentFactory.newInstance cannot create a component instance
182 * [FELIX-1827] - Check permission before getting or registering services
183 * [FELIX-1830] - Support for DS 1.1 character property type name
184 * [FELIX-1832] - ServiceFactory must not be deactivated if the instances fails to be created
185 * [FELIX-1833] - Stopping the Felix SCR bundle may leave traces behind thus preventing the class loader from being GC-ed
186
187** Improvement
188 * [FELIX-1186] - Defer the construction of a log message
189 * [FELIX-1223] - Replace ManagedService[Factory] by ConfigurationListener based component configuration
190 * [FELIX-1239] - AbstractComponentManager.getServiceReference need not be synchronized
191 * [FELIX-1313] - Declarative Services bundle should not export Configuration Admin package
192 * [FELIX-1314] - Restructure SCR implementation package
193 * [FELIX-1443] - Unify Method lookup
194 * [FELIX-1447] - Remove ComponentMetadata parameter from AbstractComponentManager.log method signature
195 * [FELIX-1530] - Extend the SCR introspection API to reflect the new DS 1.1 features
196 * [FELIX-1686] - Missing activate or deativate methods show up as Error in LogService
197 * [FELIX-1735] - Use system property to provide bundle jar file to integration tests
198 * [FELIX-1823] - Drop support for Framework API 1.3 (R4.0)
199
200** New Feature
201 * [FELIX-924] - No component instance if no Configuration
202 * [FELIX-925] - Extend SCR to allow alternate activate and deactivate method signatures
203 * [FELIX-927] - Allow bind and unbind methods to receive the service properties
204 * [FELIX-928] - Allow use of wildcards in Service-Component header
205 * [FELIX-929] - Making name attributes optional
206 * [FELIX-930] - XML schema namespace change
207 * [FELIX-1232] - Do not use private configuration properties as service properties
208 * [FELIX-1284] - Support for the 'modified' operation (DS in OSGi 4.2 compendium)
209
210** Task
211 * [FELIX-1711] - Remove OSGi library source from SVN and depend on official R4.2 libraries
212
Felix Meschberger8f4d71f2010-08-10 11:36:17 +0000213
Felix Meschberger18c02d42010-05-28 20:27:35 +0000214Changes from 1.0.6 to 1.0.8
215---------------------------
216
217** Bug
218 * [FELIX-714] - Needless component reactivation on startup
219 * [FELIX-832] - Bind method not invoked when the unbind method is unspecified after reference is changed
220 * [FELIX-836] - Deadlocks caused by Declarative Services
221 * [FELIX-861] - NullPointerException on stopping bundle managed by SCR
222 * [FELIX-950] - service.ranking property not respected for singular service reference
223 * [FELIX-993] - Reference target filters not handled correctly
224 * [FELIX-1044] - DependencyManager may miss service registrations
225 * [FELIX-1053] - SCR: Bound Service Replacement regression ?
226
227** Improvement
228 * [FELIX-639] - Need more logs from SCR
229 * [FELIX-717] - Fix License Reference for KXml in NOTICE file
230 * [FELIX-923] - Log a better message if the names of components collide
231 * [FELIX-1046] - Upgrade parent pom reference to new parent pom (for repository.a.o deployment)
232
233
234Changes from 1.0.4 to 1.0.6
235---------------------------
236
237** Bug
238 * [FELIX-694] - NullPointerException on shutdown
239 * [FELIX-695] - XML configuration file uses unqualified locals
240 * [FELIX-698] - SCR logs "java.lang.IllegalStateException: Invalid BundleContext" when activating components
241
242** Improvement
243 * [FELIX-668] - SCR OBR description
244
Felix Meschberger8f4d71f2010-08-10 11:36:17 +0000245
Felix Meschberger18c02d42010-05-28 20:27:35 +0000246Changes from 1.0.2 to 1.0.4
247---------------------------
248
249** Bug
250 * [FELIX-624] - Wrong classloader is used to detect bind/unbind methods
251 * [FELIX-646] - Reconfiguration of factory components is not possible
252
Felix Meschberger8f4d71f2010-08-10 11:36:17 +0000253
Felix Meschberger18c02d42010-05-28 20:27:35 +0000254Changes from 1.0.0 to 1.0.2
255---------------------------
256
257** Bug
258 * [FELIX-490] - Deadlocks may be caused by Declarative Services
259 * [FELIX-539] - Intermittent IllegalArgumentException while using declarative services
260 * [FELIX-550] - SCR registers service component twice after stopping/starting a bundle
261 * [FELIX-578] - ComponentFactoryImpl.newInstance() must create the component synchronously
262 * [FELIX-579] - NPE in AbstractComponentManager
263 * [FELIX-591] - NPE in AbstractComponentManager
264 * [FELIX-593] - Fix handling of immediate attribute of component factories
265 * [FELIX-599] - Service Registration Lock: Do not release not-owned lock and don't wait so long for the lock
266 * [FELIX-601] - Reactivation of a component after a configuration update should be completely asynchronous
267
268
269Initial Release 1.0.0
270---------------------
271
272** Bug
273 * [FELIX-105] - SCR component/reference/cardinality never used
274 * [FELIX-106] - SCR doesn't support XML documents with namespaces
275 * [FELIX-109] - java.lang.ClassCastException when the component descriptor contains <property> elements
276 * [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)
277 * [FELIX-264] - Update pom to use new bundle plugin
278 * [FELIX-268] - SCR module in the pom.xml
279 * [FELIX-279] - Concurrency Issues when enabling components
280 * [FELIX-337] - Immediate components are registered as delayed
281 * [FELIX-341] - Intermittent exception during Felix shutdown
282 * [FELIX-356] - DependencyManager.bind may bind to null and does not correctly check for success
283 * [FELIX-357] - activation and deactivation may run concurrently
284 * [FELIX-364] - 0..1 dynamic service reference does not bind properly.
285 * [FELIX-366] - Bound Service Replacement incorrect
286 * [FELIX-368] - Service binding odities if (un)bind methods take ServiceReferences
287 * [FELIX-384] - Possible deadlock on framework startlevel change
288 * [FELIX-385] - ReferenceMetadata.setTarget includes the interface name in the target filter
289 * [FELIX-387] - Fix support for reference service target properties
290 * [FELIX-425] - DependencyManager does not correctly handle service counting
291 * [FELIX-464] - Cannot retrieve service to be unbound in unbind method taking ServiceReference
292 * [FELIX-489] - Intermittent deadlock while using declarative services in Tuscany
293
294** Improvement
295 * [FELIX-128] - Implementing missing ComponentContext methods
296 * [FELIX-131] - Fix method lookup and implement enableComponet/disableComponent
297 * [FELIX-132] - Integrate SCR with Felix
298 * [FELIX-140] - Drop GenericActivator from SCR
299 * [FELIX-243] - Add support for ServiceFactory components
300 * [FELIX-254] - Add support for property values in <property> element body
301 * [FELIX-258] - Support Configuration Admin configuration
302 * [FELIX-259] - Add support for factory components
303 * [FELIX-277] - Improve SCR packaging to make it simpler to deploy and use
304 * [FELIX-373] - Log the unsatisfied dependencies of a component which prevent activation of the component
305 * [FELIX-374] - Register ManagedService on behalf of components to receive Configuration
306 * [FELIX-392] - Better handle unexpected issues when trying to get a activation or binding method by reflection
307
308** New Feature
309 * [FELIX-18] - Implement Declarative Services
310 * [FELIX-110] - completion of the current Felix SCR implementation to take into account components <properties> elements
311 * [FELIX-284] - Add Management API
312
313** Task
Pierre De Rop8d2589b2012-06-01 14:18:54 +0000314 * [FELIX-144] - Change all headers and remove copyright notices