Skip to content

Commit c4642da

Browse files
iqbalhasandevgithub-actions[bot]
authored andcommitted
Update CHANGELOG
1 parent 7cebeaf commit c4642da

File tree

1 file changed

+39
-0
lines changed

1 file changed

+39
-0
lines changed

CHANGELOG.md

Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,44 @@ All notable changes to `laravel-textify` will be documented in this file.
55
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
66
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
77

8+
## v1.3.0 - 2025-09-09
9+
10+
### What's Added
11+
12+
- **Message Validation System**: Comprehensive message validation with configurable rules
13+
- Laravel-style validation configuration (`required`, `min`, `max`)
14+
- Support for nullable messages via `TEXTIFY_MESSAGE_REQUIRED=false`
15+
- Configurable minimum and maximum message length
16+
- Proper validation error messages
17+
18+
19+
### What's Enhanced
20+
21+
- **Error Handling**: Improved error mapping and messages for all Bangladeshi SMS providers
22+
- ReveSmsProvider: Enhanced error code mapping including error 114 handling
23+
- AlphaSmsProvider: Better error message descriptions
24+
- EsmsProvider: Improved error handling and status mapping
25+
- DhorolaSmsProvider: Enhanced error code explanations
26+
- MimSmsProvider: Better API response parsing
27+
- BulkSmsBdProvider: Comprehensive error code mapping
28+
29+
30+
### What's Fixed
31+
32+
- **ReveSMS Error 114**: "Content not provided" error now prevented by pre-send validation
33+
- **Empty Message Handling**: Consistent behavior across all providers
34+
- **Whitespace Messages**: Properly validates and rejects whitespace-only messages
35+
36+
### What's Technical
37+
38+
- Added `validateMessageContent()` method to BaseProvider
39+
- Enhanced BaseProvider with proper phone number validation methods
40+
- Comprehensive test suite with 6 test cases
41+
- PHPStan validation passed
42+
- Backward compatible configuration
43+
44+
**Full Changelog**: https://github.com/DevWizardHQ/laravel-textify/compare/v1.2.0...v1.3.0
45+
846
## v1.2.0 - 2025-09-07
947

1048
### What's Changed
@@ -60,6 +98,7 @@ DHOROLA_CONNECT_TIMEOUT=15
6098
BULKSMSBD_CONNECT_TIMEOUT=8
6199
MIMSMS_CONNECT_TIMEOUT=12
62100
101+
63102
```
64103
**Full Changelog**: https://github.com/DevWizardHQ/laravel-textify/compare/v1.1.2...v1.2.0
65104

0 commit comments

Comments
 (0)