Archetypes 1.4.0 (Jun 16, 2006)

This release is no longer supported! If you are using this release, please upgrade to a newer version if possible.

First final of Archetypes for Plone 2.5.x

For additional information about this project, please visit the overview page .

Available downloads

Release Notes

Tested with Plone 2.5
State Final release
License BSD
Release Manager Jens Klein

Major changes since 1.3 are:

  • Protect attributes by permissions. Attention: Enabling protection was a minor change in the config.py and planned a long time. Some products with code doing direct attribute access will break. People using and relying on those products can disable attribute protection, but better fix those Products.
  • added Product Marshall to the bundle
  • lots of work towards zope 3 bridging has been done,
  • several anti-deprecation message tunings,
  • integrated generator package into Archetypes,
  • seperated UIDEngine from ReferenceEngine,
  • removed insane version checking,
  • moved index_method computation out from Extensions/utils.py into Field,
  • first, basic GenrericSetup support,
  • add a new generateNewId method to BaseObject which is used to suggest a new id when automatically renaming an object after creation,
  • clean up of test infrastructure.

Change log

=====================
CHANGES IN ARCHETYPES
=====================

1.4.0-final
======================

* Undeprecated 'public', there are too many products relying on it and it's
just a name change without any real benefit.
[hannosch]

* Fixed import of NotFound in getBestIcon.py which broke CMF1.4 compatibility.
This closes http://dev.plone.org/archetypes/ticket/656.
[hannosch]

1.4.0-RC1 - 2006-06-02
======================

* Use zope.contenttype in favor of zope.app.content_types if available.
[hannosch]

* Added a new GenericSetup profile 'sample_content' which installs all
available sample content types. This should mainly be used as a basis for
the test setup.
[hannosch]

1.4.0-beta1 - 2006-05-12
========================

* Added support for <catalog> entries to be added to the GenericSetup
profile description of portal types to enable registration w/ multiple
catalogs in the archetype_tool.
[rafrombrc]

* Fixed a problem in Field.py which could split mutibyte characters at a wrong
position, which could cause encoding problem in mimetypes_registry.
This closes http://dev.plone.org/plone/ticket/5214.
[hannosch]

* Add a new generateNewId method to BaseObject which is used to suggest
a new id when automatically renaming an object after creation. This makes
it easier to used custom naming in derived types.
[wichert]

* Add GenericSetup support for importing/exporting the catalog map from
ArchetypeTool
[wichert]

* Use portal type instead of meta type for the catalog map. Add an option
to config.py to switch back to the old behaviour.
[wichert]

* Check mimetype before schema update and reapply type after. This fixes
https://dev.plone.org/archetypes/ticket/618
[alecm]

* Removed some old commented out code.
[hannosch]

* Added a archetypes historyaware mixin, providing access to archetypes
persistent revisions (including annotations).
[mj]

* Moved 'index_method' computation out from Extensions/utils.py into
Field. Because we want SearchableText of BaseObject to use the
'index_method' too. This fixes
https://dev.plone.org/archetypes/ticket/645
[nouri]

* Avoid DeprecationWarnings for manageAddDelete methods and converted the
logging infrastructure to use Python's logging module in favor of zLOG.
[hannosch]

* Removed reST-test-kludge. reStructuredText of Zope < 2.8 is buggy,
don't bother with test failures.
[stefan]

* converted remaining interfaces and unconverted metadata due to
issues with CMF1.5's bridges
[whit]

* converted add following modules to zope3 interfaces w/
backward bridges::
interfaces/_annotations.py
interfaces/_field.py
interfaces/_layer.py
interfaces/_marshall.py
interfaces/_metadata.py
interfaces/_referenceengine.py
interfaces/_schema.py
interfaces/_storage.py
[whit]

* added makeBridgeMaker, makeZ3Bridges, and makeZ2Bridges to util to
assist in bridging
[whit]

* removed superfluous bridge statements from zcml

* Spring-cleaning of tests infrastructure.
[hannosch]

1.4.0-alpha03 - 2006-03-26
==========================

* Fixed some bizarro bug where the __call__ method of BaseFolder (i.e.
render the default view) was instantiating a new CMFCore PortalFolderBase
object and returning it (unrendered even).
[alecm]

* fixes #617: Do not catch KeyboardInterrupt.
[jensens]

* marked PhotoField as deprecated. After work done on ATImage and
ImageField this one isnt needed anymore in Archetypes core.
PhotoField and its supporting classes will be removed in AT 1.5
[jensens]

