Releases: airmoi/FileMaker
Fix memory leak and improve query limit
Cache improvements and bugfix
Improve error handling and code doc
Thanks to jeremiahsmall for its contributions
Fix accentuate credentials
2.2.3 Merge branch 'hotfix/accentuate_credentials_handling'
BugFix
Bugfix
Date format handling improvements
New Features
EXPERIMENTAL : handle date format in find requests
You may now use your own date Format in find Commands.
To activate this feature, set 'useDateFormatInRequests' to true in you FileMaker object
...
$fm->setProperty('useDateFormatInRequests' , true);
$fm->setProperty('dateFormat' , 'Y-m-d');
$command = $fm->newFindCommand('layout_name');
$command->addFindCriterion('dateField' , '2017-08-01');
$command->addFindCriterion('dateField2' , '2017-01-*...2017-08-*');
...
NOTICE : Does not support textual representations such a F, M, D...
Any feedback on this new feature would be appreciated
Magic getter on FileMaker object properties
You may now retrieve defined properties directly from FileMaker object (avoid usage of getProperty and allow code completion in your favorite IDE).
...
echo $fm->hostname;
echo $fm->dateFormat;
....
The above example will output:
localhost
m/d/Y
Edit/Add commands have a new parameter $useRawData
This parameter allow you to by-pass data conversion (date/datetime) while updating or creating a new record
##Bugfix
- Fixed #12 : curl errors now return an helpful message
- Fixed #10 : you may now use setField on related records
- Fixed a bug where $record->commit() produced an exception with datetime values
Other changes (internal)
Some code refactoring and documentation improvements
bugfix on compoundFind
Fix missing omit tag on first compoundFind's Request
Update PHPunit tests
PSR-2 and timesamp fix
PSR-2 code styles fixes
Fix Record::getFieldAsTimestamp() on timestamp fields
Readme fixes
Thanks to Matthias Kühne
Compatibility enhancement
Add an option to restore default error handling behavior
Add support for setRange on performScript commands
Improve code doc
Unit tests