aboutsummaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
Diffstat (limited to 'docs')
-rw-r--r--docs/guide/upgrading.md4
1 files changed, 4 insertions, 0 deletions
diff --git a/docs/guide/upgrading.md b/docs/guide/upgrading.md
index e64f8b12..4a5a2ea9 100644
--- a/docs/guide/upgrading.md
+++ b/docs/guide/upgrading.md
@@ -274,6 +274,10 @@ faker.number.float({ max: 100, precision: 0.01 }); // 35.21
The method `faker.datatype.array` has been deprecated and will be removed in v9.
If you need an array of useful values, you are better off creating your own one using `faker.helpers.multiple`.
+### `faker.datatype.datetime` deprecated in favor of `faker.date.between`
+
+The `datetime` method previously found in `faker.datatype` has been deprecated, use `faker.date.between` instead.
+
### `allowLeadingZeros` behavior change in `faker.string.numeric`
The `allowLeadingZeros` boolean parameter in `faker.string.numeric` (in the new `string` module) now defaults to `true`. `faker.string.numeric` will now generate numeric strings that could have leading zeros by default.