* fixed #600: Auto-generated attributes are not protected by
permissions. Attention: Enabling protection is a minor change in
the config.py. Some products with code doing direct attribute
access will break. People using and relying on those products
can disable attribute protection, but better fix those Products.
[jensens]

* fixed #608: Protect id field by 'Copy or Move'
[jensens]

* fixed #637: Schema.moveField( ... after ) does incorrect reordering.
Needed fixing of a buggy doctest.
[jensens]

* merged in code of Daniel Nouri to support multiple references
with the same name between two objects, thsi is needed for example
with Relations product. Thx Daniel.
[jensens]

* removed superfluos code from ClassGen.
[jensens]

* Removed some nonsense on PUT that would look at REQUEST._steps and
try to catch a exception (which would never occur!). Made it use
'PATH_INFO' instead, with a fallback to 'self.getId()' which
should suffice (PATH_INFO is always available as long as the
request came in through ZPublisher.Publish).
[sidnei]

* PdataStreamIterator could potentially end up loading a persistent
object after the ZODB connection had been closed. Made it use a
temporary file to stream out the content so that large files don't
end up using all the available memory.
[sidnei]

1.4.0-alpha02 - 2006-02-23
==========================

* Added check for duplicate 'accessor', 'edit_accessor' and
'mutator' method names on a schema's fields. Helps Joe Schmoe to
get unstuck, hopefully.
[sidnei]

* dont generate 'Schema' method any more. its now part of BaseObject.
[jensens]

* seperated UIDCatalog from ReferenceEngine.
[jensens]

1.4.0-alpha01 - 2006-01-26
==========================

* Remove BBB code for CMFBTreeFolder import location.
[hannosch]

* make import from 'Products.Archetypes.atapi import *' default and deprecate
'public'.
[jensens]

* Integrated 'generator' into Archetypes.
[jensens]

* Changed transactions use to new API and removed some Plone 2.0 backwards
compatibility code
[hannosch]

* Changed imports of CMFCore.CMFCorePermissions to CMFCore.permissions
[k_vertigo, hannosch]

* DisplayLists should be a little less strict on their values. Now not only
unicode itself but also types inherited from unicode are allowed. This is
needed to handle zope.i18nmessageid.MessageID objects correctly.
[hannosch]


===========================
CHANGES IN PORTALTRANSFORMS
===========================

1.4.0-RC1 - 2006-06-02
======================

* Shut down a noisy logging message to DEBUG level.
[hannosch]

* Converted logging infrastructure from zLOG usage to Python's logging module.
[hannosch]

* Avoid DeprecationWarning for manageAddDelete.
[hannosch]

* Spring-cleaning of tests infrastructure.
[hannosch]

1.4.0-beta1 - 2006-03-26
========================

* removed odd archetypes 1.3 style version checking
[jensens]

* Removed BBB code for CMFCorePermissions import location.
[hannosch]

* removed deprecation-warning for ToolInit
[jensens]


============================
CHANGES IN MIMETYPESREGISTRY
============================

1.4.0-RC1 - 2006-06-02
======================

* Use zope.contenttype in favor of zope.app.content_types if available.
[hannosch]

1.4.0-beta2 - 2006-05-12
========================

* Use zope.app.content_types in favor of OFS.content_types if available.
[stefan]

* Spring-cleaning of tests infrastructure.
[hannosch]

1.4.0-beta1 - 2006-03-26
========================

* fixed Plone #5027: MimeTypeRegistry.classify doesn't handle
"no mimetype" gracefully. Returns 'None' now.
[jensens]

* fixed http://dev.plone.org/archetypes/ticket/622
[jensens]

1.4.0-alpha02 - 2006-02-23
==========================

* ensured that the key gotten back from windows_mimetypes.py existed
mark says the best way is to examine each key to ensure its valid but
would be slower.
[runyaga]

* removed odd archetypes 1.3 style version checking
[jensens]

* Removed BBB code for CMFCorePermissions import location.
[hannosch]

* removed deprecation warning for ToolInit.
[jensens]

* skip backward compatibility to the times where MTR where part of
PortalTransforms.
[jensens]


=====================
CHANGES IN VALIDATION
=====================

1.4.0-RC1 - 2006-06-02
======================

* Spring-cleaning of tests infrastructure.
[hannosch]

1.4.0-beta1 - 2006-03-26
========================

* removed marker for odd archetypes 1.3 styles version checks
[jensens]