entity 7.x-1.0-alpha5

Insecure
Unsupported

Entity CRUD API changes since ALPHA 4:
#741660 patch by Amitaibu: Add 'is-new' property on entity-create
fixing compatibility with the recent drupal 7 HEAD (entity info 'object keys' is 'entity keys' now)
added support for exporting entities to code via the general entity_export() function. includes a test.
added a theme function for rendering the entity exportable status
added entity_var_json_export() for pretty printing JSON for exporting
#769120 fix entity loading for exportables such that defaults are always overridden, improved tests to cover passing conditions.

Entity Metadata changes since ALPHA 4:
added a property for the vocabulary-machine-name of taxonomy terms
fix to not accidentially implement hook_file_delete().
fixed warning when running token replacements
fixing compatibility with the recent drupal 7 HEAD (entity info 'object keys' is 'entity keys' now)
fixed the options list to not depend on available data
fix E_STRICT compatibility by cleaning up references. As now references cannot be used optionally getters cannot return data by reference any more. If "references" are required though the EntityMetadataArrayObject may be used to wrap arrays so that changes to the wrapper are reflected in the passed array immediately.

entity 7.x-1.0-alpha4

Insecure
Unsupported

Entity CRUD API changes since ALPHA 3:
* overhauled the entity CRUD API to be a full module dependency, thus using it without introducing the dependency isn't possible any more. That way we are able to roll out updates much easier and to provide multiple EntityDB base classes, one being extendable via faces and one not.
* added entity_(create|delete|save) API functions and a test for them
* fixed API docs as full CRUD is also possible with usual functions leveraging the controller
* updated faces.inc
* applied the changes from #731426 to the controller, making it work with HEAD again.
* fixed default entities to not be added in when all ids were served from cache
* fixed deletion by names
* moved the full CRUD implementation to the controller, so it can be easily swapped out and improved saving and deletion to make use of transactions and to properly support db replication

Due to recent changes to the Entity Controller in Drupal 7.x you need drupal 7.x ALPHA 3 or later.

Entity Metadata changes since ALPHA 3:
* #716060 Provide tokens for entity properties that don't have tokens yet. Thus this adds tokens for single-valued fields.
* #706620 Clear the cache after adding or changing fields
* fixed caching entity property info to be per language as implemented first in #503550 and added a cache clear function

entity 7.x-1.0-alpha3

New features
Bug fixes
Insecure
Unsupported

updated to run with d7 HEAD (as of now). Most notable the entity metadata API has been improved, so it provides now full CRUD API functions for all core entities and lazy-loads now all referenced entities.

CRUD API:
* conditionally load classes to be more robust in case of multiple file inclusions
* #701526 Invoke hook_entity_insert() and hook_entity_update()
* updated to the most recent faces.inc

entity 7.x-1.0-alpha2

New features
Bug fixes
Insecure
Unsupported

changes since 1.0-alpha2:

Entity API:
* Entities created with the entity API can be now exportable.
* Improved class naming of entity API. Update your controller class name!
* Improved entity API test module to test exportables.

Entity Metadata:
* added the possibility to specify an options list for a property
* enhanced node module integration and fixed field API integration to work with current HEAD.
* various small bugfixes and improvements

entity 7.x-1.0-alpha1

Insecure
Unsupported

first ALPHA release. Module should be ready to use, but might get some more features before the initial stable release. Read the README.txt!

Pages

Subscribe with RSS Subscribe to Releases for Entity API