NetSendo Logo
Platform Updates

NetSendo v2.0.7: Tailwind v4 & Vite 8 Upgrade

NetSendo TeamMarch 31, 20266 min de lectura
NetSendo v2.0.7: Tailwind v4 & Vite 8 Upgrade

In the world of software, not all updates are about flashy new features. Some of the most important updates happen under the hood, refining the engine to make it faster, more secure, and easier to work with. That's exactly what NetSendo v2.0.7 is all about: a significant technical overhaul designed to future-proof our platform and enhance your experience.

This release marks a major milestone as we migrate our entire frontend stack to the latest and greatest tooling, including Tailwind CSS v4 and Vite 8. For you, this means a snappier interface, a more secure environment, and a more stable platform for your marketing automation.

TL;DR: NetSendo v2.0.7 overhauls the frontend with Tailwind CSS v4 and Vite 8, resulting in a faster, more modern developer experience. It also ships with critical security patches for PHPUnit and PsySH, and fixes key stability issues in Docker and database migrations.

🚀 What's New in v2.0.7: A Future-Ready Stack

This version is packed with dependency updates, security enhancements, and important fixes. Let's break down the most significant changes.

🎨

Tailwind CSS v4

A completely new, more performant CSS engine with a simplified, CSS-native configuration.

Vite 8 & Vue 3.5

The latest versions of our frontend build tool and framework deliver faster builds and a snappier UI.

🛡️

Security Hardening

Patches for high-severity vulnerabilities in PHPUnit and PsySH to keep your self-hosted instance secure.

🐳

Docker Stability

Resolved a critical route caching error that affected some Docker container startups.

The Leap to Tailwind CSS v4

The headline feature of this release is our migration to Tailwind CSS v4. This isn't just a version bump; it's a fundamental shift in how we handle styling. The biggest change is the elimination of complex configuration files like tailwind.config.js and postcss.config.js.

Instead, configuration now lives directly inside your main CSS file using new, intuitive CSS-native syntax. Think of it as decluttering your project's root directory and putting configuration right where it's used.

ℹ️ Behind the Scenes: We've replaced our PostCSS-based setup with the new @tailwindcss/vite plugin, which is the official and most performant way to integrate Tailwind v4 with a Vite project like NetSendo.

Here’s a quick look at how theme customization has changed:

Before (tailwind.config.js):

// tailwind.config.js
module.exports = {
  theme: {
    extend: {
      fontFamily: {
        sans: ['Inter', 'sans-serif'],
      },
    },
  },
}

After (app.css):

/* app.css */
@import "tailwindcss";

@theme {
  --font-family-sans: "Inter", sans-serif;
}

Critical Bug Fixes & Stability

A platform is only as good as its reliability. We've tackled two important bugs in this release:

  • Docker Route Cache Error: We fixed an annoying TypeError that occurred during container startup if a route cache already existed. Our Docker entrypoint script now intelligently clears the old cache before creating a new one, ensuring smooth restarts every time.
  • Migration Constraint Violation: A database migration for mailbox reputation was failing on some systems due to a NOT NULL constraint. We've corrected the migration to use the proper default value, ensuring the update process is seamless.

🎯 Benefits of Upgrading to v2.0.7

While this is a technical release, the benefits have a real-world impact on everyone using NetSendo.

👨‍💻

For Developers & Agencies

If you customize your NetSendo instance, you'll feel the difference immediately. The move to Vite 8 and Tailwind v4 means:

  • Faster Build Times: Get your changes reflected quicker during development.
  • Simplified Styling: No more hunting for config files. Customize fonts, colors, and more directly in your CSS.
  • Modern Tooling: Stay current with the latest standards in the Vue and Laravel ecosystems.
🏢

For Business Owners & Marketers

A stable, secure, and performant platform is the foundation of successful marketing automation. This upgrade gives you:

  • Peace of Mind: With high-priority CVEs patched, your data and operations are better protected. Data ownership is key to self-hosting, and so is security.
  • A Snappier UI: The performance improvements from the dependency upgrades result in a smoother, more responsive user interface.
  • Enhanced Reliability: The bug fixes ensure your instance runs smoothly without unexpected interruptions.

⚙️ How to Upgrade to NetSendo v2.0.7

Upgrading your Docker-based NetSendo instance is straightforward. Follow these steps to get the latest version.

⚠️ Important: Always create a complete backup of your NetSendo volume and database before starting any upgrade process.
  1. Navigate to Your NetSendo Directory

    Open your terminal and cd into the directory where your docker-compose.yml file is located.

  2. Pull the Latest Docker Image

    Fetch the new v2.0.7 image from the Docker Hub registry.

    docker compose pull
  3. Restart Your Containers

    Take down the old containers and start the new ones in detached mode.

    docker compose up -d
  4. Run the Update Command

    This command will run database migrations and clear all necessary caches for the new version to function correctly.

    docker compose exec app php artisan netsendo:update
  5. Verify the Update

    Log in to your NetSendo dashboard. You should see the version number v2.0.7 in the footer. Your platform is now up to date!

🎯 Expert Tips for v2.0.7

1
Rebuild Frontend Assets After Customization

If you make custom changes to NetSendo's Vue components or CSS, remember to run npm install followed by npm run build inside the app container to apply your changes using the new Vite 8 and Tailwind v4 toolchain.

2
Use Laravel Pail for Real-time Logging

We've upgraded laravel/pail. Debugging is now easier than ever. Run docker compose exec app php artisan pail to get a real-time, filterable log stream directly in your terminal. It's incredibly useful for monitoring campaigns or webhook events.

3
Check Your Custom Docker Entrypoints

For advanced users with a custom docker-entrypoint.sh, ensure you add php artisan route:clear before any route:cache commands to prevent the startup error we fixed in this release.

Ready for a Faster, More Secure NetSendo?

NetSendo v2.0.7 is a testament to our commitment to providing a modern, secure, and performant self-hosted marketing platform. Upgrade today to take advantage of these foundational improvements.

#tailwind css#vite#laravel#security#docker#vue#platform-update
Share: