faker-js / faker

Generate massive amounts of fake data in the browser and node.js
https://fakerjs.dev
Other
12.63k stars 909 forks source link

v9 migration guide polish #3007

Closed xDivisionByZerox closed 2 months ago

xDivisionByZerox commented 3 months ago

Description

I've done some proof reading on the "finished" migration guide for v9 and noticed some things that should propably be addressed before the final release.

ST-DDT commented 3 months ago

Here is my opinion on this.

  1. TypeScript v5 -> yes
  2. TreeShaking examples -> yes
  3. High precision randomizer
    1. yes, but r => randomizer instead of value
    2. maybe, use --update-snapshot isntead of -u and maybe add e.g. or also mention jest
    3. not sure about that
  4. tsup -> yes, can be removed, but this was added specifically by @Shinigami92 <- What do you think?
  5. Deprecated Removals
    1. yes
    2. yes
    3. yes
    4. not sure about that
      1. not sure about that
  6. Renamed singular -> yes
  7. Specific Methods
    1. yes
    2. yes
    3. yes
    4. yes

EDIT: yes => should be edited

xDivisionByZerox commented 2 months ago
  • Fix Tree Shaking should have a visual representation (build screenshots, raw data tables) of th impact of the change.

While this is interesting and should propably be done, I'm discurraged to put this in the migration guide itself. While users are interested that the feature exists, more details are not required for migrating itself.

We will propably add another blogpost which goes into more detail about the v9 features.