If you enter with a visa or reentry permit you would not have an issue.
For visa exempt entry in the main also no issue, however if your history indicates that you have spent lot of time in Thailand recently then you can be questioned and even possibly refused entry.
Think you mentioned couple of years in Thailand and now wanting to return after a month out on visa exempt entry.
BTW new passport doesn't help. Your history is on io screen.