blob: 64603e88dd977b21d346596340ff0e1a06786922 [file] [log] [blame]
Felix Meschberger626a3f82011-10-17 10:07:59 +00001Changes from 1.6.0 to 1.6.2
2---------------------------
3
4** Bug
5 * [FELIX-2578] - Declarative Services bundle does not start without Configuration Admin API wired
6 * [FELIX-2821] - Component service references not unbound in reverse order (breaks compendium spec 112.5.15)
7 * [FELIX-2823] - Uncaught exception in case of circular service reference
8 * [FELIX-2824] - Components that have a ConfigurationPolicy value of REQUIRE fail to activate
9 * [FELIX-2926] - No log message on missing activate method
10 * [FELIX-2944] - SCR/ spec version 1.1-felix is causing NPE in XmlHandler
11 * [FELIX-2962] - SCR doesn't detect invalid XML
12 * [FELIX-3039] - SCR cleans up delayed service components too aggressively
13 * [FELIX-3086] - IllegalArgumentException in PropertyMetadata.setValues()
14 * [FELIX-3087] - Given invalid value, but the property isn't invalid.
15 * [FELIX-3089] - A component without ServicePermissions cannot be registered as a service
16 * [FELIX-3093] - SCR project does not build on machines with empty M2 repository
17 * [FELIX-3108] - SCR doesn't cope when the DS xml is not encoded using the default platform encoding.
18 * [FELIX-3126] - SCR activates a service component while the containing bundle is stopping.
19
20** Improvement
21 * [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 Meschberger23e633e2012-01-11 08:14:55 +000022 * [FELIX-3232] - Re-Import SCR Service API
Felix Meschberger626a3f82011-10-17 10:07:59 +000023
24** New Feature
25 * [FELIX-2712] - [SCR] Add Gogo command support
26
27** Task
28 * [FELIX-2539] - Include DEPENDENCIES file in distributables
29 * [FELIX-2553] - Reconsider logging/log levels
30 * [FELIX-2903] - Inline required KXml classes
31 * [FELIX-3158] - Upgrade to Felix parent POM 2.1 and use managed ant plugin version
32
33** Wish
34 * [FELIX-1747] - Use Remote Resources Plugin to generate the legal files
35
36
Felix Meschbergerda38c6b2010-08-10 11:36:17 +000037Changes from 1.4.0 to 1.6.0
38---------------------------
39
40** Bug
41 * [FELIX-1952] - Factory configured ComponentFactory instances not reconfigured when configuration updated
42 * [FELIX-1997] - Actual configuration might not be reflected in the web console
43 * [FELIX-2006] - If an Error is thrown instantiated a component, the component remains in the Activating state and cannot be managed any longer
44 * [FELIX-2090] - Multiple concurrency issues under heavy "stop/start" load
45 * [FELIX-2091] - AbstractComponentManager.getBundle() may throw NullPointerException
46 * [FELIX-2213] - NPE when modifying properties of lazy (uninstantiated) service
47 * [FELIX-2230] - NPE deactivating service during fw shutdown
48 * [FELIX-2231] - Errors with services in Lazy bundles
49 * [FELIX-2233] - ConfiguredComponentHolder tracks component enablement but not disablement
50 * [FELIX-2288] - Felix SCR API problem/misunderstanding
51 * [FELIX-2289] - Unsynchronized access to map of component instances may block the system
52 * [FELIX-2325] - SCR says that my component is registered twice
53 * [FELIX-2370] - Access to internal data structures for delayed and service factory components not thread safe
54 * [FELIX-2399] - Make ScrService lenient against unexpected configuration data types
55 * [FELIX-2510] - Configuration not provided to components if Configuration Admin is not active while setting up components
56 * [FELIX-2518] - Modified method without arguments not supported
57 * [FELIX-2519] - Declarative Services 1.0 descriptors must fail to validate if 1.1 attributes are declared
58 * [FELIX-2520] - Bind method selection must not expect the component's bundle to import the service interface type
59 * [FELIX-2521] - Method call failures not always handled correctly
60 * [FELIX-2523] - Component must be reactivated even if modified method is declared
61
62** Improvement
63 * [FELIX-2368] - Activate components synchronously
64 * [FELIX-2372] - Improve logging on IllegalStateException getting a service
65 * [FELIX-2526] - Add a property to enable workarounds for CT assumptions
66
67** Sub-task
68 * [FELIX-2534] - Adapt SCR LICENSE and NOTICE files
69
70
Felix Meschbergerb35c8332010-05-28 20:27:35 +000071Changes from 1.2.0 to 1.4.0
72---------------------------
73
74** Bug
75 * [FELIX-1841] - SCR invokes bind method twice when dependency service properties are modified
76 * [FELIX-1846] - When updated configuration of component without a previously set target filter, NullPointerException is thrown
77 * [FELIX-1866] - SCR 1.1 restarts components when service properties are changed, even if "modified" attributed is specified
78 * [FELIX-1922] - issue with configuration policy=require and with factory components
79 * [FELIX-1923] - SCR project misses explicit Maven Bundle Plugin version
80 * [FELIX-1926] - Access to internal maps in the ComponentRegistry must be guarded against concurrency issues
81 * [FELIX-1927] - NPE in AbstractComponentManager if no services are provided and a SecurityManager is installed
82 * [FELIX-1942] - Component Factory instances are may reactivate
83 * [FELIX-1943] - Component Factory not deactivated if required reference unregistered
84 * [FELIX-1944] - Reference.getServiceReferences() returns empty array if no services bound
85
86** Improvement
87 * [FELIX-1897] - Add proper Configuration Admin support for SCR configuration
88
89** New Feature
90 * [FELIX-1893] - Add "update" callback support to inform components of modified service properties
91
92** Task
93 * [FELIX-1945] - Increase org.apache.felix.scr package export to 1.4
94
Felix Meschbergerda38c6b2010-08-10 11:36:17 +000095
Felix Meschbergerb35c8332010-05-28 20:27:35 +000096Changes from 1.0.8 to 1.2.0
97---------------------------
98
99** Bug
100 * [FELIX-1162] - Component.getReferences returns null if a component that has references is not enabled.
101 * [FELIX-1166] - SCR does not rebind ConfigurationAdmin service in Sling jcrinstall tests
102 * [FELIX-1173] - Concurrency Issues while containing bundle is stopping
103 * [FELIX-1177] - Components must correctly be disposed off
104 * [FELIX-1178] - Component may remain deactivated after a reference has been unregistered and registered again
105 * [FELIX-1185] - If a static/mandatory reference to a service is unregistered, the component should be deactivated synchronously instead of asynchronously
106 * [FELIX-1195] - NullPointerException in ComponentActivatorTask if component is destroyed
107 * [FELIX-1238] - NPE when invoking "scr list" with no components registered
108 * [FELIX-1252] - NullPointerException in "scr list" command
109 * [FELIX-1413] - Newly registered services must not immediately bound for static references
110 * [FELIX-1414] - Service ranking is only obeyed on first component activation
111 * [FELIX-1416] - Wrong factory configuration behaviour
112 * [FELIX-1436] - Descriptors with duplicate implementation and/or service elements are invalid
113 * [FELIX-1437] - DS 1.1 signatures for activators and bind methods only available for declaration with new namespace
114 * [FELIX-1440] - Abort method (binder, activator) method search on non-accessible suitable methods
115 * [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.
116 * [FELIX-1503] - Component Factory instances are not let gone after dispose
117 * [FELIX-1504] - ComponentInstance implementation is reused accross reactivations
118 * [FELIX-1658] - Deadlocks caused by component activation and deactivation
119 * [FELIX-1666] - Missing support for DS 1.1 specified lazy activation behavior
120 * [FELIX-1674] - typo in scr and webconsole - "unsatisifed"
121 * [FELIX-1714] - typo in scr command
122 * [FELIX-1733] - Disposed components are not removed from the component registry
123 * [FELIX-1825] - Configurations of delayed components are not deactivated if not used any more
124 * [FELIX-1826] - ComponentException must be thrown if ComponentFactory.newInstance cannot create a component instance
125 * [FELIX-1827] - Check permission before getting or registering services
126 * [FELIX-1830] - Support for DS 1.1 character property type name
127 * [FELIX-1832] - ServiceFactory must not be deactivated if the instances fails to be created
128 * [FELIX-1833] - Stopping the Felix SCR bundle may leave traces behind thus preventing the class loader from being GC-ed
129
130** Improvement
131 * [FELIX-1186] - Defer the construction of a log message
132 * [FELIX-1223] - Replace ManagedService[Factory] by ConfigurationListener based component configuration
133 * [FELIX-1239] - AbstractComponentManager.getServiceReference need not be synchronized
134 * [FELIX-1313] - Declarative Services bundle should not export Configuration Admin package
135 * [FELIX-1314] - Restructure SCR implementation package
136 * [FELIX-1443] - Unify Method lookup
137 * [FELIX-1447] - Remove ComponentMetadata parameter from AbstractComponentManager.log method signature
138 * [FELIX-1530] - Extend the SCR introspection API to reflect the new DS 1.1 features
139 * [FELIX-1686] - Missing activate or deativate methods show up as Error in LogService
140 * [FELIX-1735] - Use system property to provide bundle jar file to integration tests
141 * [FELIX-1823] - Drop support for Framework API 1.3 (R4.0)
142
143** New Feature
144 * [FELIX-924] - No component instance if no Configuration
145 * [FELIX-925] - Extend SCR to allow alternate activate and deactivate method signatures
146 * [FELIX-927] - Allow bind and unbind methods to receive the service properties
147 * [FELIX-928] - Allow use of wildcards in Service-Component header
148 * [FELIX-929] - Making name attributes optional
149 * [FELIX-930] - XML schema namespace change
150 * [FELIX-1232] - Do not use private configuration properties as service properties
151 * [FELIX-1284] - Support for the 'modified' operation (DS in OSGi 4.2 compendium)
152
153** Task
154 * [FELIX-1711] - Remove OSGi library source from SVN and depend on official R4.2 libraries
155
Felix Meschbergerda38c6b2010-08-10 11:36:17 +0000156
Felix Meschbergerb35c8332010-05-28 20:27:35 +0000157Changes from 1.0.6 to 1.0.8
158---------------------------
159
160** Bug
161 * [FELIX-714] - Needless component reactivation on startup
162 * [FELIX-832] - Bind method not invoked when the unbind method is unspecified after reference is changed
163 * [FELIX-836] - Deadlocks caused by Declarative Services
164 * [FELIX-861] - NullPointerException on stopping bundle managed by SCR
165 * [FELIX-950] - service.ranking property not respected for singular service reference
166 * [FELIX-993] - Reference target filters not handled correctly
167 * [FELIX-1044] - DependencyManager may miss service registrations
168 * [FELIX-1053] - SCR: Bound Service Replacement regression ?
169
170** Improvement
171 * [FELIX-639] - Need more logs from SCR
172 * [FELIX-717] - Fix License Reference for KXml in NOTICE file
173 * [FELIX-923] - Log a better message if the names of components collide
174 * [FELIX-1046] - Upgrade parent pom reference to new parent pom (for repository.a.o deployment)
175
176
177Changes from 1.0.4 to 1.0.6
178---------------------------
179
180** Bug
181 * [FELIX-694] - NullPointerException on shutdown
182 * [FELIX-695] - XML configuration file uses unqualified locals
183 * [FELIX-698] - SCR logs "java.lang.IllegalStateException: Invalid BundleContext" when activating components
184
185** Improvement
186 * [FELIX-668] - SCR OBR description
187
Felix Meschbergerda38c6b2010-08-10 11:36:17 +0000188
Felix Meschbergerb35c8332010-05-28 20:27:35 +0000189Changes from 1.0.2 to 1.0.4
190---------------------------
191
192** Bug
193 * [FELIX-624] - Wrong classloader is used to detect bind/unbind methods
194 * [FELIX-646] - Reconfiguration of factory components is not possible
195
Felix Meschbergerda38c6b2010-08-10 11:36:17 +0000196
Felix Meschbergerb35c8332010-05-28 20:27:35 +0000197Changes from 1.0.0 to 1.0.2
198---------------------------
199
200** Bug
201 * [FELIX-490] - Deadlocks may be caused by Declarative Services
202 * [FELIX-539] - Intermittent IllegalArgumentException while using declarative services
203 * [FELIX-550] - SCR registers service component twice after stopping/starting a bundle
204 * [FELIX-578] - ComponentFactoryImpl.newInstance() must create the component synchronously
205 * [FELIX-579] - NPE in AbstractComponentManager
206 * [FELIX-591] - NPE in AbstractComponentManager
207 * [FELIX-593] - Fix handling of immediate attribute of component factories
208 * [FELIX-599] - Service Registration Lock: Do not release not-owned lock and don't wait so long for the lock
209 * [FELIX-601] - Reactivation of a component after a configuration update should be completely asynchronous
210
211
212Initial Release 1.0.0
213---------------------
214
215** Bug
216 * [FELIX-105] - SCR component/reference/cardinality never used
217 * [FELIX-106] - SCR doesn't support XML documents with namespaces
218 * [FELIX-109] - java.lang.ClassCastException when the component descriptor contains <property> elements
219 * [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)
220 * [FELIX-264] - Update pom to use new bundle plugin
221 * [FELIX-268] - SCR module in the pom.xml
222 * [FELIX-279] - Concurrency Issues when enabling components
223 * [FELIX-337] - Immediate components are registered as delayed
224 * [FELIX-341] - Intermittent exception during Felix shutdown
225 * [FELIX-356] - DependencyManager.bind may bind to null and does not correctly check for success
226 * [FELIX-357] - activation and deactivation may run concurrently
227 * [FELIX-364] - 0..1 dynamic service reference does not bind properly.
228 * [FELIX-366] - Bound Service Replacement incorrect
229 * [FELIX-368] - Service binding odities if (un)bind methods take ServiceReferences
230 * [FELIX-384] - Possible deadlock on framework startlevel change
231 * [FELIX-385] - ReferenceMetadata.setTarget includes the interface name in the target filter
232 * [FELIX-387] - Fix support for reference service target properties
233 * [FELIX-425] - DependencyManager does not correctly handle service counting
234 * [FELIX-464] - Cannot retrieve service to be unbound in unbind method taking ServiceReference
235 * [FELIX-489] - Intermittent deadlock while using declarative services in Tuscany
236
237** Improvement
238 * [FELIX-128] - Implementing missing ComponentContext methods
239 * [FELIX-131] - Fix method lookup and implement enableComponet/disableComponent
240 * [FELIX-132] - Integrate SCR with Felix
241 * [FELIX-140] - Drop GenericActivator from SCR
242 * [FELIX-243] - Add support for ServiceFactory components
243 * [FELIX-254] - Add support for property values in <property> element body
244 * [FELIX-258] - Support Configuration Admin configuration
245 * [FELIX-259] - Add support for factory components
246 * [FELIX-277] - Improve SCR packaging to make it simpler to deploy and use
247 * [FELIX-373] - Log the unsatisfied dependencies of a component which prevent activation of the component
248 * [FELIX-374] - Register ManagedService on behalf of components to receive Configuration
249 * [FELIX-392] - Better handle unexpected issues when trying to get a activation or binding method by reflection
250
251** New Feature
252 * [FELIX-18] - Implement Declarative Services
253 * [FELIX-110] - completion of the current Felix SCR implementation to take into account components <properties> elements
254 * [FELIX-284] - Add Management API
255
256** Task
257 * [FELIX-144] - Change all headers and remove copyright notices