Script score expressions in Elasticsearch 1.4

Hi,

We have a query that uses the function_score query. Each function in the functions array contains a script_score object where the script value is an integer.

e.g.

"script_score": {
  "script": 0.335
}

This works fine in 1.4.1, but upgrading to 1.4.5 causes issues: specifically we get this error:

QueryParsingException[[test_index] script_score query does not support [script]

The error can be worked around by quoting the script value, i.e.:

"script_score": {
  "script": "0.335"
}

My question is: what change was made to the parsing of scripts in queries and was the change not considered a "breaking change" because using numerical values was never really the way you were supposed to do things?

I think it's this change: https://github.com/elastic/elasticsearch/pull/7977