Skip to content

Releases: airmoi/FileMaker

Fix memory leak and improve query limit

01 Apr 14:45
Compare
Choose a tag to compare

Fix a memory leak issue thanks to @dawehner
Add the ability to set range limit to 0 (useful to count found records without querying datas)

Cache improvements and bugfix

07 Mar 13:55
Compare
Choose a tag to compare

Fix #26 : Improve local cache by using a "connexionId" to handle multi databases connexions
Fix #24 : fix missing errorHandling

Improve error handling and code doc

30 Dec 01:31
Compare
Choose a tag to compare

Thanks to jeremiahsmall for its contributions

Fix accentuate credentials

30 Oct 21:45
Compare
Choose a tag to compare
2.2.3

Merge branch 'hotfix/accentuate_credentials_handling'

BugFix

08 Aug 17:33
Compare
Choose a tag to compare
  • Fix #17 : an exception was thrown when using setFieldFromTimestamp in Edit Commands
  • some bugfix related to dateFormat handling
  • improved unit tests

Bugfix

03 Aug 10:38
Compare
Choose a tag to compare
  • Fix an issue with Four-Digit Date Validation (thanks to @mrchimp)
  • Fix an issue where using setField on TimeStamp throws an exception if dateFormat option was set to null (default)

Date format handling improvements

01 Aug 18:32
Compare
Choose a tag to compare

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

01 Dec 13:44
Compare
Choose a tag to compare

Fix missing omit tag on first compoundFind's Request
Update PHPunit tests

PSR-2 and timesamp fix

10 Nov 14:26
Compare
Choose a tag to compare

PSR-2 code styles fixes
Fix Record::getFieldAsTimestamp() on timestamp fields
Readme fixes

Thanks to Matthias Kühne

Compatibility enhancement

07 Nov 18:10
Compare
Choose a tag to compare

Add an option to restore default error handling behavior
Add support for setRange on performScript commands
Improve code doc
Unit tests