The Art of Racing in the Rain.
And, spoiler alert, the book begins with the dog dyint. From the very first page of the book you know he's going to die and I still sobbed uncontrollably. My wife refused to go see the movie. She knew I would embarrass her.
I wonder if it's on Netflix yet. It should be.