Where you a rent stabilized tenant? Is the apartment decontrolled?
If you are rent stabilized they must provide you with a new lease. If you are free market or decontrolled you are then a month to month tenant. They can then increase the rent to what ever they like. They can ask you to vacate with 30 days notice. Look at your initial lease. If it is rent stabilized it will say so on the top.
Rent controlled goes back to the same occupant from 1940s. It is most likely rent stabilized apartment with some decontrolled units.
If you have additional questions feel free to contact me at firstname.lastname@example.org