Skip to content

Releases: airmoi/FileMaker

Fix memory leak and improve query limit

Choose a tag to compare

@airmoi airmoi released this 01 Apr 14:45

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

Choose a tag to compare

@airmoi airmoi released this 07 Mar 13:55

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

Choose a tag to compare

@airmoi airmoi released this 30 Dec 01:31

Thanks to jeremiahsmall for its contributions

Fix accentuate credentials

Choose a tag to compare

@airmoi airmoi released this 30 Oct 21:45
2.2.3

Merge branch 'hotfix/accentuate_credentials_handling'

BugFix

Choose a tag to compare

@airmoi airmoi released this 08 Aug 17:33
  • Fix #17 : an exception was thrown when using setFieldFromTimestamp in Edit Commands
  • some bugfix related to dateFormat handling
  • improved unit tests

Bugfix

Choose a tag to compare

@airmoi airmoi released this 03 Aug 10:38
  • 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

Choose a tag to compare

@airmoi airmoi released this 01 Aug 18:32

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

Choose a tag to compare

@airmoi airmoi released this 01 Dec 13:44

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

PSR-2 and timesamp fix

Choose a tag to compare

@airmoi airmoi released this 10 Nov 14:26

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

Thanks to Matthias Kühne

Compatibility enhancement

Choose a tag to compare

@airmoi airmoi released this 07 Nov 18:10

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