Mar 1, 2022
"Such an agreement was never made," NATO says in a fact page on its website, one of multiple pages that addresses the Russian allegations. "NATO’s door has been open to new members since it was founded in 1949 — and that has never changed."
Your supposition of a non-expansion treaty is incorrect. Politifact rates it as "Mostly False"