entity 7.x-1.0-beta9

Release notes

There are important API changes for all modules that implement exportable entities with the help of the entity API module. Short, entity_load() now always returns numeric ids (instead of names as it was the case previously) and exportables have to use the now separated EntityAPIControllerExportable class.

Download Size md5 hash
entity-7.x-1.0-beta9.tar.gz 74.06 KB a965dc47b0b8afc2f75b69be31e767d0
entity-7.x-1.0-beta9.zip 89.99 KB 57ab6f16c8d15c09b5dae9510ad83f3a
Last updated: June 16, 2011 - 15:56
Official release from tag: 

entity 7.x-1.0-beta8

Release notes

changes since beta7:
removed the deprecated entity metadata module.
#1093918 improve entity property query support
#1081188 patch by drunken monkey: entity_view() for comments is broken
#1071814 patch by klausi: Type of boolean fields is int
#1092240 patch by scor: Minor code style tweak.
#1062358 patch by klausi, fago: Delete should be more robust with an empty array of ids.
#1066398 patch by sun, fago: Reverse entity relationships for Views integration.

Download Size md5 hash
entity-7.x-1.0-beta8.tar.gz 69.59 KB 317ec15a5f9d90e7613b52f20a7e9a82
entity-7.x-1.0-beta8.zip 84.68 KB bdda06d40b3c07171c1ebd4382eba58e
Last updated: March 21, 2011 - 18:11
Official release from tag: 

entity 7.x-1.0-beta7

Release notes

changes since BETA6:
#1064452 patch by dasjo: added a entity_property_verbatim_date_get callback for dates.
#1065540 patch by rszrama: fixed typo in access callback docs.
fixed the wrapper classes to correctly make use of machine names for identifying entities if available.
improved the wrappers to only throw exceptions for missing data values if a property value is to be retrieved.
#1047704 patch by nedjo: add entity API as dependency when generating features.
#1005532 Support different use-cases of options list and added label() helper method to the wrapper classes.
entity_property_values_create_entity() fails if entity keys are set to FALSE.
added the missing argument to setter callbacks for properties
fixed the statusKey property of the entity class to be protected.
#1031382 allow marking properties as translatable.
#1046270 patch by me and klausi: fixed some user property permission checks.
#1041240 patch by pcambra, rszrama: fixed the property table query callback to use efq properly.
#1047032 patch by nedjo: Imports fail for entity types without custom entity class--is_new flag not set
#1032910 Using entity tokens may cause entity wrapper exceptions
Do not export the providing module name.

Download Size md5 hash
entity-7.x-1.0-beta7.tar.gz 71.02 KB 9598452892a90a3b098d3152334aeb85
entity-7.x-1.0-beta7.zip 89.63 KB 7dc9b04be79bf57c93ffec81ab37f7dd
Last updated: February 21, 2011 - 10:47
Official release from tag: 

entity 7.x-1.0-beta6

Download Size md5 hash
entity-7.x-1.0-beta6.tar.gz 66.86 KB 64588b70e6773d146e0bf4267a90a270
entity-7.x-1.0-beta6.zip 84.95 KB cce03b3f1c7e6855a4ff0bee3883dd0a
Last updated: January 4, 2011 - 19:46

Release notes

API changes since BETA5:
* Exportable entities have been overhauled, so that all entities are stored in the database. Modules providing an exportable entity type need to be updated. See #1008810-8: Store all exportables in the db-
* Entity metadata wrappers: The value() method now doesn't throw an exception for not set properties any more, but returns NULL - see #708268.

Complete list of changes since BETA5:
* #1006664 fixed call to undefined function errors occurring without the entity metadata module
* #1007542 removed the empty .info file for the upgrade, as it causes troubles with the update-manager
* #708268 some metadata wrapper improvements, in particular fixed property updates to be properly reflected in parent data structures. API change: value() now doesn't throw an exception for not set properties any more, but returns NULL.
* #708268 added image and file field support, including tests.
* #708268 improved property info for text fields to also support summaries and added tests.
* #1010144 patch by drunken monkey: fixed information for anonymous authors
* #1013240 patch by aspilicious: Remove unnecessary files[] declarations from .info file
* #1008810 overhauled exportable entities so that all entities are stored in the database. Upgrade for modules making use of exportable entities is required, see #1008810-8.

Official release from tag: 

entity 7.x-1.0-beta5

Release notes

Release compatible with Drupal 7 RC3.

changes since beta4:
#986046 patch by sun: follow-up to work with recent list module changes. Requires a recent d7 version.

