blob: 81100a078ab096ed2b647f3162a6f8baee3e0606 [file] [log] [blame]
Karl Pauls89beb9b2008-11-06 16:17:00 +00001Changes from 1.2.2 to 1.4.0
2---------------------------
3* [2008-11-05] URLStreamHandlerService and ContentHandlerService override
4 built-in handlers and make it possible to use URLHandlers when extending the
5 Felix class. (FELIX-756, FELIX-800)
6* [2008-11-04] Implement ServiceReference.compareTo() method. (FELIX-799)
7* [2008-10-31] Fix some visibility issues in the LDAP operators which could
8 result in incorrect toString values. (FELIX-765)
9* [2008-10-31] Fixed spec compliance issues around getting a service reference
10 from an invalid registration and throwing an exception when there are
11 duplicate property keys. (FELIX-798)
12* [2008-10-21] Fixed an issue with extension bundles which would be installed
13 as fragments and fail to install extension bundles if they have incomplete
14 metadata. (FELIX-770)
15* [2008-10-21] Fix a possible deadlock in URLHandlers. (FELIX-748)
16* [2008-10-16] Modified framework to have default values for the system
17 packages property, which also required modifying main to no longer expect to
18 set it. Now it is possible to start Felix with no configuration properties.
19 (FELIX-753)
20* [2008-10-16] Update felix to work with the 1.0.0-rc1 version of the android
21 sdk.
22* [2008-10-15] Implemented remaining PackageAdmin methods from R4. (FELIX-35)
23* [2008-10-15] Modified resolver to correctly mark fragment modules as resolved.
24 (FELIX-777)
25* [2008-10-15] Modified the resolver to longer consider uninstalled fragments
26 and hosts when resolving dependencies; this required a new "stale" flag on
27 modules that gets set when their associated bundle is uninstalled. (FELIX-776)
28* [2008-10-15] Modified the resolver to sort candidates when resolving
29 Require-Bundle dependencies. (FELIX-775)
30* [2008-10-14] Modified ExportedPackage.getImportingBundles() to include
31 bundles requiring the exporting bundle, in addition to those bundles
32 importing the package. Also tried to simplify dependency management code
33 by separating it out. (FELIX-764)
34* [2008-10-14] Fix a NullPointerException in SecureAction when a
35 SecurityManager is used by keeping pointers on the local stack. (FELIX-766)
36* [2008-10-13] Use System.gc to allow to update and uninstall bundles with
37 native libs on Windows. (FELIX-733)
38* [2008-10-10] Set the activator to null on Bundle.stop() to allow for earlier
39 garbage collection. (FELIX-762)
40* [2008-10-10] Implements support for flushing the cache on framework
41 initialization. (FELIX-755)
42* [2008-10-10] Improve exception messages. (FELIX-750)
43* [2008-10-09] Modified the bundle cache to no longer have profiles. (FELIX-754)
44* [2008-10-08] Modified the Felix API to aligned with the proposed standard
45 OSGi framework API. The framework instance can now be stopped and restarted.
46 (FELIX-753)
47* [2008-09-29] Support transiently starting/stopping bundles. (FELIX-713)
48* [2008-09-25] Correctly discard exported packages when a bundle is chosen to
49 import a package it exports. (FELIX-736)
50* [2008-09-24] Clearly distinguish between "resolved" and "unresolved"
51 capabilities, which is necessary since "resolved" capabilities have higher
52 priority than "unresolved" ones. (FELIX-730)
53* [2008-09-24] Do not bootdelegate in the case where Bundle.loadClass() has
54 been used. (FELIX-712)
55* [2008-09-23] Improve decoding of reference URLs. (FELIX-731)
56* [2008-09-23] For completeness, added symbolic names to framework and main.
57* [2008-09-17] Improve gc by fixing an issue with StartLevel and PackageAdmin.
58 (FELIX-728)
59* [2008-09-15] Fix an issue with Require-Bundle not aggregating packages
60 correctly. (FELIX-722)
61* [2008-09-15] Fixed a bug where class loader delegation for dynamic imports
62 was happening when it shouldn't. (FELIX-724)
63* [2008-09-12] Added a configuration property to determine whether installing a
64 fragment that uses unimplemented features throws an exception or logs a
65 warning. (FELIX-725)
66* [2008-09-12] Removed some experimental code for "implicit requirements",
67 since it was no longer needed.
68* [2008-09-12] Fix some visibility issues within the LDAP filter. (FELIX-721)
69
70Changes from 1.2.1 to 1.2.2
71---------------------------
72* [2008-10-14] Fixed a NullPointer exception that could happen when
73 running with a SecurityManager as a backport of FELIX-766.
74
Karl Paulsfa99d5e2008-09-07 19:54:09 +000075Changes from 1.2.0 to 1.2.1
76---------------------------
77
78* [2008-09-05] Fixed a performance regression that was caused by uncached
79 access to the bundle manifest headers. (FELIX-711)
80* [2008-09-03] Fixed a bug in calculating the system bundle's exported
81 packages which added a null export package.
82
Karl Pauls30d88e12008-08-31 22:15:39 +000083Changes from 1.0.4 to 1.2.0
84---------------------------
85
86* [2008-08-29] Support JAR-wide manifest package metadata. (FELIX-682)
87* [2008-08-29] Throw an exception when installing a fragment that uses
88 features that we do not support.
89* [2008-08-20] Improve error reporting when loading bundle classes using
90 Bundle.loadClass.
91* [2008-08-16] Fix attribute checking when resolving dynamic imports.
92 (FELIX-676)
93* [2008-08-08] Implement singleton bundle support. (FELIX-102)
94* [2008-08-06] Default to current security policy if no security extension is
95 installed in order to make Subject.doAs work. (FELIX-654)
96* [2008-08-04] Return Bundle.getLastModified() for bundle URLs
97 lastModified(). (FELIX-582)
98* [2008-08-04] Improve handling of improper resource URLs. (FELIX-577)
99* [2008-08-01] Add necessary stub methods to implement new R4.1 methods.
100 (FELIX-595)
101* [2008-08-01] Applied patch to properly return symbolic name when it has
102 parameters. (FELIX-650)
103* [2008-07-25] Fix some rollback issues after a bundle update throws an
104 exception. (FELIX-647)
105* [2008-07-23] Modified manifest parser to be more lenient. (FELIX-641)
106* [2008-07-07] Add support for the standard symbolic name for the system
107 bundle. (FELIX-602)
108* [2008-06-01] Add initial fragment support for extending the host bundle
109 class path. (FELIX-29, FELIX-656)
110
Karl Paulsecf4cc82008-04-21 23:32:57 +0000111Changes from 1.0.3 to 1.0.4
112___________________________
113
114* [2008-04-18] Check that the returned object from a service factory is an
115 instance of all classes named when the service was registered. (FELIX-540)
116* [2008-04-13] Fix an issue when logging messages while holding framework
117 internal locks that could lead to a deadlock. For now we just disable
118 logging to log services inside the framework. (FELIX-536)
119* [2008-04-13] Implemented various small performance improvments e.g.,
120 we now cache filters and create an index for objectclass to improve
121 service lookup performance and don't use the BundleInfo to get the
122 bundle id but the BundleImpl directly. Furthermore, we added an index to
123 get bundles by id.
124* [2008-04-04] Fix an NoClassDefFoundError when trying to query the
125 framework classloader for whether a class is available or not.
126* [2008-03-19] Don't try to resolve extension bundles and fix a
127 classcastexception that could happen if more then one framework is around
128 and both have extensions installed. Furthermore, make extension bundles
129 use the system bundle context.
130* [2008-03-07] Bundle.getResource does now check for AdminPermission.
131 (FELIX-150)
132* [2008-03-06] Make urlhandlers work when a handler factory is already set.
133 Furthermore, it is now possible to have more then one framework running
134 in more then one classloader. (FELIX-38).
135* [2008-03-05] Make LDAP filter reentrant.
136* [2008-02-29] Refactored the IContent abstraction from the module loader
137 layer to provide more generic access to the content of the module. This
138 makes it possible that a bundle's class path could span multiple module's,
139 which will be necessary for fragments. (FELIX-29)
140* [2008-02-27] Applied a patch to disable the class loading diagnostic message
141 when the logger is not at the DEBUG level. (FELIX-500)
142* [2008-02-15] Modified the service registry to use more fine-grained locking
143 to avoid callbacks to service factories while holding locks. (FELIX-489)
144
Karl Pauls7db0d882008-01-28 09:37:24 +0000145Changes from 1.0.1 to 1.0.3
Karl Paulsc0335862008-01-27 19:49:56 +0000146---------------------------
147
148* [2008-01-27] Moved framework docs to main, since the launcher examples now
149 depend on main for the auto-property handling.
150* [2008-01-25] Applied patches to improve how Felix finds resources when
151 getResources() is called. (FELIX-466, FELIX-467)
152* [2008-01-25] Make FilterImpl.toString() add escape characters where needed.
153 (FELIX-471)
154* [2008-01-16] Fix a NPE on framework restart when extension bundles are
155 installed.
156* [2008-01-15] Try to fix a potential visibility issue on loading a class
157 form a bundle where it seems to be possible that we create two classloaders
158 instead of one.
159* [2008-01-15] Modified boot delegation to not terminate when delegating to
160 parent class loader for non-java.* packages. (FELIX-463)
161* [2008-01-04] Fix some issues related to directories on the bundle class
162 path. Specifically, leading slashes created an issue and are now stripped
163 and entries were not being properly filtered when enumerating the contents
164 of a class path directory. (FELIX-426)
165* [2007-12-20] Modified logger to have all of its public methods be final to
166 avoid it from being extended in undesired ways via the constructor supplied
167 logger. (FELIX-428)
168* [2007-12-20] The TCK has changed to verify that bundles do not depend on
169 themselves, so we filter that case now.
170* [2007-12-20] Applied patch from Guillaume Nodet to properly fire a framework
171 error event only when a bundle cannot be resolved. (FELIX-441)
172* [2007-12-19] Modified framework to accept a Logger instance so that host
173 applications can do custom logging until the log service arrives. (FELIX-428)
174* [2007-12-19] Add support for loading bundles on Google Android (FELIX-440).
175* [2007-12-18] Improve native code loading - bundle installation will now
176 fail in case a native library is not in the jar and we only use the first
177 library of a given name. Furthermore, we now support .dylib extensions on
178 the mac as well as others; should make it possible to use .netmodules as
179 well. (FELIX-439)
180* [2007-12-17] Make the win32 alias match any version of windows for native
181 clauses. (FELIX-438)
182* [2007-12-14] Removed auto-property processing out of the framework and
183 into the default launcher, i.e, main. (FELIX-393)
184* [2007-12-13] Fix a StackOverflowError in URLHandlers.createStreamHandler()
185 when creating URL on jamvm and Mika. This patch resolves an unfortunate
186 interaction between our ExtensionManager and the URLHandlers by making the
187 URLHandlers aware of the extension protocol. Pretty much like we do already
188 for the bundle protocol. (FELIX-435)
189* [2007-11-26] Fix a small oversight in the extension manager that could lead
190 to a null pointer exception and save some memory by creating less objects.
191* [2007-11-26] Degrate to version 0.0.0 if we can not find the Felix.properties
192 for some reason and avoid a null pointer in this case.
193* [2007-11-08] Reorganized usage count methods to better handle null
194 reference checking in response to Karl Pauls seeing an NPE when trying to
195 get a service that was already unregistered while shutting down the
196 framework.
197* [2007-11-06] Added a simple check to detect and work around a bug in J9.
198 (FELIX-416)
199* [2007-10-30] Change how the extension manager url stream handler handles
200 request to the root path in order to make some tomcat issue go away.
201 (FELIX-414)
202* [2007-10-26] Added support for "/" bundle resources as requested. (FELIX-383)
203* [2007-10-24] Use system bundle when firing a framework error event when an
204 install error occurs.
205* [2007-10-22] Fix a NPE when getEntryPaths is called on the system bundle.
206 (FELIX-394)
207* [2007-10-16] Modifies bundle resource URL handling such that if a resource
208 URL points to a resource that does not exist, a bundle class path search
209 for the resource will be instigated and if any matching resource is found,
210 that one will be used instead. (FELIX-383)
211* [2007-10-10] Auto-property handling now installs bundles into the default
212 bundle start level if a start level is not specified. (FELIX-359)
213* [2007-10-08] Overwrite the URLStreamHandler.getHostAddress(URL) in the
214 ExtensionManager to immediately return null to prevent DNS lookup.
215 (FELIX-388)
216* [2007-09-30] Resolved a concurrency issue that could result in the same
217 bundle being resolved more than once; also tried to simplify locking in
218 the core search policy implementation. (FELIX-381)
219
Karl Pauls305c9642007-09-16 20:46:04 +0000220Changes from 1.0.0 to 1.0.1
221---------------------------
222
223* [2007-07-23] Fixed a bug in the framework shutdown process which was
224 causing threads calling Felix.stopAndWait() to not get notified that
225 the framework had shutdown. (FELIX-329)
226* [2007-08-15] Fixed a bug in the LDAP filter which was not thread safe
227 on execution. (FELIX-338)
228* [2007-08-17] Added support for persistent last used bundle ID to avoid
229 re-use of bundle identifiers. (FELIX-339)
230* [2007-08-23] Modified BundleImpl.getHeaders(Locale) to accept a null
231 locale. (FELIX-346)
232* [2007-09-11] Added support to handle external termination of Felix
233 which was not handled or detected and prevented a restart of future
234 Felix instances in the same VM. (FELIX-363)
235* [2007-09-12] Add support for Collection values in the LDAP filter to
236 match the 4.1 spec.
237* [2007-09-12] Fixed a bug in the LDAP filter where attributes where
238 limited to [a-zA-Z ] so didn't allow for e.g., numbers. (FELIX-361)
239* [2007-09-13] Enable support for exporting the same package more than
240 once (FELIX-101).
241* [2007-09-13] Returns the system bundle from a call to
242 PackageAdmin.getBundle(Class) in case the class comes from the
243 classloader (or one of its parents) that loaded Felix and the system
244 bundle exports the package.
245* [2007-09-16] Fixed a bug in class space filtering in the service registry
246 that could result in class cast exceptions for service clients.
247* [2007-09-16] Fixed a bug that prevented extension bundle exports to be
248 usable.
249
Richard S. Hall2cd5bed2007-07-16 20:32:41 +0000250Changes from 0.8.0-incubator to 1.0.0
251-------------------------------------
252
253* [2007-01-18] Added support for bundle header localization. (FELIX-27)
254* [2007-01-22] Modified framework resolver to support a generic
255 capability/requirement model.
256* [2007-01-22] Reorganized and centralized manifest parsing code and added
257 support for resolver's generic capability/requirement model. (FELIX-98)
258* [2007-01-22] Improved native library naming normalization. (FELIX-26)
259* [2007-01-23] No longer eagerly resolving classes loaded from modules
260 since this was causing verification errors with IBM J9.
261* [2007-01-25] Added some support for execution environment checking.
262 (FELIX-23)
263* [2007-01-29] Added support for getAllServiceReferences(). (FELIX-32)
264* [2007-01-31] Added Require-Bundle support to resolve using the generic
265 capability/requirement model of the resolver. (FELIX-28)
266* [2007-02-05] Fixed a bug in processor type normalization for x86-64
267 processors.
268* [2007-02-09] The resolver previously ignored packages that were pending
269 removal when resolving new bundles, now it does not.
270* [2007-02-09] Bundles are automatically refreshed when updated/uninstalled
271 if none of their exported packages are in use.
272* [2007-02-13] Added support for extension bundles. (FELIX-30)
273* [2007-03-02] Added a Bundle.getBundleContext() method until actual
274 support for OSGi R4.1.
275* [2007-04-26] Modified Bundle.findEntries() to return URLs to directory
276 entries as well as file entries.
277* [2007-05-06] Modified LDAP evaluator to special case the fact that
278 BigDecimal is not available in Foundation profile.
279* [2007-05-21] Made some performance improvements in LDAP evaluation.
280* [2007-05-22] Modified JAR file to include Service Tracker package.
281* [2007-05-22] Improved concurrency handling around checking for already
282 loaded classes and defining classes.
283* [2007-06-05] Modified resource URLs to use port number rather than
284 prepend information to the resource path.
285* [2007-06-13] Improved dynamic imports to cycle through all available
286 candidates when checking for class space consistency.
287* [2007-06-18] Improved service registry filtering based on class versions
288 to allow a bundle to register a service for a different version of class
289 that it can access.
290* [2007-06-21] Modified our "last ditch effort" to guess when to delegate
291 to the system bundle to make it a little more robust.
292* [2007-06-29] Fixed a bug in EventDispatcher that was causing asynchronous
293 events to not be fired after stopping the framework instance and creating
294 a new instance. (FELIX-314)
295* [2007-07-03] Fixed a bug in EventDispatcher that would not correctly
296 update a listener when it implemented multiple listener interfaces.
297* [2007-07-04] Modified Felix framework class to implement the Bundle
298 interface to improve the startup/shutdown sequence and to provide a
299 simplified API for creating framework instances.
300* [2007-07-11] Removed the PropertyResolver-related classes and now only
301 use Maps for configuration properties. (FELIX-324)