** See history_archived.txt for older version history. Most recent updates at bottom.


8.0.0.0 - 2017-06-13 - Dustin Bolton
	PROFILES
		New "Smart Profiles" Themes, Plugins, Media for backing up files of each respective type/location:
			SCREENSHOT: http://image.prntscr.com/image/c866aeb96c8d47dd86d44dbd66b3274b.png
			Use the new default smart profiles or create your own for further customizing. These new profile types allow you to automatically only backup this section of the site, allowing for more granular control over what is backed up by a profile. Paired with scheduling this allows you to easily break up backup processes into smaller portions for better spreading server load or timeout issues, especially for larger sites. Smart profiles also support directory and file exclusions.
		New "Custom backup root" option for all profile types (except database):
			SCREENSHOT: http://image.prntscr.com/image/af2c0f714183423eb8b04d4c146ad1e6.png
			You can now configure which directory BackupBuddy backs up on a per-profile basis. Prior to this feature you could only backup the entire site and select directories to exclude. You can now select any directory to be backed up, even directories ABOVE the WordPress root (abspath) by using "/../" in the path. This is useful for backing up individual directories, 3rd party applications, or directories outside the WordPress root. This can also be used for more granular control when breaking up backups across multiple profiles for spreading server load or working around timeout issues.
			Global exclusions apply but default but exclusions may be set for just this profile relative to this custom path manually or with the exclusion picker.
		"Full" and "Files" profiles now have three SMART exclusion options: Auto-exclude Media Directory, Auto-exclude Themes Directory, Auto-exclude Plugins Directory for making it easier to exclude directories which can be backed up by other default Profile types.
			SCREENSHOT: http://image.prntscr.com/image/5a2b85de30ad4ab281a362630fc038c6.png
		Backup profiles can now individually override the default global backup mode (classic vs modern) on a per-profile basis.
			SCREENSHOT: http://image.prntscr.com/image/b42fdd4ff549416fa9a25be28f1643e0.png
	STASH LIVE
		Significant performance improvements, especially for larger sites. Sites which in the past would run out of memory due to hosting limits are very likely to now operate within server limits.
		A troubleshooting scan is now regularly performed detecting common problems and alerting the user and also providing solutions.
		A new "Troubleshooting Scan" button to upper right of page of Stash Live page is available for manually troubleshooting.
			SCREENSHOT: http://image.prntscr.com/image/b80166b92ce24f77986b4892150ee325.png
	IMPORTBUDDY:
		New "Search Engine Visibility" setting to Step 6 of restore process, allowing you to either keep the setting as it was on the source site, turn on search engine visibility, or turn it off. Useful for moving sites between development, staging, and live locations.
			SCREENSHOT: http://image.prntscr.com/image/a10ff6ca440c4d6a8658eb3ed49c9e33.png
		Added "Forgot password" feature which allows you to generate a new password hash. This hash can then be placed inside the importbuddy.php file to make it usable even if you forgot its password.
			SCREENSHOT: http://image.prntscr.com/image/7786f5d6199040ea97eae3930526f226.png
			SCREENSHOT: http://image.prntscr.com/image/66d8c06337d6474da1c2e9609f4b14d4.png
			SCREENSHOT: http://image.prntscr.com/image/be93a67018f440f0910cee758152d8b8.png
		Javascript errors are now automatically detected and brought to the user's attention as well as logged to aid in troubleshooting. Sometimes various browser plugins running javascript fail causing importbuddy.php's javascript to halt.
		Improved look and feel with animated progress as well as highlights to areas that require user attention.
		importbuddy.php file size has been reduced for faster uploading during restore process.
	GENERAL
		Directory exclusions (both global and profiles) support three new variables: {media}, {theme}, and {plugins} to exclude those specific WordPress directories.
		Added advanced option to hide the BackupBuddy Status widget from the dashboard, including the dashboard option to hide or display it.
		Reduced plugin file size by removing unneeded remote destination library files.
		Backup and restore of databases containing foreign key constraints are now fully supported and possible.
	DEPLOYMENT:
		Differences in plugins between source and destination are now highlighted. Plugins not on the other site a colored RED while plugins on the other site but with a different version are colored BLUE.
		You can now click on the number of files to Push/Pull for Plugins, Themes, and Media, to display a listing of all files to transfer of that type.
		Selection listings for database tables and plugins to transfer are now larger and resizable.
		Selection of plugins to push/pull now only lists plugins that either do not exist on the destination or differ in version.
	DROPBOX:
		Added support for Google "Service Accounts" which allows for more than 50 tokens per account for users with large numbers of sites. Previously users with more than 50 sites would hit a Google Account token limit.
			SCREENSHOT: http://image.prntscr.com/image/4d72825fdb524b42a764f30a48a62f12.png
			SCREENSHOT: http://image.prntscr.com/image/d217ded5208241ba8287b6da4e5d95e3.png
	AMAZON S3:
		Added support for Amazon S3 Glacier Storage Class (less cost but slow to restore files for access) for both v2 and v3 remote destinations.
		Added support for Amazon S3 Infrequent Access Storage Class (less cost but slow to restore files for access) for both v2 and v3 remote destinations.
		Amazon S3 (v3) Remote Destination is now compatible with ALL standard geographical locations:
			US East 1 (US Standard; N. Virginia)
			US East 2 (Ohio)
			US West 1 (N. California)
			US West 2 (Oregon)
			Canada Central 1
			Asia Pacific South 1 (Mumbai)
			Asia Pacific Northeast 1 (Tokyo)
			Asia Pacific Northeast 2 (Seoul)
			Asia Pacific Southeast 1 (Singapore)
			Asia Pacific Southeast 2 (Sydney)
			EU Central 1 (Frankfurt)
			EU West 1 (Ireland)
			EU West 2 (London)
			South America East 1 (Sao Paulo)
			China North 1 (Beijing)
	MISC:
		Remote destinations unavailable due to not meeting PHP version requirements are now displayed and greyed out, displaying PHP requirements.
		Dropbox v2 remote destination no longer allows changing the storage directory when editing for enhanced security.
		Directory exclusion picker now takes into account custom root profile and shows directories/files from the custom root path.
		Stash Live: Significant memory usage reduction on sites with a large number of individual files.
		Added support for Google "Service Accounts" which allows for more than 50 tokens per account for users with large numbers of sites. Use p12 type key files.
		Stash Live now stores less metadata in catalog to reduce memory and I/O footprint.
			Removed default catalog entries for h (hash), t (send tries), and d (delete) if at defaults.
			b (backed up), and v (verified during audit) no longer store microtime(true) instead storing simple time for reduced size.
			Removed a (added) timestamp entirely.
		Stash Live: Troubleshooting scan now automatically detects and alerts about possible files or database tables being unable to be transferred. This aids in determining the cause of Stash Live being unable to reach 100%. This alert it shown at the top of the screen.
		Custom backup root profile option now supports directory exclusions. Exclusions in profile should be entered relative to custom root. Global profiles will automatically be applied if their relative to ABSPATH root resides within the custom root.
		Custom backup root profile option now supports going "up" into parent directories above the WordPress site directory (ABSPATH) by using the dot dot ('/..') directory format.  For instance to back up a directory above the WordPress installation named "myapp" you could enter "/../myapp/" as the custom directory.
		Improved profile selector styling to handle varying screen widths better.
		Reduced fileoptions lock timeout from deduced max execution time + 60 seconds to deduced max execution time + 30 for faster potential recovery.
		Renamed phpinfo.php to pinfo.php to avoid Sucuri false positive.
		Now clearing stat cache prior to getting current database file size in _getBackupStatus.php.
		truncate_file_beginning() now clears stat cache prior to testing file size.
		Updated WordPress PHP and mysql version recommendations on Server Tools page. Tests reports fail if php older than 5.2.4, warning if older than 5.6.  Warning is mysql older than 5.6. Recommends PHP v7 as per WordPress suggestion.
		Fixed fileoptions illegal string offset for Stash Live $this->options assignment by key.
		Added importbuddy.php cleanup note about custom file permissions possibly needing re-applied.
		Zipbuddy libraries: _render_exclusions_file() now accepts optional third parameter ($root) which allows for defining directory which exclusions are relative too. Previously hardcoded exclusion relative to ABSPATH.
		Updated default email error message to put emphasis that error is due to server not BackupBuddy itself.
		Added warning if Wordfence is installed as a potential source of conficts.
		Added Google Drive note: If re-using a project for multiple sites, do NOT exceed 50 sites per project. Google limits tokens to 50 or FEWER per project.
		Trimmed remote destination libraries to reduce plugin size.
		Removed unused images to reduce plugins size.
		ImportBuddy: Improved styling and animations for clarity and improved look & feel.
		Overall plugin file size reduced.
		backup_mode setting moved from root into default profile (profile 0).
		After displaying error message about backup zip file not growing if it then begins to grow again the error is hidden from view since it is no longer applicable.
		Added additional logging to destination init Error #8548833.
		Fixed typo in destination send failure email message.
		Bug: Fixed rare situation where days since last Stash Live snapshot could incorrectly be very large due to state being cached and cached value not being returned by _load_state().
		Added availability, durability, and description information to Amazon S3 storage class types.
		ImportBuddy: Now detecting javascript errors and alerting if any are encountered. Useful for detecting browser plugin errors or bugs.
		Moved S3 (v2) and (v3) storage class from advanced options to standard options configuration.
		Quick Setup wizard fixed to show option for scheduling by default.
		Backup process javascript errors now also log a stack trace and column into the Status Log.
		Added animate.css.
		ImportBuddy:
			restore.php connectDatabase() only runs once per PHP instance.
			Detected javascript errors now also log full troubleshooting details into the Status Log.
			The database settings form will no longer submit if javascript has failed to prevent it from reloading the page without submitting restoreData, resulting in an error about being unable to decode submitted data.
			Added additional logging if state data decoding is failing logging the exact decoding failure.
			Added animate.css for animations to draw attention and improve look.
			Removed multiple unused assets including javascript, css, and images to reduce file size.
			Fixed undefined variable $importbuddy_file during cleanup if skipping deletion of importbuddy.php.
		Fixed total aggregate database size resetting.
		Fixed maximum log file size not being enforced.
		Fixed could not connect to stash error on remote destinations page. - Josh Benham
		Fixed remote destinations page displaying scrollbar placeholders on some systems. - Josh Benham
		.sql files now temporarily disable foreign key and unique index checks prior to other sql statements to help avoid temporary errors due to foreign key constraints.
		Better handling for Error #3297392 fileoptions lock in Stash Live
		Fixed PHP memory calculation on PHP 7.x+ due to changes in memory usage. - Jeremy Trask
		Merged Restore / Migrate page into Backup & Restore page.
		Renamed "Remote Destinations" page to "Destinations"
		When no destinations exist added explanation text to explain that by default all backups are stored locally but additional destinations may be added for redundancy or remote storage.
		Destinations page now displays local storage directory.
		Added additional importbuddy logging to step 4 for troubleshooting.
		Fixed error if importbuddy database test fails to connect when using mysqli.
		Remove call to backupbuddy_core::addNotification inside sync API function. - Glenn Ansley.
		Fixed Stash Live backup type display being blank.
		Fixed CSS styling issues on mobile.
		Fixed CSS profiles when name very long.
		Fixed tooltip not wrapping if contents are too long.
		Prevent "Warning: Cannot assign an empty string to a string offset" in PHP 7.1 in _migrate_database.php line 693 due to array possibly not being set before setting migrateResumePoint = ''.
		Unchecking or changing send to remote destination after backup clears previously selected destination title.
		Fixed directory exclusions not handling custom roots above the ABSPATH.
		Added note that restored files will be restored to ABSPATH, not necessarily their original location.
		Defaulting missing profile mode to modern (2). Added warning if this occurs.
		Added PHP version into DAT file as 'php_version'.
		Added PHP version into first line of status log.
		Fixed links in table on Restore / Migrate page not working as of last quick release.
		Fixed inconsistencies in exclusions between zipbuddy and xzipbuddy.
		Fixed inaccurate exclusion creation during zip generation when using parent path in custom root (/../) although directory listing preview was accurate. Caused by defaults overwriting exclusions prior to calculation of parent root prefix.
		Fixed exclusions picker prepending /./ when using parent directory path (/../) in custom root.
		Fixed "Browse & Restore Files" link on backup page as of 7.3.1.5.
		Re-wrote backup exclusion function to be more robust.
		Fixed directory size listing not properly taking into account exclusions on some profiles.
		Fixed directory size listing not loading from proper root path for smart profile types.
		Now enforcing trailing slash on get_themes_root(), get_media_root().
		Fixed global profile not merging over plugin defaults. This could cause missing default parameters on existing installs.
		Media exclusion tooltip typo fixed.
		Misc minor fixes.
		Misc UI tweaks for screen size compatibility.
		Fixed unexpected [ in core.php.
		Added v8 welcome dismissable banner.
		New v8 welcome banner look and feel.
		Cleaned Stash Live UI.
		live_periodic-shrunk testing variable replacements for common paths in catalog for shrinking catalog file size and memory usage.
		Call to a member function save() on string in live_periodic fixed. Only saving if object.
		Fixed media, theme, and plugin profile types not having exclusions 'bubble up' into them resulting in some files not being excluded.
		Updated warning about possibly conflicting plugin being detected not being caching-plugin-only specific.
		Stash Live: New "View Unsent Files" in Raw Data Advanced Troubleshooting Options lists all files that are still pending transfer.
8.0.0.1 - 2017-06-16 - Dustin Bolton
	mysqlbuddy now logs if $ignore_existing is enabled for troubleshooting as this suppresses error logging.
	Added additional logging of zip time elapsed to periodic status display to better see how much time has passed: Ex: "Temporary ZIP file size: 34.64 MB. Approximate speed: 12.24 MB/sec. Elapsed: 2.83 secs."
	Extended archive limits of destinations supporting full and database archive limits to also include themes, plugins, media, and files.
	ImportBuddy password hash now using underscores "_" instead of right parentheses ")" due to false positives with ModSecurity. Ticket #70795.
8.0.0.2 - 2017-06-19 - Dustin Bolton
	Renamed temporarily created recurse() function to bb_recurse() to avoid conflict.
8.0.0.3 - 2017-06-20 - Dustin Bolton
	Full backup types can no longer auto-exclude media due to current technical limitations.
8.0.1.0 - 2017-06-30 - Dustin Bolton
	Fixed BackupBuddy welcome banner showing on plugin activate screen.
	FEATURE:
		Rackspace destination: Added support for directory paths.
	Stash Live live database backup now excludes options updates to "wordfence_syncAttackDataAttempts" option due to rapid updates.
	Updated Google Drive setup instructions to reflect Google's UI changes.
	Fixed undefined index $client_id and $client_secret for Google Drive destination.
	Fixed global exclusions not being applied to schedule backups.
	If Full profile type was auto-excluding media then this is now forced off upon upgrade.
8.0.1.1 - 2017-07-06 - Dustin Bolton
	Fixed Deployment confirmation not cleaning up some tables due to housekeeping cleanup_temp_tables rename to remove_temp_tables().
8.0.1.2 - 2017-07-10 - Dustin Bolton
	Rackspace Remote Destination: Fixed support for storing into directories and browsing directories.
	Rackspace Remote Destination: Fixed table listing size.
8.0.1.3 - 2017-07-12 - Dustin Bolton
	Added additional status logging and error checking for fread'ing file contents for S3 (v2) and S3 (V3) destinations.
	Recent Sends listing table now limits the maximum displayed to the most recent 100 items to prevent page load issues. New constant: RECENT_SENDS_MAX_LISTING_COUNT.
	Stash Live: View unsent files now optionally shows file permissions and ownership for each pending file by default.
8.0.1.4 - 2017-07-18 - Dustin Bolton
	Full backups now contain a copy of importbuddy.php even if password is not set. In this case the user will need to use the "Forgot Password" option to use this importbuddy.php.
	importbuddy: Lack of json_decode() function now displays error message.
	Rackspace remote destination: Fixed uncaught exception when directory value is blank.
	Misc logging improvements.
8.0.1.5 - 2017-07-20 - Dustin Bolton
	Added additional default exclusions for 3rd party files/directories.
	Stash Live: Added default postmeta exclusion for Adrotate plugin: /_count-views_.+/
	Rackspace destination: Fixed file listing not showing when no directory is set.
	FEATURE:
		Deployment: Added new option to disable Pushing to or Pulling from a site in the destination's configuration options. Useful for preventing accidental deployments in the wrong direction.
8.0.1.6 - 2017-07-24 - Dustin Bolton
	Fixed multiple "A non-numeric value encountered " errors due to PHP 7.1.
	Added additional Backup page logging to detect failure point.
8.0.1.7 - 2017-07-28 - Dustin Bolton
	Deployment: Fixed issue where importbuddy step 5 (migrating URLs/paths) step chunking would result in premature 'finished' signal for Deployment resulting in it stopping before database migration and cleanup would run. Symptoms would be incomplete database contents migration and .maintenance file lingering.
8.0.1.8 - 2017-08-02 - Dustin Bolton
	Fixed Deployment typo.
	Deployment: Added new Error #8001b if 413 request entity too large error is returned during deployment: Request Entity Too Large. The destination server says we sent too much data. Either change the Deployment Advanced Setting "Max Chunk Size" to a lower value or change the server configuration to accept a larger value. See the following webpage for the server solution for Apache, nginx, or IIS: https://craftcms.stackexchange.com/questions/2328/413-request-entity-too-large-error-with-uploading-a-file
	S33 destination fixed array declaration using bracket form instead of array().
	Improved Live action handling function for postmeta.
8.0.1.9 - 2017-08-10 - Dustin Bolton
	Stash Live: Added errors and warnings if adjusted max execution time falls below certain thresholds.
	Stash Live: If adjusted max execution time falls below 5 seconds, including wiggle room buffer, adjust back up to 5 seconds to give things a chance. Throws error.
	Stash Live: 5002 error now logs last send filename that failed and how long ago that was.
	Transient housekeeping cleanup currently capped at 1000 per run as a temporary workaround for high memory usage on sites with massive numbers of transients.
8.0.1.10 - 2017-08-28 - Dustin Bolton
	Added 60-second wiggle room for detecting stuck crons.
	Fixed undefined index type in integrity scan.
	Stash Live: Added additional information about low site activity being a potential cause of crons being behind.
	Stash Live: Fixed Stash Live-specific file exclusions not applying since 8.0. Caused by core exclusion function not applying abspath before relative paths.
8.1.0.0 - 2017-09-29 - Dustin Bolton
	importbuddy.php: Now detects unexpected leading whitespace (newlines, etc) at the beginning of importbuddy.php, removed them, and re-writes a valid importbuddy.php. Fixes error about whitespace already being sent and authentication breakage.
	ENHANCEMENT:
		Dropbox (v2) Remote Destination: Fixed use of retired v1 Dropbox API calls. Dropbox no longer provides an official comparible PHP SDK.
	importbuddy: Fixed detection of database sql files location when a database backup was manually unzipped.
	QUICK RELEASE UPDATES 8.0.1.0-8.0.1.11.
	mysqlbuddy now logs if $ignore_existing is enabled for troubleshooting as this suppresses error logging.
	Added additional logging of zip time elapsed to periodic status display to better see how much time has passed: Ex: "Temporary ZIP file size: 34.64 MB. Approximate speed: 12.24 MB/sec. Elapsed: 2.83 secs."
	Extended archive limits of destinations supporting full and database archive limits to also include themes, plugins, media, and files.
	ImportBuddy password hash now using underscores "_" instead of right parentheses ")" due to false positives with ModSecurity. Ticket #70795.
	Renamed temporarily created recurse() function to bb_recurse() to avoid conflict.
	Full backup types can no longer auto-exclude media due to current technical limitations.
	Fixed BackupBuddy welcome banner showing on plugin activate screen.
	FEATURE:
		Rackspace destination: Added support for directory paths.
	Stash Live live database backup now excludes options updates to "wordfence_syncAttackDataAttempts" option due to rapid updates.
	Updated Google Drive setup instructions to reflect Google's UI changes.
	Fixed undefined index $client_id and $client_secret for Google Drive destination.
	Fixed global exclusions not being applied to schedule backups.
	If Full profile type was auto-excluding media then this is now forced off upon upgrade.
	Fixed Deployment confirmation not cleaning up some tables due to housekeeping cleanup_temp_tables rename to remove_temp_tables().
	Rackspace Remote Destination: Fixed support for storing into directories and browsing directories.
	Rackspace Remote Destination: Fixed table listing size.
	Added additional status logging and error checking for fread'ing file contents for S3 (v2) and S3 (V3) destinations.
	Recent Sends listing table now limits the maximum displayed to the most recent 100 items to prevent page load issues. New constant: RECENT_SENDS_MAX_LISTING_COUNT.
	Stash Live: View unsent files now optionally shows file permissions and ownership for each pending file by default.
	Full backups now contain a copy of importbuddy.php even if password is not set. In this case the user will need to use the "Forgot Password" option to use this importbuddy.php.
	importbuddy: Lack of json_decode() function now displays error message.
	Rackspace remote destination: Fixed uncaught exception when directory value is blank.
	Misc logging improvements.
	Added additional default exclusions for 3rd party files/directories.
	Stash Live: Added default postmeta exclusion for Adrotate plugin: /_count-views_.+/
	Rackspace destination: Fixed file listing not showing when no directory is set.
	FEATURE:
		Deployment: Added new option to disable Pushing to or Pulling from a site in the destination's configuration options. Useful for preventing accidental deployments in the wrong direction.
	Fixed multiple "A non-numeric value encountered " errors due to PHP 7.1.
	Added additional Backup page logging to detect failure point.
	Deployment: Fixed issue where importbuddy step 5 (migrating URLs/paths) step chunking would result in premature 'finished' signal for Deployment resulting in it stopping before database migration and cleanup would run. Symptoms would be incomplete database contents migration and .maintenance file lingering.
	Fixed Deployment typo.
	Deployment: Added new Error #8001b if 413 request entity too large error is returned during deployment: Request Entity Too Large. The destination server says we sent too much data. Either change the Deployment Advanced Setting "Max Chunk Size" to a lower value or change the server configuration to accept a larger value. See the following webpage for the server solution for Apache, nginx, or IIS: https://craftcms.stackexchange.com/questions/2328/413-request-entity-too-large-error-with-uploading-a-file
	S33 destination fixed array declaration using bracket form instead of array().
	Improved Live action handling function for postmeta.
	Stash Live: Added errors and warnings if adjusted max execution time falls below certain thresholds.
	Stash Live: If adjusted max execution time falls below 5 seconds, including wiggle room buffer, adjust back up to 5 seconds to give things a chance. Throws error.
	Stash Live: 5002 error now logs last send filename that failed and how long ago that was.
	Transient housekeeping cleanup currently capped at 1000 per run as a temporary workaround for high memory usage on sites with massive numbers of transients.
	Added 60-second wiggle room for detecting stuck crons.
	Fixed undefined index type in integrity scan.
	Stash Live: Added additional information about low site activity being a potential cause of crons being behind.
	Stash Live: Fixed Stash Live-specific file exclusions not applying since 8.0. Caused by core exclusion function not applying abspath before relative paths.
	importbuddy: Removed old unused debugging files and cleaned up file formatting.
	Misc plugin cleanup.
8.1.0.1 - 2017-10-09 - Dustin Bolton
	Remote Destinations: Fixed edge case where a successful file transfer with no chunking might get marked as failed despite success sending.
	importbuddy: Fixed runtime setting of -1 not skipping chunking feature.
	Dropbox destination: Added additional logging information to troubleshoot chunk completion error 400 from Dropbox API.
8.1.0.2 - 2017-10-11 - Dustin Bolton
	Now passing data between multiple pages using json rather than serialization.
	Database Rollback: Fixed mysqli database warning due to missing parameter.
	Dropbox destination: Added additional troubleshooting information when full troubleshooting logging enabled.
	Fixed error retrieving Stash Live status log if it does not yet exist.
	Dropbox: Fixed 400 error when finishing multipart upload on some servers where the specific curl version sets the content length header to -1 when no body specified rather than no content length header.
8.1.0.3 - 2017-10-12 - Dustin Bolton
	Deployment: Fixed error message blocking deployment as of 8.1.0.2.
	Only DAT file and settings backup are stored as serialized data.
	Misc importbuddy cleanup.
8.1.1.0 - 2017-10-16 - Dustin Bolton
	Dropbox send fixes for new API.
	Release of Quick Release versions 8.1.0.1-8.1.0.3.
	