Skip to content

Releases: staticweb-io/static-deploy

v9.6.0

05 Nov 17:36

Choose a tag to compare

  • (breaking) Change plugin name and slug from "Static Deploy" / "static-deploy" to "StaticWeb Deploy" / "staticweb-deploy". The wordpress.org plugin repository would not allow submission under the name "Static Deploy".
  • Remove unused services from AWS SDK dependency. This reduces the plugin zip size from 6.5MB to 1.3MB.

v9.5.1

05 Nov 17:29

Choose a tag to compare

  • Remove extra <script> tag from admin bar enqueue

v9.5.0

28 Oct 19:25

Choose a tag to compare

Version 9.5.0

v9.4.1

20 Oct 21:24

Choose a tag to compare

Version 9.4.1

v9.4.0

02 Oct 20:00

Choose a tag to compare

  • Show job duration with more precision on the jobs page. E.g., "1 minute 20 seconds" instead of "1 minute".
  • Fix a rare Run page error that happened when the views/ folder was symlinked to a different location.
  • Add s3_awsEndpoint option for overriding the AWS endpoint.
  • Fix an error when the S3 deployer could construct a blank key.
  • Fix that crawl always reported 0 cached files even when there were cached files.
  • Normalize the sitemap path when robots.txt reports a sitemap path with extra slashes.
  • Check that crawled files are successfully written.
  • Detect redirect URLs created by the "Redirection" and "Redirect Redirection" plugins.
  • Fix a possible error when checking the correctness of a request to S3.
  • Fix that redirects were being treated as if they were the page they redirect to. Now they will be treated and deployed as actual redirects.
  • No longer grabs the body of 404 responses. These are normally removed from the crawl.
  • Fix that the s3 prefix would get dropped if the path being deployed ended in a slash.
  • Apply "Paths to Ignore" patterns to all paths. Previously, it only applied to files and URLs discovered while crawling.
  • Rename the deploy_cache table to deployed_files and restructure it.
    • Make path_hash a persistent generated column.
    • Rename file_hash to data_hash to reflect that it can include metadata.
    • Add deployed_at column and an index on it.
  • Batch queries to the deployed_files table for better performance.
  • Add "extra_detected_files" filter that allows plugins to
    add additional files when the "detect" step is run.
  • Fix text domain for "Settings" translation.
  • Use WP_Filesystem methods by default instead of direct file access. These provide more control and can work over FTP and SSH. The previous behavior of direct file access can be enabled by setting define('STATIC_DEPLOY_DIRECT_FILE_ACCESS', true); in wp-config.php.
    • This was changed because direct file access is prohibited
      by the wordpress.org plugin guidelines.
  • Escape exception messages when STATIC_DEPLOY_ESCAPE_EXCEPTIONS is true.
  • Fix a security issue where the nonce was not verified for some actions until after the action had been performed.
  • Cache option values. BLOB values are not cached.
  • Fix an issue where uninstall failed.

snapshot

19 Aug 03:44

Choose a tag to compare

snapshot Pre-release
Pre-release
Create snapshot release for each commit

v9.3.2

29 Jul 20:41

Choose a tag to compare

  • Fix wrong calculation for Content-MD5 in S3 deployer.

v9.3.1

29 Jul 20:06

Choose a tag to compare

  • Fix "direct-deploy --no-detect" gave the message "Unknown option: detect"

v9.3.0

29 Jul 19:41

Choose a tag to compare

  • Remove "debugLogging" option. Instead, debug logs are enabled when WP_DEBUG is true or when the "--debug" flag is passed to the WP CLI. This improves performance when debug logs are disabled by allowing us to skip the debug calls entirely.
  • Remove unused duration column from jobs table.
  • Fix that the "Process Queue Immediately" option could not have the "Using WordPress CLI" value set.
  • Don't register hooks in the non-admin part of the site. This avoids some unnecessary load.
  • Add a "--path-hash-prefix=" option to the crawl and direct_deploy CLI commands. This allows restricting processing to a stable subset of paths. Intended for dev use and benchmarking.
  • Add a "--no-detect" option to the direct_deploy CLI command that skips the detect step.
  • Add a status_updated_at column to the jobs table.
  • Remove unused microtime_diff functions.
  • Show "x time ago" for job creation time and status update time on jobs page.
  • Show job duration on jobs page.
  • Fix error with "Delete All Jobs from Queue" button submission.
  • Remove unused functions countURLs and detectURLs from URLDetector
  • Fix that very long wpdb prefixes could result in invalid MySQL lock names.
  • Allow both hyphens and underscores in CLI command names.
  • Rename "process_queue" command to "jobs process". The "process_queue" command still works as an alias.
  • Fix that a job could block a job of another database on the same server.
  • Add jobs run from the CLI to the jobs table after completion.

v9.2.1

18 Jul 19:56

Choose a tag to compare

  • Fix an issue where 404s encountered during crawling did not cause removal of the URL from the database.