Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
The main change in this new version is support for profile revisions, in the same style as node revisions.
There is also a sub-module profile2_diff providing revision diff functionality. This depends on, and integrates with, the main Diff module, adding a new settings sub-tab under the Entities tab of Diff configuration.
The revision and diff UIs are consistent with the version 2 release of User Revisions, so that using both offers a consistent UI.
If using User Revisions, please also upgrade to 7.x-2.0 of that module.
After much tinkering and tweaking adding revision support, and making compatible changes to User Revision, this is a beta version-2 release with a lot of code changes. Most significant are:
Addition of revisions, in the same style as node revisions.
Consistent with the 2.x release of User Revisions, so that using both offers a consistent UI.
Addition of profile2_diff as a sub-module. This depends on, and integrates with, the main Diff module, adding a new settings sub-tab under the Entities tab of Diff configuration.
After much tinkering and tweaking adding revision support, and making compatible changes to User Revision, this is a 2.x release with a lot of code changes. Most significant are:
Addition of revisions, in the same style as node revisions.
Consistent with the 2.x release of User Revisions, so that using both offers a consistent UI.
Addition of profile2_diff as a sub-module. This depends on, and integrates with, the main Diff module, adding a new settings sub-tab under the Entities tab of Diff configuration.
Issue #1860094 by jantoine, klausi: profile2_load_by_user() cache needs to be cleared earlier on saving
Issue #2683917 by ckng, Rick J: Profile 2 types restricted by role, show for admin users
Issue #2449913 by imclean, paulmartin84: Using inline entity form widget on a Profile2 field fails to work
Issue #1097684 by Spleshka, clemens.tolboom, RickJ, mrded, Jacqs: Profile tokens are not available directly after adding/registering a user
Issue #2745845 by sandip27, RickJ: Add a Delete profile button
This release fixes a "Less Critical" security vulnerability: Users are able to view their own profiles on their user account page, regardless whether they have permission for it. For more details, see #1051550.
There is no official security announcement, as there is no stable release affected.
changes since beta1:
* fixed profile entity property of the user account to include bundle information.
* only add the main profile if profile2 is manually installed
* Stripping CVS keywords
* fixed programmatic profile creation via entity_property_values_create_entity() / Rules. Requires the latest Entity API.
* #1032956 fixed profile2_user_cancel() expected to be a reference error upon user deletion.
* #1047864 menu cache needs to be cleared after removing a profile type.
* improved entity property info,
changes since ALPHA2:
* fixed fugly variable names in loading function
* fixed warning with PHP 5.3
* improved profile2 API docs based on the entity API documentation templates
* #1008810 updated Profile2 to be compatible with the latest entity API.
* fixed .info files
* #1008346 fixed uninstalling of profile2_pages if profile2 module is disabled.
* removed unnecessary dash replacement logic
This release requires recent versions of Drupal core (beta3 is too old) and the Entity API (beta2 is too old).
changes since 7.x-1.0-ALPHA-1:
#894026 implemented basic UI for editing creating types based on the entity CRUD UI.
#894026 follow up: fixed the profile2 type UI controller to be used at all
fixed the profile type delete button to work
fix profile2_access to don't allow users to delete their profile
added initial version of the profile pages module
make the used path of profile pages easily customizable
added intial README
fixing field creating during install + the tests
fixed deleting the right variable during uninstall
fix profile page menu item to capitalization
do not enable profile pages automatically
fixed profile2 template to be called like the entity type, thus rename your template file to profile2.
#958966 fix undefined index: custom settings in field_view_mode_settings()
patch by nodestroy: improved markup for no-profile data message
improved the metadata for the profile type property, so that entity creation via rules works.
#952060 improved profile2 form attachers to make use of recent core improvements and added hook_form_profile2_form_alter().
#952054 add admin UI to configure registration integration
fix registration checkbox to work independent of the profile pages module