Wappler 7.4.1 Released

Wappler 7.4.1 Released

Check the new Wappler site at https://wappler.io/
and download Wappler 7.4.1 from your Account Dashboard

Or just do “check for updates” on the Wappler tray icon for automatic install!

What's New

We're thrilled to announce a groundbreaking update to the Server Connect PHP runtime, now available as a beta extension in Wappler. This release brings critical bug fixes, performance improvements, and rock-solid reliability through comprehensive AI-powered automated testing.

Powered by AI: Using GitHub Copilot's advanced agentic capabilities and Claude Sonnet 4.5, we've created over 3,656 automated tests providing comprehensive code coverage. This AI-assisted testing infrastructure systematically discovered and fixed 40 production bugs that might have gone unnoticed for years, plus implemented 11 JavaScript parity features for better cross-platform compatibility.

:rocket: What's New

Modern PHP Support

  • Minimum PHP Version: 8.2 (previously 7.4)
  • Tested on PHP 8.2, 8.3, and 8.4 - All versions fully supported
  • Native PHP 8+ Functions - Better performance and cleaner code
  • Multi-Version Testing - Automated testing across all supported PHP versions

Enhanced JavaScript Expressions Compatibility

We've added 11 new features to bring PHP runtime behavior closer to the Node.js implementation:

Expression Evaluation Improvements:

  • Division by zero now returns Infinity/NaN like JavaScript (instead of errors)
  • Bitwise NOT operator (~) now fully supported
  • Unsigned right shift (>>>) operator implemented
  • Logical operators (&&, ||) now return actual values, not just true/false
  • Bitwise operator chaining (multiple operations in sequence)

Advanced Expression Features:

  • Unicode Escape Sequences - Full \uXXXX support for international characters
  • RegExp Multiline Flag - Complete regular expression compatibility

Crypto Enhancements:

  • Enhanced crypto random bytes generation
  • Improved HMAC functions
  • Better error handling

:bug: Critical Bug Fixes (40 Bugs Fixed)

Core Parser & Expression Engine (15 bugs)

  • Fixed division by zero handling - now returns JavaScript-compatible Infinity/NaN
  • Fixed bitwise NOT operator support - was completely missing
  • Fixed unsigned right shift operator - incorrect 32-bit unsigned handling
  • Fixed logical AND/OR operators - now return actual values like JavaScript
  • Fixed bitwise operator chaining - multiple operations now work correctly
  • Fixed Unicode escape sequences - proper \uXXXX parsing
  • Fixed App::get() returning default for null values
  • Fixed Provider identity initialization (NULL vs FALSE)
  • Fixed array truthiness in logical operations
  • Fixed empty string handling in startsWith/contains formatters
  • Fixed RegExp multiline flag support

Database Operations (8 bugs)

  • Fixed SQL WHERE clause operator mapping - Critical fix for all WHERE conditions
  • Fixed NULL equality comparisons - Now uses IS NULL instead of = NULL
  • Fixed undefined property errors in SQL builder
  • Fixed conditional filtering edge cases
  • Fixed JOIN operations with complex conditions
  • Fixed parameter binding in prepared statements
  • Fixed database result NULL value handling
  • Fixed column reference validation

Data Processing & Import/Export (5 bugs)

  • Fixed CSV import with PHP 8.4 - proper escape parameter handling
  • Fixed CSV delimiter and quote character processing
  • Fixed XML import with namespaces
  • Fixed export module edge cases
  • Fixed metadata parsing for various file types

Authentication & Security (4 bugs)

  • Fixed session data preservation during authentication
  • Fixed security provider initialization
  • Fixed authentication state management
  • Fixed OTP/2FA token validation edge cases

File Operations & Image Processing (3 bugs)

  • Fixed file path handling across platforms
  • Fixed image resize percentage calculations
  • Fixed upload module with special characters

Type Handling & Validation (5 bugs)

  • Fixed Singleton/NamedSingleton exception namespace
  • Fixed Lexer null pointer with regex detection
  • Fixed Lexer newline/tab whitespace recognition
  • Fixed type coercion in comparisons
  • Fixed validation rule edge cases

:bar_chart: Testing Infrastructure

AI-Powered Comprehensive Testing

  • 3,656 automated tests created using GitHub Copilot and Claude Sonnet
  • 101.2% Node.js parity - We now have MORE tests than the Node.js version! :tada:
  • 7,827 assertions ensuring quality across all features
  • 100% pass rate on all supported PHP versions (8.2, 8.3, 8.4)

What This Means:

  • Future updates will be more reliable and secure
  • Bugs get caught before they reach production
  • Your applications run on thoroughly validated code
  • Cross-platform compatibility with Node.js implementation

