* Don’t filter locally for year
* Add new utterance for searching by year
* Standardize release date query building
* Update README with new utterances
* Version bump to 1.1.1
Closes#11
Adds a couple of new utterances so you can limit your movie results by the release date. You can now add a movie by saying:
> Add The Godfather released in 1972
> Add The Godfather from 1972
> Add The Godfather that came out in 1972
> Add The Godfather released in March 1972
If you've used previous versions of the Intent Schema and Sample Utterances, make sure to copy and paste the new ones in.
Fixes#6
This required a few changes to the code base. First of all, we need to update our lambda function to use Node v4.3. This can be done in the Lambda console on AWS, and is also done in the default.env file. Next, since Node 4.3 doesn't offer full ES6 support yet, we need to run our source code through babel to transform it to be ES5-friendly. The ES6 source now lives in the src/ directory, and the transformed js is output into a dist/ directory. The dist/ package is what ends up getting uploaded to lambda.
One last issue is that node-lambda doesn't work with ES6 either, so we need to make sure it runs against the files in the dist/ directory instead. You can use the test-lambda npm script to do this automatically for you by executing npm run test-lambda in the terminal. This will trigger running babel to transform the js and then running node-lambda against the newly transformed files in dist/.