It's a more recent change. For years, you couldn't hide your... 'smutty' (or simply embarrassing) games.
Right click game on any game in your Library list (or click on the cog on the game's Library page) > Properties > Privacy > select 'Mark as Private'.