A Gaza ceasefire, which involves a full withdrawal of Israeli forces and the release of all the hostages, has been agreed by Israel and Hamas. The announcement was made by the PM of Qatar, which helped broker the deal.