Coverage Breakdown:

  • Core Parser: 100% coverage :white_check_mark:
  • Formatters: 100% coverage :white_check_mark:
  • Validator: 100% coverage :white_check_mark:
  • Database Connectors: 85%+ coverage
  • All 21 modules thoroughly tested

:bullseye: Quality & Reliability

Production-Ready Stability:

  • All fixes maintain 100% backward compatibility
  • Your existing Server Connect applications continue to work unchanged
  • Comprehensive edge case handling
  • Robust error messages for faster debugging

Multi-PHP Version Testing:

  • Automated testing on PHP 8.2, 8.3, and 8.4
  • All 3,656 tests pass on all versions
  • Performance optimizations for each PHP version
  • Future-proof architecture

Real-World Testing:

  • 380+ logical operator tests ensure expression parsing is rock-solid
  • 221+ database connector tests covering all SQL operations
  • 115+ parser edge case tests cover special values and error conditions
  • Comprehensive integration tests for multi-step workflows

:chart_increasing: Impact Summary

Before This Update:

  • 40 critical bugs in production code
  • Limited test coverage
  • Some features never tested since implementation
  • PHP 7.4 minimum version
  • Inconsistent behavior with Node.js implementation

After This Update:

  • :white_check_mark: 40 bugs fixed and verified
  • :white_check_mark: 3,656 automated tests ensuring quality
  • :white_check_mark: 11 JavaScript parity features implemented
  • :white_check_mark: PHP 8.2+ with native function support
  • :white_check_mark: 101.2% Node.js test parity achieved
  • :white_check_mark: Multi-version testing (8.2, 8.3, 8.4)
  • :white_check_mark: Enhanced security across the board
  • :white_check_mark: Rock-solid reliability

:warning: Breaking Changes

Minimum PHP Version: 8.2

This update requires PHP 8.2 or higher. If you're still running PHP 7.4 or 8.0, you'll need to upgrade your server before installing this update.

Why the change?

  • Better performance with native PHP 8+ functions
  • Improved security features
  • Cleaner, more maintainable code
  • PHP 7.4 reached end-of-life in November 2022

Migration is easy:

  • Most hosting providers offer PHP 8.2+
  • Your existing Server Connect actions will work unchanged
  • No code modifications required for your applications

:test_tube: Beta Testing

This update is now available as a beta extension in Wappler. We encourage you to test it in your development environment before deploying to production.

How to Test:

  1. Install the beta extension from Wappler
  2. Test your existing Server Connect applications
  3. Verify all functionality works as expected
  4. Report any issues you encounter

Why Beta?
While our comprehensive testing has validated all functionality, we want to ensure real-world compatibility with your specific use cases before the final release.

:rocket: What's Next

This update represents a major step forward in Server Connect quality and reliability. The comprehensive test suite and AI-assisted development process ensure that:

  1. Future updates will be safer - bugs get caught automatically
  2. Performance will continue improving - we can optimize with confidence
  3. Security will remain strong - vulnerabilities are detected early
  4. Your applications will be more stable - fewer edge cases slip through
  5. Cross-platform consistency - PHP and Node.js behave identically

:light_bulb: Upgrade Recommendation

We strongly recommend testing this beta version for:

  • The critical bug fixes (40 production bugs resolved)
  • The enhanced JavaScript compatibility (11 new features)
  • The improved stability from comprehensive testing
  • The peace of mind from 3,656 automated tests
  • Modern PHP 8.2+ performance and security

All changes are backward compatible (except PHP version requirement) - your existing applications will work without modifications while benefiting from these improvements.

:memo: Installation

Via Wappler (Recommended):

  1. Open Wappler
  2. Go to Wappler Assets Manager
  3. Choose the Beta channel and click and change
  4. The beta extensions will be installed, and you will be prompted to update the server connect files.

System Requirements:

  • PHP 8.2 or higher (8.3 or 8.4 recommended)
  • Existing Server Connect installation
  • Wappler latest version

:handshake: Feedback & Support

This is a beta release - your feedback is invaluable!

Found an issue?

  • Report via Wappler Community Forum
  • Include PHP version and detailed steps to reproduce
  • Check if issue exists in production version

Have suggestions?

  • Share your ideas in the community forum
  • Help shape the final release with your input

40 critical bugs fixed • 11 JavaScript parity features added • 3,656 automated tests created • 101.2% Node.js test parity • Multi-PHP version support (8.2, 8.3, 8.4) • PHP 8.2+ minimum version

Your Server Connect PHP runtime is now more reliable, faster, and more compatible than ever.

Test the beta today and help us make the final release rock-solid!

Other improvements in Wappler 7.4.1 include:

PHP Composer

  • Use now as minimum version to required PHP version

AI Assistant

  • Improved working with DeepSeek
6 Likes