optimizely 8.x-3.1

Bug fixes

2018 Apr 08 - 8.x-3.1

- Fixed: Issue #2958572 by Watergate: Out of memory exception on Windows

optimizely 8.x-3.0

2017 Oct 06 - 8.x-3.0

- Fixed: Issue 2821560: Use subdirectories for source code files
- Started 8.x-3.x branch from 8.x-1.x branch.

optimizely 8.x-1.6

Bug fixes

- Fixed: Issue #2913679: Error message for duplicate project code does not replace variables

optimizely 8.x-1.5

Bug fixes

- Fixed: Issue #2896301 by volkswagenchick: README for D8 branch could use some helpful configuration
- Tested for Drupal 8.3.3 and PHP 7.1. No code changes.

optimizely 8.x-1.4

2017 May 25 - 8.x-1.4

- Cleaned up code to Drupal coding standards

optimizely 8.x-1.3

- Fixed: Issue #2856506 by Znak: Deprecated methods and functions

optimizely 8.x-1.2

Bug fixes

- Fixed: Issue 2847940 by nehakhadke: Remove @file tag docblock from all the .php files

optimizely 8.x-1.1

Bug fixes

2016 Nov 23 - 8.x-1.1

- Fixed: Issue 2825379: Update hook optimizely_update_8000() not necessary
- Fixed: Issue 2826169: Problem to create Cache Tags breaking Drupal

optimizely 8.x-1.0

Bug fixes

2016 Nov 02 - 8.x-1.0

- Implemented cache invalidation of pages via cache tags.
- Fixed: Issue #2823398: Invalid use of * should be rejected.
- Added leading slash / to paths if slash is missing.
- Refactoring, formatting, and other minor changes.

optimizely 8.x-0.0

2016 Aug 26 - 8.x-2.17-0.0

- Tested to work under Drupal 8.0.0.
- No code changes.

optimizely 8.x-2.17-rc1

Bug fixes

- Fixed: Issue #2584933: Optimizely suggests no protocol in HTML snippet.

optimizely 8.x-2.15-rc1

- Updated to work under Drupal 8, RC 1.
- Removed all calls to SafeMarkup::checkPlain().
- hook_install() - set default language for langcode key.
- hook_uninstall() - delete all variables stored by the module.

optimizely 8.x-2.15-beta15

- Updated to work under Drupal 8, beta 15.
- Added langcode key to optimizely.schema.yml as required for automated tests.

optimizely 7.x-3.x-dev

New features

Dev release towards 7.x-3.0

- First pass at 2569691 "Drush command to set Optimizely ID number" by SeeWatson

Drush command to set the default project ID:
- drush optimizely-set-id ###

optimizely 7.x-2.18

Bug fixes

Maintenance release:

- Issue #2584933: Optimizely suggests no protocol in HTML snippet by dremy
- Issue #2577193: Increase Optimizely Snippet's Load Priority by SeeWatson
- Issue #2564383: Unable to save Url with parameters by richardcanoe

- Started cleanup of code formatting as suggested by SeeWatson in issue #2581409

optimizely 6.x-1.5

Bug fixes

Bug Fixes
- Leading slash causing Optimizely JS file not to be included: Issue 2562747 by capellic
- hook_perm - not hook_permission: Issue 2487189 by Larskhansen@gmail.com

Also
- Moved admin page to /admin/settings/optimizely as suggested by Larskhansen@gmail.com because I'm all about making "99% of the Drupal users" happy :)

optimizely 8.x-2.15-beta12

- Updated to work under Drupal 8, beta 12.

- AliasManager methods require paths with leading slash.
- Removed _format property in route definition for ajax call.
- In several Testing cases, added leading slash to paths.

optimizely 8.x-2.15-beta11

- Updated to work under Drupal 8, beta 11.
- Drupal\Component\Utility\String::checkPlain() has been moved to Drupal\Component\Utility\SafeMarkup::checkPlain().

optimizely 8.x-2.15-beta9

- Updated to work under Drupal 8, beta 9.
- Added @group annotations to Testing classes.
- Replaced call to module_invoke().

optimizely 8.x-2.15-beta6

* Updated to work under Drupal 8, beta 6.

- Changed code to get a mutable config object (default is immutable).

optimizely 8.x-2.15-beta4

* Updated to work under Drupal 8, beta 4.

- Implemented use of libraries for inclusion of css and javascript files.
- Replaced hook_page_build, function current_path(), and direct attaching of external js script with Drupal 8 equivalents.
- Replaced _content with _controller in routing file.
- drupal_match_path() has been removed and replaced.
- basePath has been renamed to baseUrl.
- Renamed css and js files according to current conventions.
- Minor tweaking to formatting of automated test output.

optimizely 6.x-1.4

Bug fixes

Issue 2382447 fixed by alexweber
- adjust parameters used by drupal_add_js() to use values specific to Drupal 6.

optimizely 8.x-2.15-beta3

2014 Nov 28 - 8.x-2.15-beta3

- Tested that it works under Drupal 8, beta 3.
- No code changes.

optimizely 8.x-2.15-beta1

- Updated to work under Drupal 8, beta 1.
- Replaced functions url() and l() with D8 equivalents.
- Replaced use of hook_permission() with permissions.yml file.

optimizely 8.x-2.15-alpha15

- Updated for Drupal 8, alpha 15.
- Fixed use of FormStateInterface access to values.
- Function drupal_valid_path() removed; replaced with pathValidator().

optimizely 8.x-2.15-alpha14

- Updated for Drupal 8, alpha 14.
- Added check to prevent deletion of default project.
- Confirmed correct display of error msg with path such as <back>.

optimizely 7.x-2.17

Bug fixes

- Issue 2342389: Enable/disable checkbox is not working
Failed to update AJAX path from 2.16 release.

optimizely 7.x-2.16

Bug fixes

- Issue: 2330675 - Broken links on Account Info tab
Link to Optimizely site to purchase upgrade to Optimizely was broken.
Applied patch supplied by tz_earl
- Issue: 2324367 - Remove unnecessary .DS_Store files
Applied patch supplied by tz_earl
- Issue: 2323041 - OptimizelyTestPageSnippetTestCase fails in multiple ways.
Didin't apply patch as related code was fixed / enhanced but still provided
commit credit as the solution was still helpful. Applied patch supplied by tz_earl

optimizely 8.x-2.14-beta3

- Updated to work under Drupal 8 alpha 14.
- Implemented Optimizely menu item as part of system menu hierarchy.
- Fixed various url issues.

optimizely 8.x-2.14-beta2

2014 -Aug-11

8.x-2.14-beta1

- First release of version 7.x-2.14 converted to work under Drupal 8, alpha 13.

- Tested in two environments:
Linux Mint 16, Apache 2.4, PHP 5.5, MySQL 5.5
Windows 7, Apache 2.2, PHP 5.4, MySQL 5.6.11

- Known issue: clearing of caches when projects are modified is often done sitewide rather than being done more selectively on particular subpaths. This could cause a sitewide performance hit.

optimizely 8.x-2.14-beta1

This is the first release of version 7.x-2.14 converted to work under Drupal 8, alpha 13.

Tested in two environments:

Linux Mint 16, Apache 2.4.6, PHP 5.5.3, MySQL 5.5
Windows 7, Apache 2.2.22, PHP 5.4.15, MySQL 5.6.11

Known issue: clearing of caches when projects are modified is often done sitewide rather than being done more selectively on particular subpaths. This could cause a sitewide performance hit.

About half of the automated test classes have been converted. The remainder will be in the next beta release.

optimizely 7.x-2.15

Bug fixes

- Issue: 2303917 - Default project can be deleted with manual url
Added check and related "Default project can not be deleted." error message
to prevent project ID 1 from being sent to delete functionality.
- Issue: 2304545 - Path not displayed in error messages
Added htmlentities formatting to path values when displaying errors.
- Issue 2306399 - Warning: Illegal string offset '#value'
Removed ['#value'] in 'project-row-' . $element[$key]['#project_code']['#value']
and $element[$key]['#oid']['#value'].

optimizely 7.x-2.14

Bug fixes

- Fixed message display for project code setting to respond to when the Optimizely account ID is not set
- Fixed undefined variable warning for project code setting message logic for adding new project
- Fixed duplicate path check when one path has parameter values
- Fixed valid path bug in AJAX _optimizely_valid_path() call
- Added path details to error message display when AJAX call produces invalid path
- Added support for parameters in _optimizely_unique_paths()
- Added support for parameters in _optimizely_collect_alias()

optimizely 7.x-2.13

Bug fixes

Fixed weird git merge issues that resulted in messed up files.

optimizely 7.x-2.12

Bug fixes

-> Fix issue with merge comments in code - removed and tested
-> Adjusted comments in Add / Edit project form to better respond to default project code / Optimizely account ID not being set and preventing the enabling of the default project entry.
-> Fixed support for parameters "?" in project path settings to use the base path

optimizely 7.x-2.11

Bug fixes

- Bug fix: Check for unique wildcard paths "*" in either existing oe the addition of projects was not validating correctly
- Bug fix: Check for valid paths that included wildcards "*" not validating correctly
- Bug fix: Logic in hook_init function not supporting wildcards "*"
- Bug fix: Added support for parameters in project paths
- Bug Fix: Added check for unique path within new project path submission
- Bug fix: Prevented Default project from being enabled from the project listing page when the project ID / Optimizely account ID is not set.
- Added support for complete alias lookups when adding / editing project paths to all for entries using both alias and source values
- Added support for https (secure pages) to Optimizely snippet calls
- Added path alias details to project listing when path setting is < front >, includes the display of the actual path to < front >
- Added support for < front > to also check related alias and source values
- Added support for parameters "?" in project path setting
- Added support for optional slave data base connections on SELECT queries to help performance
- Removed project setting validation to allow more than one project entry using the default project ID - regression from previous 2.1x version

optimizely 7.x-2.10

New features

Key Feature

Each project entry, when created or enabled will be validated for

  • Unique path entries, no more than one Optimizte project javascript file can be loaded on a single page.
  • Valid paths, it's not possible to set project javascript to appear on an invalid (non existent) site path.

The Default project entry concept has been reworked. It's now possible to edit path and include / exclude settings. A default entry is created on the modules install with a path value of include "*" with the project code being the Optimizely ID value. This will result in a site wide javascrpt entry using the Optimizely ID. Additional projects with there own set of experiments can be created and added to the module project entries creating the opportunity to have better control of what paths project javascript is added to a site.

Other enhancements / cleanups / bug fixes:

  • Added AJAX functionality to admin interface to support enable / disable of projects. This functionality will be used in future versions to access the Optimizely API to gather additional information about projects.
  • Moved all page markup to template (tpl) files.
  • Cleaned up project listing to use less / easier to read columns.

optimizely 7.x-2.04

  • Removed unused page cache clearing function, now using drupal_match_path() for all path logic
  • Fixed validation of project entries to force unique project code values.
  • Allow second project entry when using the Optimizely account ID over ride the default project entry.

optimizely 7.x-2.03

Bug fix for checking for unique project ID at the time of adding a project.

optimizely 7.x-2.0

Official production release:

  • A default project entry always exists that when the Optimizely account ID is added to the module configuration page will allow the basic Optimizely project javascript file to be applied site wide. The default entry can be disabled. This provides the basic functionality of the 7.x-1.x module.
  • Support for multiple project / experiment entries. Prevention of duplicate project entries by Optimizely project ID with the exception of the default entry that uses the account ID for the initial javascript call. A duplicate entry in this case can be made to allow for settings to be applied to a project entry using the default account ID while disabling the default project entry.
  • Each Project entry has settings to include or exclude paths pointing to a related Optimizely javascript file.
  • Each Project entry can be enabled or disabled allowing project entries (settings) to persist and enabled /disabled as desired.
  • Targeted Drupal page cache and Varnish cache will be refreshed with new, edited or deleted Project entries. This results in applying project javascript files to site paths immediately without the need to do a full cache clears to the whole site. An issue that high performance sites will like who are also often users of Optimizely testing.
  • Basic Unit Tests

optimizely 7.x-2.x-dev

New features
  • A default project entry always exists that when the Optimizely account ID is added to the module configuration page will allow the basic Optimitezely project javascript file to be applied site wide. The default entry can be disabled. This provides the basic functionality of the 7.x-1.x module.
  • Support for multiple project / experiment entries
  • Each Project entry has settings to include or exclude paths pointing to a related Optimizely javascript file
  • Each Project entry can be enabled or disabled

Pages

Subscribe with RSS Subscribe to Releases for Optimizely