Skip to content

v2.0.0

Latest

Choose a tag to compare

@github-actions github-actions released this 21 May 20:25
v2.0.0
45767ce

Added

  • New plugin file viko-wp-ajaxify.php with ViKo branding
  • @package ViKo_WP_Ajaxify PHPDoc tags across all classes
  • Author, copyright, and version docblocks to all PHP classes
  • CI workflows: lint (PHPCS + Prettier) and release (zip + GitHub Release)
  • Husky hooks for commit-msg, pre-commit, pre-push
  • ESLint flat config (eslint.config.mjs)
  • Prettier config (prettier.config.mjs) and ignore (.prettierignore)
  • Stylelint flat config (stylelint.config.mjs, stylelint.config.ts)
  • Commitlint config (commitlint.config.mjs)
  • Build script (bin/build.sh) using rsync and zip
  • Makepot script (bin/makepot.sh) for translation generation
  • bun.lock for dependency management
  • Text domain loading via load_plugin_textdomain() in Ajaxify::load_text_domain()

Changed

  • Plugin name from "WP Ajaxify" to "ViKo WP Ajaxify"
  • All PHP namespaces from WP_Ajaxify to ViKo_WP_Ajaxify
  • All PHP constants from WP_AJAXIFY_* to VIKO_WP_AJAXIFY_*
  • All option keys from _wp_ajaxify_* to _viko_wp_ajaxify_*
  • All CSS classes from wp-ajaxify-* to viko-wp-ajaxify-*
  • All CSS animation names from wp-ajaxify-* to viko-wp-ajaxify-*
  • All JS functions and variables to viko_* prefix
  • All text domains from wp-ajaxify to viko-wp-ajaxify
  • All documentation updated with new plugin name and URLs
  • GitHub repository URLs from wp-ajaxify to viko-wp-ajaxify
  • Build outputs rebuilt with new CSS class and animation names
  • Include files renamed to drop class- prefix (e.g. class-ajaxify.phpajaxify.php)
  • .editorconfig: switched from tabs to spaces, added per-language indent overrides
  • .gitignore: fully rewritten with organized sections (deps, build output, caches, AI tools, env, etc.)
  • .stylelintignore: fully rewritten with sorted ignore patterns
  • .vscode/settings.json: changed default formatter from eslint to prettier, added eslint.format.enable and stylelint.enable
  • phpcs.xml: updated for PHP 8.2 minimum, WPCS 3.3, parallel set to 100, added cache file, report-width, and memory_limit
  • composer.json: raised PHP requirement to 8.0, updated WPCS to 3.3, dealerdirect to 1.2, phpcs to 3.13, added wordpress-stubs and woocommerce-stubs
  • package.json: migrated from ESLint 8 to ESLint 9 flat config, added prettier/stylelint/commitlint deps, new lint/format scripts, switched author to object form, updated GitHub URLs
  • .nvmrc: bumped Node from 16 to 24
  • gulpfile.mjs: migrated from Gulp 4 callbacks to Gulp 5 async/await, added fonts/images pipelines, startup banner, and size reporting; added path validation helpers

Fixed

  • PHPDoc @class tag replaced with standard @since in class-level docblocks (non-standard tag removed)
  • Typo in class-info.php docblock: "Infomation" corrected to "Information"
  • PHPDoc @var and @return annotations enhanced with descriptive text for better IDE support and static analysis

Removed

  • Old wp-ajaxify.php plugin file
  • Legacy config files (.distignore, .eslintignore, .eslintrc.json, .gitattributes, .npmrc, .stylelintrc.json)
  • Old build-release.yml workflow
  • Old bin/build-zip.sh
  • pnpm-lock.yaml (replaced by bun.lock)
  • Old languages/wp-ajaxify.pot

Full Changelog: v1.1.7...v2.0.0