Skip to content

Commit 993b265

Browse files
authored
Merge pull request #7741 from segmentio/develop
Release 25.27.1
2 parents e32a9d7 + bca8a9e commit 993b265

File tree

38 files changed

+163
-62
lines changed

38 files changed

+163
-62
lines changed

src/_data/catalog/destination_categories.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# AUTOGENERATED FROM PUBLIC API. DO NOT EDIT
2-
# destination categories last updated 2025-06-26
2+
# destination categories last updated 2025-07-03
33
items:
44
- display_name: A/B Testing
55
slug: a-b-testing

src/_data/catalog/destinations.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# AUTOGENERATED FROM PUBLIC API. DO NOT EDIT
2-
# destination data last updated 2025-06-26
2+
# destination data last updated 2025-07-03
33
items:
44
- id: 637e8d185e2dec264895ea89
55
display_name: 1Flow

src/_data/catalog/destinations_private.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# AUTOGENERATED FROM PUBLIC API. DO NOT EDIT
2-
# destination data last updated 2025-06-26
2+
# destination data last updated 2025-07-03
33
items:
44
- id: 54521fd925e721e32a72eee1
55
display_name: Pardot

src/_data/catalog/source_categories.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# AUTOGENERATED FROM PUBLIC API. DO NOT EDIT
2-
# source categories last updated 2025-06-26
2+
# source categories last updated 2025-07-03
33
items:
44
- display_name: A/B testing
55
slug: a-b-testing

src/_data/catalog/sources.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# AUTOGENERATED FROM PUBLIC API. DO NOT EDIT
2-
# sources last updated 2025-06-26
2+
# sources last updated 2025-07-03
33
items:
44
- id: 8HWbgPTt3k
55
display_name: .NET

src/_includes/content/functions/settings.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ You can configure the details about this setting, which change how it's displaye
1717
- **Type** - Type of the setting's value.
1818
- **Description** - Optional description, which appears below the setting name.
1919
- **Required** - Enable this to ensure that the setting cannot be saved without a value.
20-
- **Encrypted** - Enable to encrypt the value of this setting. Use this setting for sensitive data, like API keys.
20+
- **Secret** - Enable this to ensure that sensitive data, like API key values or passwords, are not displayed in the Segment UI.
2121

2222
As you change the values, a preview to the right updates to show how your setting will look and work.
2323

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
<!-- usually placed under a heading called "Settings and Secrets" -->
2+
3+
Settings allow you to pass configurable variables to your function, which is the best way to pass sensitive information such as security tokens. For example, you might use `settings` as placeholders to use information such as an API endpoint and API key. This way, you can use the same code with different settings for different purposes. When you deploy a function in your workspace, you are prompted to fill out these settings to configure the function.
4+
5+
First, add a setting in **Settings** tab in the code editor:
6+
7+
![A screenshot of the functions settings tab](/docs/connections/functions/images/settings-tab-empty.png){:width="500"}
8+
9+
Click **Add Setting** to add your new setting.
10+
11+
![A screenshot of the "Add Setting" section of the functions settings tab, with apiKey settings included](/docs/connections/functions/images/add-source-setting-dialog.png)
12+
13+
You can configure the details about this setting, which change how it's displayed to anyone using your function:
14+
15+
- **Label** - Name of the setting, which users see when configuring the function.
16+
- **Name** - Auto-generated name of the setting to use in function's source code.
17+
- **Type** - Type of the setting's value.
18+
- **Description** - Optional description, which appears below the setting name.
19+
- **Required** - Enable this to ensure that the setting cannot be saved without a value.
20+
- **Encrypted** - Enable to encrypt the value of this setting. Use this setting for sensitive data, like API keys.
21+
22+
As you change the values, a preview to the right updates to show how your setting will look and work.
23+
24+
Click **Add Setting** to save the new setting.
25+
26+
Once you save a setting, it appears in the **Settings** tab for the function. You can edit or delete settings from this tab.
27+
28+
![A screenshot of the functions settings tab, showing the apiKey setting](/docs/connections/functions/images/settings-tab-non-empty.png){:width="500"}

src/_sass/components/_accordion.scss

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
&__heading {
1414
padding-right: 20px;
1515
font-size: 16px;
16-
font-weight: 600;
16+
font-weight: 500;
1717
color: color(gray-800);
1818
line-height: 1.71;
1919
position: relative;
@@ -38,7 +38,7 @@
3838
display: inline-block;
3939
margin-top: 7px;
4040
font-size: 14px;
41-
font-weight: 600;
41+
font-weight: 500;
4242
text-decoration: underline;
4343
}
4444

src/_sass/components/_button.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
.button {
22
font-size: 12px;
3-
font-weight: 600;
3+
font-weight: 500;
44
line-height: 1.5;
55
text-align: center;
66
padding: 8px 12px;

src/_sass/components/_code-example.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
color: color(gray-700);
2727
font-size: 12px;
2828
line-height: 16px;
29-
font-weight: 600;
29+
font-weight: 500;
3030

3131
&:hover {
3232
color: color(primary);

0 commit comments

Comments
 (0)