entity 8.x-1.4

Bug fixes

Drupal 10 support

Contributors (4)

SocialNicheGuru, TR, AardWolf, heddn

Changelog

Issues: 3 issues resolved.

Changes since 8.x-1.3:

entity 8.x-1.3

Bug fixes

PHP 8.1 compatibility and bugfixes

Contributors (12)

TR, sanjayk, Pooja Ganjage, anagomes, Deepak Goyal, swatichouhan012, Berdir, paulocs, AardWolf, mrweiner, alexpott, skyredwang

Changelog

Issues: 11 issues resolved.

Changes since 8.x-1.2:

entity 7.x-1.10

The main feature of this new release is compatibility with PHP 8.0 and PHP 8.1 (rc).

There are also a small number of bug fixes, and a lot of documentation and coding standards improvements.

Changes since 7.x-1.9:

entity 8.x-1.2

Bug fixes

Fixes a bug related to bundle plugin fields as well as a bug that results in leaked cacheability metadata

Contributors (3)

agoradesign, mglaman, Berdir

Changelog

Issues: 2 issues resolved.

Changes since 8.x-1.1:

entity 8.x-1.1

Bug fixes
New features

Query access improvements, bugfixes, Drupal 9 compatibility fixes

Contributors (6)

kristiaanvandeneynde, thalles, mrinalini9, Berdir, mglaman, fago

Changelog

Issues: 5 issues resolved.

Changes since 8.x-1.0:

entity 8.x-1.0

Bug fixes

Contributors (13)

effulgentsia, bojanz, borgenk, tstoeckler, dsdeiz, paqu83, kavbiswa, andreyjan, thalles, Berdir, iyyappan.govind, mglaman, rpayanm

Changelog

Issues: 11 issues resolved.

Changes since 8.x-1.0-rc3:

entity 8.x-1.0-rc3

Bug fixes

Contributors (8)

anpolimus, bojanz, joachim, AardWolf, thalles, marthinal, jsacksick, bradjones1

Changelog

Issues: 6 issues resolved.

Changes since 8.x-1.0-rc2:

entity 8.x-1.0-rc2

Bug fixes
New features

Contributors (10)

joachim, tstoeckler, idebr, bojanz, jsacksick, czigor, nitin.ahire, morenstrat, foxtrotcharlie, amateescu

Changelog

Issues: 12 issues resolved.

Changes since 8.x-1.0-rc1:

entity 8.x-1.0-rc1

Bug fixes
New features

Requires Drupal 8.6.x. Contains the new Query Access API: https://www.drupal.org/node/3002038

Contributors (9)

bojanz, temkin, kristiaanvandeneynde, Wim Leers, gabesullice, dawehner, imshivani, Aanal.addweb, tstoeckler

Changelog

Issues: 8 issues resolved.

Changes since 8.x-1.0-beta4:

entity 8.x-1.0-beta4

Summary: 8.x-1.0-beta4

Contributors: (2) bojanz, joachim

Issues: 6 issues resolved.

Changes since 8.x-1.0-beta3:

entity 8.x-1.0-beta3

Bug fixes

Changes since 8.x-1.0-beta2:

entity 7.x-1.9

Security update
Bug fixes

This release is a security release. See Entity API - Moderately critical - Information Disclosure - SA-CONTRIB-2018-013 for more information.

Changes since 7.x-1.8:

entity 8.x-1.0-beta1

Bug fixes
New features

Requires Drupal 8.3.x or newer.

Major highlights:

Changes since 8.x-1.0-alpha4:

entity 8.x-1.0-alpha3

Bug fixes

Changes since 8.x-1.0-alpha2:

  • Merge pull request #44 from dawehner/fix-test
  • Fix the broken testcase
  • #2709489 by CTaPByK, slashrsm: RevisionsOverviewDeriver uses wrong base_route
  • #2709483 by CTaPByK, slashrsm: EntityRevisionRouteAccessChecker doesn't correctly handle local tasks

entity 8.x-1.0-alpha2

Bug fixes
New features

This release only works with Drupal 8.1.x.
If you're still on Drupal 8.0.x, please use Entity API 8.x-0.x (or 8.x-0.1).

The following functionality has been removed since it's now a part of Drupal 8.1:

entity 8.x-0.1

This release only works with Drupal 8.0.x.
It is the heir to 8.x-1.x-alpha1, now that 8.x-1.x requires Drupal 8.1.x.

entity 8.x-1.0-alpha1

First alpha release.

Note: This alpha is compatible with Drupal 8.0.x. The next alpha will be compatible with Drupal 8.1.x only. Switch to the 8.x-0.x branch for Drupal 8.0.x compatibility.

entity 7.x-1.0

New features
Bug fixes
Insecure

Changes since 7.x-1.0-rc3:

entity 7.x-1.0-rc2

New features
Bug fixes
Insecure

Compatibility note: If the i18n Translation Sets module (i18n_translation) is used, an i18n version of 1.5 or later is required!

Changes since 7.x-1.0-rc1:

entity 7.x-1.0-rc1

New features
Bug fixes
Insecure

Developers please note the change records applicable for this release: link

Changes since 7.x-1.0-beta11:

entity 7.x-1.0-beta11

Bug fixes
Insecure

Change records!
Developers and site-builders, please note the change records applicable for this release: link

Changes since 7.x-1.0-beta10:

entity 7.x-1.0-beta9

Bug fixes
Insecure

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.

entity 7.x-1.0-beta8

Bug fixes
Insecure

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.

entity 7.x-1.0-beta7

Bug fixes
Insecure

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.

entity 7.x-1.0-beta6

Insecure

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.

entity 7.x-1.0-beta5

Bug fixes
Insecure

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.

entity 7.x-1.0-beta4

Bug fixes
Insecure

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).

entity 7.x-1.0-beta3

New features
Bug fixes
Insecure

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.

entity 7.x-1.0-beta2

New features
Bug fixes
Insecure

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

entity 7.x-1.0-beta1

New features
Bug fixes
Insecure

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

entity 7.x-1.0-alpha6

Bug fixes
Insecure

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.

entity 7.x-1.0-alpha5

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

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

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

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

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