Plugin Directory

Changeset 3333216


Ignore:
Timestamp:
07/24/2025 01:24:38 AM (8 months ago)
Author:
TCattd
Message:

2.0.6

Location:
api-for-htmx/trunk
Files:
6 edited

Legend:

Unmodified
Added
Removed
  • api-for-htmx/trunk/CHANGELOG.md

    r3327812 r3333216  
    11# Changelog
     2
     3# 2.0.6 / 2025-07-23
     4- **FIX:** Updated Datastar.js enqueue to use `wp_enqueue_script_module()` for proper ES module support (WordPress 6.5+). Thanks @eduwass for the report.
    25
    36# 2.0.5 / 2025-07-11
  • api-for-htmx/trunk/README.md

    r3327812 r3333216  
    13821382This plugin is licensed under the GPLv2 or later.
    13831383
    1384 You can find the full license text in the `license.txt` file.
     1384You can find the full license text in the `LICENSE` file.
  • api-for-htmx/trunk/README.txt

    r3327812 r3333216  
    22Contributors: tcattd
    33Tags: hypermedia, ajax, htmx, hyperscript, alpinejs, datastar
    4 Stable tag: 2.0.5
    5 Requires at least: 6.4
     4Stable tag: 2.0.6
     5Requires at least: 6.5
    66Tested up to: 6.6
    77Requires PHP: 8.1
  • api-for-htmx/trunk/api-for-htmx.php

    r3327812 r3333216  
    55 * Plugin URI: https://github.com/EstebanForge/Hypermedia-API-WordPress
    66 * Description: Adds API endpoints and integration for hypermedia libraries like HTMX, AlpineJS, and Datastar.
    7  * Version: 2.0.5
     7 * Version: 2.0.6
    88 * Author: Esteban Cuevas
    99 * Author URI: https://actitud.xyz
     
    1212 * Text Domain: api-for-htmx
    1313 * Domain Path: /languages
    14  * Requires at least: 6.4
     14 * Requires at least: 6.5
    1515 * Tested up to: 6.9
    1616 * Requires PHP: 8.2.
  • api-for-htmx/trunk/package.json

    r3327812 r3333216  
    33  "author": "Esteban Cuevas",
    44  "license": "GPL-2.0-or-later",
    5   "version": "2.0.5",
     5  "version": "2.0.6",
    66  "description": "WordPress plugin providing API endpoints and integration for hypermedia libraries like HTMX, AlpineJS, and Datastar.",
    77  "keywords": [],
  • api-for-htmx/trunk/src/Assets.php

    r3327812 r3333216  
    320320            $ver = apply_filters('hmapi/assets/datastar_version', $ver, $load_from_cdn, $asset, $is_library_mode);
    321321
    322             wp_enqueue_script('hmapi-datastar', $url, [], $ver, true);
     322            wp_enqueue_script_module('hmapi-datastar', $url, [], $ver);
    323323            $datastar_loaded = true;
    324324        }
Note: See TracChangeset for help on using the changeset viewer.