In a session that ran past midnight, Parliament enacted a law to block a no-deal Brexit next month, ordered the government to release private communications about its Brexit plans and rejected Johnson's call for a snap election to break the political deadlock.