{"push_id":1296099129,"size":4,"distinct_size":2,"ref":"refs/heads/fix/object-type-coercion","head":"4b0b2e8f371bc6e136fb96130d48abe36605b7ee","before":"2f813636d20f876c4d7290cd86d54032d2956035","commits":[{"sha":"a1d784b60426fc9cd282b0485819e29b7d0e3c55","author":{"name":"Miroslav Bajtoš","email":"400754abad92c967eca28154e1a1b34dcc0b7f93@cz.ibm.com"},"message":"Fix rest-coercion of timestamp strings\n\nWhen converting a value coming from a string source like querystring\nto a date, and the value is a timestamp (i.e. an integer), we treat\nthe value as a number now.\n\nThat way the value \"0\" always produces \"1970-01-01T00:00:00.000Z\"\ninstead of some date around 1999/2000/2001 depending on server timezone.","distinct":false,"url":"https://api.github.com/repos/strongloop/strong-remoting/commits/a1d784b60426fc9cd282b0485819e29b7d0e3c55"},{"sha":"8464e456f52f62c94bf398f945c7e305584a8d29","author":{"name":"Miroslav Bajtoš","email":"c9196ee1da1f520eefa778a06344ea5c6eeba321@gmail.com"},"message":"Merge pull request #349 from strongloop/fix/timestamp-sloppy-coercion\n\n[SEMVER-MAJOR] Fix rest-coercion of timestamp strings","distinct":false,"url":"https://api.github.com/repos/strongloop/strong-remoting/commits/8464e456f52f62c94bf398f945c7e305584a8d29"},{"sha":"5d4c73054445f99d37c16044c5be841b3b384c15","author":{"name":"Miroslav Bajtoš","email":"400754abad92c967eca28154e1a1b34dcc0b7f93@cz.ibm.com"},"message":"Reject array/date values for object arguments\n\nHaving to distinguish between an array and a plain object in remote\nmethods is tedious. For example, LoopBack Model constructors expect\nan object as the first argument, but will accept an array too, with\nundefined result.\n\nThis commit changes the implementation of object converter to reject\nvalues that are of a different strong-remoting type,\nnamely \"array\" and \"date\"","distinct":true,"url":"https://api.github.com/repos/strongloop/strong-remoting/commits/5d4c73054445f99d37c16044c5be841b3b384c15"},{"sha":"4b0b2e8f371bc6e136fb96130d48abe36605b7ee","author":{"name":"Miroslav Bajtoš","email":"400754abad92c967eca28154e1a1b34dcc0b7f93@cz.ibm.com"},"message":"Add rest-coercion tests for custom object types","distinct":true,"url":"https://api.github.com/repos/strongloop/strong-remoting/commits/4b0b2e8f371bc6e136fb96130d48abe36605b7ee"}]}
{"actor":{"display_login":"bajtos"}}