entity 7.x-1.0-beta1

Release notes

Entity CRUD API changes since ALPHA 6:
#893574 patch by casey: EntityAPIController#delete is missing db_transaction()
#880374 moved entity.test file into the test directory and fixed the testing module name
Entity CRUD API: automatically generate Rules integration.
generate some basic entity metadata out of the schema information
Entity CRUD: fix entity loading of exportables to only add in all defaults when FALSE is passed.
Entity CRUD: do not add a trailing ; to the default entity export
Entity CRUD: add an optional prefix parameter to entity export()
Entity CRUD: don't export the internal numeric ID in case we are using names.
#920396 provide features integration for exportables
Entity CRUD: allow overides of save() and delete() to optionally pass in a custom transaction object
Entity CRUD: properly unset the is_new property after creation
Entity CRUD: provide entity_view(), entity_build_content(), default implementations and a default template to support modules implementing viewing.
#931026 Entity CRUD API: support loading by numeric id for exportables too
entity CRUD: added entity_access() for entities provided via the CRUD api
Entity CRUD: added a module key providing the source module of an exoprtable and improved the docs

Download Size md5 hash
entity-7.x-1.0-beta1.tar.gz 53.38 KB 2e53243fdf0fae60217dd7916d982e47
entity-7.x-1.0-beta1.zip 70.66 KB 04c8313cb68456f275f5aabca07a1e74
Last updated: December 24, 2010 - 22:54
Official release from tag: 

entity 7.x-1.0-alpha6

Release notes

Entity CRUD API changes since ALPHA 5:
* improved exportable entity status description texts - thanks to Bojhan for coming up with those.
* #836754 patch by Island Usurper: API change: entity_invoke() got removed
* moved tests to the Entity API group now defined by core

Entity Metadata changes since ALPHA 5:
* simplified saving of a user account, as user_save() got improved in the meantime
* #796380 patch by jrguitar21: fixed entity metadata token integration errors when tokens with a set language are used
* added node revision log and "creates revision" properties
* API change:
renamed key for additional metadata for data structures from 'data info' to 'property info' to reflect its content equals the returned info of hook_entity_property_info(). Therefore also removed the dataInfo() method, instead use getPropertyInfo() without arguments.
added method entityInfo() to the entity wrapper.
* added the possibility to specify a property info alter callback, that is invoked right before the property info is used. This is used by the Rules module for injecting metadata that has been asserted by conditions.
* improved entity_metadata_get_properties() to return all known properties in case no argument is given
* added metadata to mark properties, which stem from a field.

Download Size md5 hash
entity-7.x-1.0-alpha6.tar.gz 46.21 KB 5d88abea4508ea3561332f466746ab3d
entity-7.x-1.0-alpha6.zip 60.93 KB 67bbd091c22ea67d0df387c32c110216
Last updated: December 24, 2010 - 22:54
Official release from tag: 

entity 7.x-1.0-alpha5

Download Size md5 hash
entity-7.x-1.0-alpha5.tar.gz 44.27 KB 13348a08070605b3742d4fad7856d76a
entity-7.x-1.0-alpha5.zip 58.61 KB e01b31f8d1bdce97dcbf61c57b76a782
Last updated: December 24, 2010 - 22:54

Release notes

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.

Official release from tag: 

entity 7.x-1.0-alpha4

Download Size md5 hash
entity-7.x-1.0-alpha4.tar.gz 40.64 KB 0e093c0ded92b23a4e628a7953a198dc
entity-7.x-1.0-alpha4.zip 54.59 KB fd57cb018430af65e11c28757fd212e2
Last updated: December 24, 2010 - 22:54

Release notes

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

Official release from tag: 

entity 7.x-1.0-alpha3

Release notes

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.

* 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

Download Size md5 hash
entity-7.x-1.0-alpha3.tar.gz 39.79 KB d347ca5528b9ed9d132b492cb4b7b2af
entity-7.x-1.0-alpha3.zip 52.52 KB 29d6706a1d6430840df050095bdc0f31
Last updated: December 24, 2010 - 22:54
Official release from tag: 

entity 7.x-1.0-alpha2

Release notes

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

Download Size md5 hash
entity-7.x-1.0-alpha2.tar.gz 31.21 KB be9a91bd68b59480bdca9e8a6d6ad932
entity-7.x-1.0-alpha2.zip 43.34 KB c566eaadd7fae51905dc36d3ae2ee3f1
Last updated: December 24, 2010 - 22:54
Official release from tag: 

entity 7.x-1.0-alpha1

Download Size md5 hash
entity-7.x-1.0-alpha1.tar.gz 28.47 KB 858c5a1b255f5316737dbbd3b562d825
entity-7.x-1.0-alpha1.zip 40.16 KB a862618e1ae4fe58e5d164479e29c071
Last updated: December 24, 2010 - 22:54

Release notes

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

Official release from tag: 

entity 7.x-1.x-dev

Download Size md5 hash
entity-7.x-1.x-dev.tar.gz 118.6 KB 9c65caa9c4ed2997df15ecf2fd0a3331
entity-7.x-1.x-dev.zip 151.38 KB 26b26b559cd556129e431894966953a3
Last updated: February 27, 2015 - 17:17
Last packaged version: 7.x-1.6+6-dev

Release notes

7.x development snapshot

Nightly development snapshot from branch: 


Subscribe with RSS Subscribe to Releases for Entity API