# Changelog

## 3.0.0 - 2026-02-12

**🚀 WEBHOOK MANAGEMENT REVOLUTION - Complete Gravity Forms Webhook Replacement**

### Major Features

• **NEW: Custom Webhook Builder** - Replace Gravity Forms webhook add-on with unlimited custom webhooks
• **NEW: Merge Tag Support** - Full Gravity Forms merge tag integration ({Name:1}, {Email:6}, {entry_id}, etc.)
• **NEW: Dynamic Field Mapping** - Select specific fields or send all form data automatically
• **NEW: Two-Column Dashboard** - Professional layout with settings on left, webhooks on right
• **NEW: Unlimited Webhooks** - Add as many webhooks as needed for each form submission
• **NEW: Request Method Selection** - Support for GET, POST, PUT, PATCH, DELETE methods
• **NEW: Individual Webhook Toggle** - Enable/disable webhooks without deleting configuration
• **NEW: In-Place Editing** - Edit webhook configurations inline with smooth animations
• **NEW: BaseCloud Logo** - Professional branding with icon instead of Lottie animation

### Enhanced Features

• **IMPROVED: Webhook System** - Complete webhook management replaces need for Gravity Forms webhook add-on
• **IMPROVED: UTM Injection** - All custom webhooks automatically include UTM parameters
• **IMPROVED: UI/UX** - Wider layout (1400px) with responsive grid design
• **IMPROVED: Form Integration** - Works seamlessly with existing Gravity Forms submissions
• **ENHANCED: Merge Tags** - Support for field IDs, entry data, form data, and UTM parameters
• **ENHANCED: Field Mapping** - Key-value pairs with dynamic merge tag replacement
• **ENHANCED: Security** - AJAX nonce verification for all webhook operations

### Removed Features

• **REMOVED: Denied Webhooks** - Exclusion list removed in favor of individual webhook control
• **REMOVED: Lottie Animation** - Replaced with clean BaseCloud logo for faster loading

### Technical Improvements

• Added webhook storage via WordPress Options API
• New AJAX endpoints: save_webhook, delete_webhook, get_webhooks, get_gf_fields
• Merge tag parser for dynamic field value replacement
• Automatic UTM data injection into all custom webhook payloads
• Database-backed webhook configuration with JSON format
• Real-time webhook list rendering with jQuery
• Form validation and error handling for webhook configuration

### Webhook Features

**Request Configuration:**
- Custom webhook name (required)
- Request URL (required)
- Request method (GET, POST, PUT, PATCH, DELETE)
- Request format (JSON)

**Body Options:**
- All Fields: Automatically includes all form fields + UTM data
- Select Fields: Custom key-value mapping with merge tag support

**Supported Merge Tags:**
- `{FieldLabel:ID}` - Any Gravity Forms field
- `{entry_id}` - Form submission ID
- `{entry_date}` - Submission timestamp
- `{form_id}` - Form ID
- `{form_title}` - Form name
- `{utm_source}`, `{utm_campaign}`, etc. - UTM parameters
- `{gclid}`, `{gbraid}`, `{wbraid}` - Ad tracking IDs
- `{referrer}` - Traffic source URL

### Breaking Changes

• None - Fully backward compatible with v2.x
• All existing COLLECTOR and COURIER functionality preserved
• Elementor, WPForms, and CF7 integrations unchanged

### Migration Notes

If you were using Gravity Forms webhook add-on:
1. Configure your webhooks in the new Webhook Management panel
2. Use "Select Fields" to map form data with merge tags
3. Disable or remove old Gravity Forms webhook feeds
4. All UTM data is automatically included in every webhook

---

## 2.3.3 - 2024-XX-XX

**Lottie Logo Fix**

• Fixed Lottie player script loading order to display logo properly
• Changed script loading from footer to header for immediate availability
• Resolved warning icon display issue on page load

---

## 2.3.2

**Animated Logo Addition**

• Added animated BaseCloud Lottie logo to settings page header
• Enhanced brand presence with looping logo animation
• Improved visual consistency with BaseCloud brand identity

---

## 2.3.1

**API Endpoint Update**

• **UPDATED: Default Webhook URL** - Migrated from legacy portal.basecloudglobal.com to new api.basecloudglobal.com endpoint
• **IMPROVED: URL Format** - New webhook URLs use /webhook/ path structure for better API organization
• **ENHANCED: Security** - Updated default excluded webhook to new API endpoint
• **BACKWARD COMPATIBLE** - No impact on existing installations or custom excluded URLs

