My business was an LLC partnership for half of the year, and a single member LLC for the other half. Do I file as partnership or as single member?

How do I handle changes in ownership for the business taxes? The business went from partnership to single member halfway through the year.