rename to `middleware`, add upgrade notice