Python Fmrest Versions Save

Python wrapper around the FileMaker Data API

v1.7.2

1 month ago

When FMS' web server responds with a Bad Gateway error (for example when the Data API is not enabled) fmrest now throws a custom exception to be able to easier catch this situation.

Additionally, when using the context manager, the __exit__ will from now on only perform a logout when a token exists (as a logout would always fail when no token is available).

v1.7.1

2 months ago

What's Changed

Full Changelog: https://github.com/davidhamann/python-fmrest/compare/v1.7.0...v1.7.1

v1.7.0

3 months ago

What's Changed

  • Full layout metadata now available via get_layout() (see metadata parameter), ability to retrieve value list values via get_value_list_values(), ability to control response date format by providing a date_format keyword to get_record(), get_records() and find(). Submitted by @LeJeko in https://github.com/davidhamann/python-fmrest/pull/63

v1.6.0

1 year ago

The Server's methods can now take a request_layout argument, where applicable. This layout take precedence over the current Server.layout attribute and is helpful if you want to have a shared Server instance in a multi-threaded app and make sure to have the right layout set before making a request.

Example (using my_custom_layout to get records, even though my_default_layout is set on the Server instance):

>>> print(fms.layout)
my_default_layout
>>> fms.get_records(request_layout='my_custom_layout')

Some methods already had a layout parameter. This parameter is still there and works as before but now throws a deprecation warning. Please use response_layout instead of layout from now on. It has the same effect and is easier to distinguish and more clear to understand.

v1.5.2

1 year ago
  • Configure proxies for auth requests made to Cognito
  • Configure proxies for FileMaker Cloud Data API

Note: when configuring a proxy and you're not just using it for local debugging (e.g. a local interception proxy), always make sure you trust the proxy server and use a secure connection.

Thanks @TDKorn for the PR!

v1.5.1

1 year ago
  • Proxy support
  • Added examples
  • Configurable API versions
  • Support for metadata routes

Thanks to contributor @DonPasquale

v1.4.0

3 years ago

Added support for Claris Cloud logins (thanks @marklivolsi)

v1.3.0

3 years ago

Added support for automatically trying to get a new token when FMS returns an invalid token error (952) for a request (set auto_relogin on the Server instance to True if you want to use the feature). Disabled by default to keep backward compatibility.

v1.2.1

4 years ago

This version adds functionality to access the dataInfo section of a FMS response. You can access it "as is" via the info property of any Foundset instance (includes portal foundsets). (Also see: https://github.com/davidhamann/python-fmrest/issues/12)

v1.1.1

4 years ago
  • Fixed installation issue when preferred encoding was not set to utf-8.