v5.3.0
Actions Required to Upgrade
No actions are required for this upgrade other than adjusting your gem file to allow for version 5.3.0 to be included by bundler. The changes in this release are fully backward compatible. The changes impact the linked data module only.
New this release
In the linked data module, this updates supports better logging:
- provide access to the request_id from the search_query and find_term classes
- log exception for graph load failures
- each request gets a marker in the log when the request is strarted, optionally including IP data. It looks like...
Example without IP data...
******** SEARCH
******** FIND
Example with IP data...
******** SEARCH from IP 111.22.33.4444 in {city: Ithaca, state: New York, country: US}
******** FIND from IP 111.22.33.4444 in {city: Ithaca, state: New York, country: US}
To configure inclusion of IP data:
- Edit /config/initializers/qa.rb
- If this file doesn't exist in your app, you can copy it from /lib/generators/qa/install/templates/config/initializers/qa.rb
- If it exists from an earlier release, you can copy in the new configs by comparing your version of the file to the generator version.
- Uncomment and set the value of
config.suppress_ip_data_from_log
. If true, IP data will not be included. If false, IP data will be included in the log.
Change Log
- add a request id to the search and find request headers
- log exception for graph load failures
- optionally include IP info at start of search/find linked data requests