For some niche cases, gravel riders would appreciate to use wider range cassettes (11-40, 11-42 or 11-46) on their double chainring gravel setup, which would allow have ranges close to 600% (vs 507% for the latest GRX 2x12 or 510% for the latest 1x12).
The GRX RD-RX810 (or RD-RX815 for the Di2 version) is the official 11-speed double chainring GRX rear derailleur and is derived from road derailleurs (its specs are very close to the 105/Ultegra rear derailleurs), with similar max sprockets size and capacities. When searching how to fit a larger cassette, the answer that can be found is to replace the derailleur attachment by a goat link/tan pan, that would move the derailleur away from the cassette and give the necessary clearance to use such cassette. But that is done at the detriment of shifting performance on small sprockets, as the jockey wheel is too far from the cassette to do its work properly. From my experience on another bike, the decrease in shifting performance is significant, and I would not repeat the experience.
I recently came across another "hack", which is to start from the 1x version of the GRX rear derailleur (RD-RX812 or RD-RX817 for Di2), and swap the cage for the one of a XT RD-M8000-SGS rear derailleur. The body of the RD-RX812 seems to be indeed closer to the one of the RD-M8000, both are designed around 11-42 11-speed cassettes ...and it looks like the cages of the RD-RX812 has the same part reference as the one of RD-M8000-GS (short cage). Considering that the RD-M8000-SGS (long cage) has a capacity of 47, that is enough for a 46-30/11-42 setup, it seems like a more elegant solution: the parallelogram works within their design specs, only genuine Shimano parts are used. The drawbacks are: the rear derailleur must be replaced, and the cage replacement is not as easy as fitting a goat link. This video shows this hack, but pushed further with an 11-46 cassette and an Ultegra 50/34 crankset. This other video (thanks DoNut) applies the same hack to a 1x drivetrain, it shows how to replace the cage but the shifting should be seriously compromised as the parallelogram is not designed for this kind of cassette.
Given the second hack seems much more elegant, I'm surprised to not see more occurrences of it online — the price doesn't seem to a valid argument for me, as people able to afford RX810 equipped bikes can afford swapping a rear derailleur and cage plates are easy to find online (for around 25€). So is there a catch I didn't think about?