Collective.jsonify

Latest version: v1.6

Safety actively analyzes 688931 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 2 of 2

1.1

----------------

- set json repsonse headers
[jensens]

1.0

----------------

- Let the wrapper test correctly for ``zope.interface`` and ``Interface``
interfaces.
[thet]

- In the wrapper class, call the value in decode, if it's a callable.
[thet]

- When serializing datetime, date, time or DateTime properties, just use the
unicode representation which can be parsed.
[thet]

- When serializing values, if there is no special handler for a field type,
just try to unicode the value.
[thet]

- Fix export of defaultPage and layout. Before, always the defaultPage was set
now layout is always set and defaultPage only, if there is one defined.
[thet]

- Handle plone.formwidget.geolocation Dexterity field types.
[thet]

- Check, if wrapper methods for Zope/CMF objects are Zope/CMF only objects by
testing for Archetypes and Dexterity first.
[thet]

- Add ``BlobField`` for ``get_archetypes_fields``.
[thet]

- Don't try to convert ints to unicode in get_properties().
[djowett]

- Zope 2.6 support for collective.jsonify.
[djowett]

- Fix setup.py to work with Python 2.2.
[djowett]

- Add error type to tracebacks.
[djowett]

- Fix read of NamedBlobImage, NamedFile and NamedBlobFile in dexterity objects.
[djowett]

- Fix read of field for unicode transcoding in dexterity objects.
[djowett]

- Make ``archetypes.schemaextender`` support more generic and handle probably
most use cases.
[thet]

- Add ``_directly_provided`` export field for the object's directly provided
interfaces.
[thet]

- Add json_methods module to own Extension folder, which makes it automatically
available and unnecessary to add it to the instance's Extension folder.
[thet]

- Don't skip ``ComputedField`` fields, but just export their computed value.
Better skip them in your transmogrifier import pipeline.
[thet]

- Allow a ``skip_callback`` function to be passed to the ``export_content``
function. It evaluates to ``True``, if the current visited item should be
excluded from exporting.
[thet]

- Export a content's references as list of UID values.
[thet]

- Declare the ``content_type`` of a field's value only for ``TextField`` and
``StringField``.
[thet]

- Add example buildouts for Plone 2.1, 2.5, 3 and 4.
[thet]

- Declare ``base64`` encoding for _datafield_FIELDNAME structures. This is used
to correctly decode in transmogrify.dexterity.
[thet]

- Add export module from ``collective.blueprint.jsonmigrator`` and modify to
use collective.jsonify wrapper. Use it in Plone 2.1 by adding it as external
method.
[thet]

- PEP 8.
[thet]

- Fixing local roles export.
[realefab]

- Make ATExtensionFields serializable.
[jsbueno]

- Fixes exporting of Image types that use ATBlob.
[jsbueno]

0.2

----------------

- Support p.a.collection QueryField.
[jone]

- Dexterity support.
[djowett]

- Add Blob fields support. Use specific methods to retrieve
filename, content type and size.
[gborelli]

- Add _get_at_field_value to wrappe.Wrapper in order to use accessor method
for Archetypes fields.
[gborelli]

- jsonify view added. See README_JSONIFY_VIEW.rst for more
[pieretti]

0.1

----------------

- documentation added
[garbas]

- collection of external methods from ``collective.blueprint.jsonmigrator``
and ``collective.sync_migrator``.
[garbas]

- initial release
[garbas]

Page 2 of 2

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.