CHANGES
*******

3.9.5 (2010-07-09)
==================

- Fix test requirements specification.

3.9.4 (2010-04-30)
==================

- Prefer the standard libraries doctest module to the one from zope.testing.

3.9.3 (2010-03-08)
==================

- The ZCML directives provided by zope.component now register the components in
  the registry returned by getSiteManager instead of the global registry. This
  allows the hooking of the getSiteManager method before the load of a ZCML
  file to register the components in a custom registry.

3.9.2 (2010-01-22)
==================

- Fixed a bug introduced by recent refactoring, where passing
  CheckerPublic to securityAdapterFactory wrongly wrapped the factory
  into a LocatingUntrustedAdapterFactory.

3.9.1 (2010-01-21)
==================

- The tested testrunner somehow gets influenced by options of the outer
  testrunner, such a the -v option. We modified the tests so that it avoids
  this.

3.9.0 (2010-01-21)
==================

- Add testlayer support. It is now possible to load a ZCML file within
  tests more easily. See zope.component.testlayer.py and
  zope.component.testlayer.txt.

3.8.0 (2009-11-16)
==================

- Removed the dependencies on zope.proxy and zope.security from the zcml extra:
  zope.component does not hard depend on them anymore; the support for security
  proxied components ZCML registrations is enabled only if zope.security and
  zope.proxy are available.

- Moved the IPossibleSite and ISite interfaces here from zope.location as they
  are dealing with zope.component's concept of a site, but not with location.

- Moved the zope.site.hooks functionality to zope.component.hooks as it isn't
  actually dealing with zope.site's concept of a site.

3.7.1 (2009-07-24)
==================

- Fixed a problem, where ``queryNextUtility`` could fail if the context could
  not be adapted to a ``IComponentLookup``.

- Fixed 2 related bugs:

  When a utility is registered and there was previously a utility
  registered for the same interface and name, then the old utility is
  unregistered.  The 2 bugs related to this:

  - There was no ``Unregistered`` for the implicit unregistration. Now
    there is.

  - The old utility was still held and returned by
    getAllUtilitiesRegisteredFor.  In other words, it was still
    considered registered, eeven though it wasn't.  A particularly
    negative consequence of this is that the utility is held in memory
    or in the database even though it isn't used.

3.7.0 (2009-05-21)
==================

- The HookableTests were not run by the testrunner.

- Add in zope:view and zope:resource implementations into
  zope.component.zcml (dependency loaded with zope.component [zcml]).

3.6.0 (2009-03-12)
==================

- IMPORTANT: the interfaces that were defined in the
  zope.component.bbb.interfaces and deprecated for years are
  now (re)moved. However, some packages, including part of zope
  framework were still using those interfaces. They will be adapted
  for this change. If you were using some of those interfaces, you
  need to adapt your code as well:

   - The IView and IDefaultViewName were moved to zope.publisher.interfaces.

   - The IResource was moved to zope.app.publisher.interfaces.

   - IContextDependent, IPresentation, IPresentationRequest,
     IResourceFactory, IViewFactory were removed completely.

     If you used IViewFactory in context of zope.app.form, there's now
     IWidgetFactory in the zope.app.form.interfaces instead.

- Add getNextUtility/queryNextUtility functions that used to be in zope.site
  earlier (and in zope.app.component even more earlier).

- Added a pure-Python 'hookable' implementation, for use when
  'zope.hookable' is not present.

- Removed use of 'zope.deferredimport' by breaking import cycles.

- Cleanup package documentation and changelog a bit. Add sphinx-based
  documentation building command to the buildout.

- Remove deprecated code.

- Change package's mailing list address to zope-dev at zope.org, because
  zope3-dev at zope.org is now retired.

3.5.1 (2008-07-25)
==================

- Fix bug introduced in 3.5.0: <utility factory="..."> no longer supported
  interfaces declared in Python and always wanted an explicit provides="..."
  attribute. https://bugs.launchpad.net/zope3/+bug/251865

3.5.0 (2008-07-25)
==================

- Support registration of utilities via factories through the component registry
  and return factory information in the registration information. This fixes
  https://bugs.launchpad.net/zope3/+bug/240631

- Optimized un/registerUtility via storing an optimized data structure for
  efficient retrieval of already registered utilities. This avoids looping over
  all utilities when registering a new one.

3.4.0 (2007-09-29)
==================

No further changes since 3.4.0a1.

3.4.0a1 (2007-04-22)
====================

Corresponds to zope.component from Zope 3.4.0a1.

- In the Zope 3.3.x series, ``zope.component`` was simplified yet once
  more.  See http://wiki.zope.org/zope3/LocalComponentManagementSimplification
  for the proposal describing the changes.

3.2.0.2 (2006-04-15)
====================

- Fix packaging bug:  'package_dir' must be a *relative* path.

3.2.0.1 (2006-04-14)
====================

- Packaging change: suppress inclusion of 'setup.cfg' in 'sdist' builds.

3.2.0 (2006-01-05)
==================

Corresponds to the verison of the zope.component package shipped as part of
the Zope 3.2.0 release.

- Deprecated services and related APIs. The adapter and utility registries
  are now available directly via the site manager's 'adapters' and 'utilities'
  attributes, respectively.  Services are accessible, but deprecated, and
  will be removed in Zope 3.3.

- Deprectaed all presentation-related APIs, including all view-related
  API functions. Use the adapter API functions instead.
  See http://dev.zope.org/Zope3/ImplementViewsAsAdapters`

- Deprecated 'contextdependent' package:  site managers are now looked up
  via a thread global, set during URL traversal.  The 'context' argument
  is now always optional, and should no longer be passed.

3.0.0 (2004-11-07)
==================

Corresponds to the verison of the zope.component package shipped as part of
the Zope X3.0.0 release.
