You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/reference/zmodel/function.md
+2-1Lines changed: 2 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -109,7 +109,8 @@ Generates a unique identifier based on the [CUID](https://github.com/ericelliott
109
109
110
110
*Parameters:*
111
111
112
-
-`version` (optional): The CUID version to generate. Supported values are `1` (default) and `2`.
112
+
-`version` (optional): The CUID version to generate. Supported values are `1` (default) and `2`.<br />
113
+
The NPM package for **CUID v1 is deprecated**, so you should use `2` for all new projects.
113
114
-`format` (optional): A pattern to control the output format. `%s` in the pattern will be replaced by the generated id. Use escaped `\\%s` to have a literal `%s` in the output.
0 commit comments