Recently Expressif seem to have been introducing quite a few 'issues' with the constant revisions of their core.
If you have a version of the core that's stable for your purposes, its probably best to stick with it rather than upgrade and find previous sketches and code no longer work.