Releases: Financial-Times/next-syndication-api
1.0.0 Remove n-internal-tool
Major change. Remove n-internal-tool usage and replace with n-express. Please test before pushing to production.
0.40.1 Healthchecks for syndication downloads
Adding Heimdall healthchecks for syndication downloads.
0.40.0 Graphite metrics for article and archive downloads
This release adds Graphite metrics for Syndication article and zip downloads.
0.39.0
0.38.7 Stop masquerading updating the database
Masquerading should not result in the database getting updated. Because this particular bit of code wasn't wrapped in a check, it was updating the contract being checked with the user's licence ID (FT Staff) which was incorrect.
There is a wider problem here with database upserts running in middleware which means all requests including GET requests will write to the database, that would require a bigger refactor and an understanding of why the database is getting updated on these calls anyway
Return empty string when content_areas comes back as null
improve the fix so that item.content is an empty string rather than undefined when content_areas is null
Handle null fields from content_areas
Fixed the issue where 8 licences had 'null' for the database field 'content_areas' in 'contract_asset_data' table. When that data comes back to the api, it used to be [null] and now is just null. There was no handling on the code to check that it was receiving an array before trying to run join on it. The fix makes sure it is an array before trying to run join on it.