We review the non-equilibrium dynamics of many-body quantum systems after a quantum quench with spatial inhomogeneities, either in the Hamiltonian or in the initial state. We focus on integrable and many-body localized systems that fail to self-thermalize in isolation and for which the standard hydrodynamical picture breaks down. The emphasis is on universal dynamics, non-equilibrium steady states and new dynamical phases of matter, and on phase transitions far from thermal equilibrium. We describe how the infinite number of conservation laws of integrable and many-body localized systems lead to complex non-equilibrium states beyond the traditional dogma of statistical mechanics. PACS numbers: 05.70.Ln, 03.67.Mn, 72.15.Rn, 02.30.Ik arXiv:1603.06618v2 [cond-mat.str-el] 5 Jul 2016 N /T J z = 0 J z = 0.025 J z = 0.05 J z = 0.1 J z = 0.2 J z = 0.4 10 −2 10 −1 10 0 10 1 10 2 J z T 0.00