Work Shelter  May 2026

Going live with the Renters' Rights Act

On 1 May 2026 the Renters’ Rights Act brought in big changes for private renters in England, and Shelter’s housing advice had to change with it at midnight. The content team had spent 14 months rewriting it. My job was getting it all live at once.

The obvious tool was Contentful’s Releases feature, but it tops out at 200 items, and once you followed all the linked content we were looking at 2,335 entries. So I wrote scripts instead, and most of the effort went into making sure they couldn’t hurt us on the night.

They worked from tags the content team applied themselves, so content decided what was in scope, not the code. Every script had a dry run mode that printed what it was about to do before it touched anything. They were idempotent, so running one twice did no harm, and they saved checkpoints as they went, so a run that failed halfway could pick up where it stopped without publishing anything twice. Failures were retried over several passes, everything was logged, and each script had its own tests and README.

I planned the go-live itself as a switch. We published everything into a copy of the content environment, then pointed the live site at the copy in a fraction of a second, with an instant way back if anything looked wrong. Our Tech Lead suggested pinning the live site while we did it, which meant editors could keep working until the afternoon instead of tiptoeing around a content freeze.

The publish itself ran at lunchtime on 30 April: 2,335 entries published, 48 archived and 47 redirects created, in about ten minutes. At 00:01 the live site switched over to the new advice, with no downtime. It was the biggest publish Shelter had done in Contentful. I kept a timestamped log of every step through the day, so when we were asked for lessons learned, they were already written down.

The work won our department’s Changemaker of the Month in May, from colleague nominations.