Download Size md5 hash
entity-7.x-1.0-beta5.tar.gz 63.77 KB 53325d82ab40c0dc325ccb59d0bca3e6
entity-7.x-1.0-beta5.zip 81.43 KB 19f1479eadabec7cd4b506e03dc52243
Last updated: December 24, 2010 - 22:54
Official release from tag: 

entity 7.x-1.0-beta4

Release notes

This release is compatible with D7-RC2. If you use a more recent Drupal 7 version, use the entity API dev version instead.

Since beta3, the entity CRUD API and entity metadata modules have been merged into a single module. Also there is now a new module "entity tokens", which just provides token replacements for entity properties that have no tokens and are known to the entity API (as previously entity metadata).

Download Size md5 hash
entity-7.x-1.0-beta4.tar.gz 63.77 KB 93210f6c3b3b19258f217a64e6bd56a8
entity-7.x-1.0-beta4.zip 81.43 KB 636df968af15c179ee9f541143978c5e
Last updated: December 24, 2010 - 22:54
Official release from tag: 

entity 7.x-1.0-beta3

Release notes

Entity CRUD API changes since BETA 2:
#976348 follow-up: make entity_forms() actually work.
#978832 Entity CRUD: enable modules to act on enabled or disabled exportables
Entity CRUD API: deprecated EntityDB in favour of the new class 'Entity' + lots of documentation updates
Entity CRUD: help entity types to implement their label() and uri() callback in a way they are alterable, but ease to use.
#976360 Entity CRUD: patch by joachim: further improve the admin UI API docs.
Entity CRUD: simplified loading logic for exportables
#975758 patch by klausi: added import/export to the admin UI of exportables. Yay!
enable resetCache to work with multiple ids.
#982004 Entity CRUD: clarified admin UI hook_forms() implementation.
#983090 Entity CRUD: improved resetting of the static cache
Entity CRUD: optimized + fixed possible issue in the loading logic
Entity CRUD: fixed attaching fields to an exportable entity
#981302 Entity CRUD: patch by klausi: remove support for the faces API (API Change)
Entity CRUD: use the Entity class instead of the deprecated EntityDB class.

API changes for the Entity CRUD API since BETA 2:
* The entity controller resetCache() method function signature changed in core and so in the Entity API's controller. See #651240-38: Allow modules to react to changes to an entity for details.

Download Size md5 hash
entity-7.x-1.0-beta3.tar.gz 60.5 KB cb05413449da98da415d40e3520f0f6d
entity-7.x-1.0-beta3.zip 78.64 KB 97468de033a396af051f066ca8b24ba0
Last updated: December 24, 2010 - 22:54
Official release from tag: 

entity 7.x-1.0-beta2

Release notes

Beside of lots of small improvements and bug fixes, the most important improvement since BETA 1 is the addition of an (optional) admin interface for entity types implemented with the entity CRUD API. Modules may make use of that to provide their UI on top of it, whereas the defaults can be easily customized.

Entity CRUD API changes since BETA 1:
#973116 Entity CRUD API: fixed throwing exceptions in case of errors during saving or deletion. API change: In case of errors, an exception is thrown instead of returning FALSE.
Entity CRUD: do not export the 'is_new' flag
#970338 Entity CRUD: fixed module name of the entity test module
#976348 make entity_forms() more efficient to prevent unnecessarily loading UI controllers
#976346 Entity CRUD API: fixed notices entity_has_status() + improved the API docs
#976360 Entity CRUD: document that the access callback is required for the admin UI
Entity CRUD API: some small doc improvements
Entity CRUD: implemented the recently introduced hooks entity_view and entity_view_alter
Entity CRUD: added hook_file_download_access() implementation for entities provided via the CRUD API.
#962026 Entity CRUD: patch by klausi: fix entity URI links in the UI
Entity CRUD: patch by klausi and me: add a FAPI validation handler to ease validation of machine names for exportables

Download Size md5 hash
entity-7.x-1.0-beta2.tar.gz 59.25 KB a1646f5c1933772feb76e2dd31d6324b
entity-7.x-1.0-beta2.zip 77.32 KB 5702ddf6e544dbb6ab3a82bd4380e3f5
Last updated: December 24, 2010 - 22:54
Official release from tag: 

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 121.41 KB 7ccabb5c4056eb845c023ca2509a8b42
entity-7.x-1.x-dev.zip 154.99 KB 1ae2bcad5313e5670a38e9a071c764e4
Last updated: September 28, 2016 - 13:13
Last packaged version: 7.x-1.8+1-dev

Release notes

7.x development snapshot

Development release from branch: 


Subscribe with RSS Subscribe to Releases for Entity API