hughsk / flat

:steam_locomotive: Flatten/unflatten nested Javascript objects

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

migration guide v4 -> v5

oprogramador opened this issue · comments

commented

Could you publish a migration guide explaining how to correctly upgrade flat from v4 into v5?

At https://github.com/hughsk/flat/releases I see only an announcement of 5.0.0 with no info about breaking changes but I'd like to ensure.

Same, I've skimmed the changes but can't find the breaking change.

4.1.0...5.0.0

Yep and please write a changelog (in the GitHub release notes https://github.com/hughsk/flat/releases/tag/5.0.0)

What exactly has changed in 5.0.0?

When looking at the 4.1.0...5.0.0 compare the main point is probably the const usage instead of the var which limits the Node versions or browsers supported.

Version 6 will be released soon and will include a proper migration guide. There should be no breaking changes for version 5 besides usage of newer JavaScript syntax.