Skip to content

Commit c3d2833

Browse files
committed
🚀 RELEASE: v1.5.0
1 parent afd58a7 commit c3d2833

File tree

3 files changed

+20
-5
lines changed

3 files changed

+20
-5
lines changed

‎changelog.md‎

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,20 @@
11
# Changelog
22

3+
## **1.5.0** - 2025-12-10
4+
### Added
5+
- **Dark Mode Support:** Added full support for dark mode. The interface now automatically respects system preferences (`prefers-color-scheme`) and includes a manual toggle in the toolbar to switch between light and dark themes.
6+
- **Vue 3 & Vuetify 3:** Completely upgraded the admin dashboard dependencies to Vue.js 3.5.22 and Vuetify 3.10.5. This modernization improves rendering performance and ensures long-term compatibility.
7+
- **Self-Healing Logic:** Implemented `Site::ensure_freighter()`, which automatically restores the plugin files and forces activation on a tenant site before context switching. This prevents errors if the plugin was manually deleted or deactivated in a child environment.
8+
- **New CLI Command:** Added `wp freighter regenerate`. This utility allows administrators to manually trigger a refresh of the `wp-content/freighter.php` bootstrap file and `wp-config.php` adjustments via the command line.
9+
10+
### Changed
11+
- **Terminology:** Updated UI and CLI text to refer to sites as "Tenant Sites" instead of "Stacked Sites" for better clarity.
12+
- **UI Visuals:** Refined input fields, tables, and overlays to use transparent backgrounds, allowing the plugin interface to blend seamlessly with the native WordPress Admin color scheme.
13+
- **Cache Busting:** Introduced `WP_FREIGHTER_VERSION` constant to ensure admin assets are properly refreshed in browser caches immediately after an update.
14+
15+
### Fixed
16+
- **Bootstrap Location:** Updated the detection logic for `freighter.php` to use `ABSPATH` instead of `WP_CONTENT_DIR`, resolving path resolution issues on specific hosting configurations.
17+
318
## **1.4.0** - 2025-12-09
419
### Added
520
- **Bootstrap Architecture:** Introduced `wp-content/freighter.php` to handle site loading logic. This significantly reduces the footprint within `wp-config.php` to a single `require_once` line, making the configuration more robust and easier to read.

‎manifest.json‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,13 @@
44
"author" : "<a href='https://austinginder.com'>Austin Ginder</a>",
55
"author_profile" : "https://profiles.wordpress.org/austinginder",
66
"donate_link" : "https://github.com/sponsors/austinginder",
7-
"version" : "1.4.0",
8-
"download_url" : "https://github.com/WPFreighter/wp-freighter/releases/download/v1.4.0/wp-freighter.zip",
7+
"version" : "1.5.0",
8+
"download_url" : "https://github.com/WPFreighter/wp-freighter/releases/download/v1.5.0/wp-freighter.zip",
99
"requires" : "5.4",
1010
"tested" : "6.9",
1111
"requires_php" : "7.0",
1212
"added" : "2020-09-10 02:10:00",
13-
"last_updated" : "2025-12-09 10:00:00",
13+
"last_updated" : "2025-12-10 10:00:00",
1414
"homepage" : "https://wpfreighter.com",
1515
"sections" : {
1616
"description" : "Multi-tenant mode for WordPress.",

‎wp-freighter.php‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
* Plugin Name: WP Freighter
1212
* Plugin URI: https://wpfreighter.com
1313
* Description: Multi-tenant mode for WordPress
14-
* Version: 1.4.0
14+
* Version: 1.5.0
1515
* Author: Austin Ginder
1616
* Author URI: https://austinginder.com
1717
* License: MIT
@@ -25,7 +25,7 @@
2525
die;
2626
}
2727

28-
define( 'WP_FREIGHTER_VERSION', '1.4.0' );
28+
define( 'WP_FREIGHTER_VERSION', '1.5.0' );
2929

3030
require plugin_dir_path( __FILE__ ) . 'vendor/autoload.php';
3131
new WPFreighter\Run();

0 commit comments

Comments
 (0)