From 98c25116627f2657b954e78617e86481c9a10051 Mon Sep 17 00:00:00 2001
From: Manoel Aranda Neto <5731772+marandaneto@users.noreply.github.com>
Date: Sat, 9 Mar 2024 10:01:47 +0100
Subject: [PATCH] chore: rename blacklist to denylist (#7924)
---
contents/docs/libraries/js/index.mdx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/contents/docs/libraries/js/index.mdx b/contents/docs/libraries/js/index.mdx
index ea8882b251aa..48132ff5f1ee 100644
--- a/contents/docs/libraries/js/index.mdx
+++ b/contents/docs/libraries/js/index.mdx
@@ -506,7 +506,7 @@ Some of the most relevant options are:
| `mask_all_element_attributes`
**Type:** Boolean
**Default:** `false` | Prevent PostHog autocapture from capturing any attributes from your elements. |
| `opt_out_capturing_by_default`
**Type:** Boolean
**Default:** `false` | Determines if users should be opted out of PostHog tracking by default, requiring additional logic to opt them into capturing by calling `posthog.opt_in_capturing`. |
| `persistence`
**Type:** `localStorage` or `sessionStorage` or `cookie` or `memory` or `localStorage+cookie`
**Default:** `cookie` | Determines how PostHog stores information about the user. See [persistence](#persistence) for details. |
-| `property_blacklist`
**Type:** Array
**Default:** `[]` | A list of properties that should never be sent with `capture` calls. |
+| `property_denylist`
**Type:** Array
**Default:** `[]` | A list of properties that should never be sent with `capture` calls. |
| `sanitize_properties`
**Type:** Function
**Default:** `null` | A function that allows you to sanitize or modify the properties that get sent. Example: `sanitize_properties: function(properties, event) { if(properties['$ip']) { properties['$ip'] = null } return properties }` |
| `session_recording`
**Type:** Object
**Default:** [See here.](https://github.com/PostHog/posthog-js/blob/96fa9339b9c553a1c69ec5db9d282f31a65a1c25/src/posthog-core.js#L1032) | Configuration options for recordings. More details [found here](/docs/session-replay/manual) |
| `xhr_headers`
**Type:** Object
**Default:** `{}` | Any additional headers you wish to pass with the XHR requests to the PostHog API. |