aboutsummaryrefslogtreecommitdiff
path: root/docs/guide/upgrading.md
diff options
context:
space:
mode:
authorSaurabh kumar <[email protected]>2024-06-13 15:44:46 +0530
committerGitHub <[email protected]>2024-06-13 10:14:46 +0000
commita5ffca1c7863531d459f67cbab7bd9ba34d16904 (patch)
tree14c8100e1e51042319720634b5badb8bd655df85 /docs/guide/upgrading.md
parent2a2a13200acd858a2ee45e43072f55888511fb8d (diff)
downloadfaker-a5ffca1c7863531d459f67cbab7bd9ba34d16904.tar.xz
faker-a5ffca1c7863531d459f67cbab7bd9ba34d16904.zip
refactor(locale)!: use singular locale definition keys (#2932)
Diffstat (limited to 'docs/guide/upgrading.md')
-rw-r--r--docs/guide/upgrading.md7
1 files changed, 4 insertions, 3 deletions
diff --git a/docs/guide/upgrading.md b/docs/guide/upgrading.md
index 81a48ad8..b562cdb0 100644
--- a/docs/guide/upgrading.md
+++ b/docs/guide/upgrading.md
@@ -495,13 +495,14 @@ Renamed deprecated locale aliases `cz`, `en_IND`, `ge` and removed `global`.
### Renamed Locale Definitions
-The following locale definitions have been renamed
+The following locale definitions have been adjusted to align with Faker's locale definition naming standard:
| old | replacement |
| ------------------------------------------- | -------------------------------------------- |
| `faker.definitions.science.chemicalElement` | `faker.definitions.science.chemical_element` |
-| `faker.definitions.system.directoryPaths` | `faker.definitions.system.directory_paths` |
-| `faker.definitions.system.mimeTypes` | `faker.definitions.system.mime_types` |
+| `faker.definitions.system.directoryPaths` | `faker.definitions.system.directory_path` |
+| `faker.definitions.system.mimeTypes` | `faker.definitions.system.mime_type` |
+| `faker.definitions.lorem.words` | `faker.definitions.lorem.word` |
With that now all our locale data use the following naming scheme: