Skip to content

Commit de78820

Browse files
Merge branch 'al/REL-404/version-number-releaseregistry' of github.com:sourcegraph/docs into al/REL-404/version-number-releaseregistry
2 parents 3286198 + d9a2da0 commit de78820

File tree

11 files changed

+165
-45
lines changed

11 files changed

+165
-45
lines changed

docs/CHANGELOG.mdx

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,39 @@ All notable changes to Sourcegraph are documented in this file.
44

55
{/* CHANGELOG_START */}
66

7+
# v5.7.2474
8+
9+
### Fix
10+
11+
#### Batch Changes
12+
13+
- workaround for a bug in GitHub [#584](https://github.com/sourcegraph/sourcegraph/pull/584)
14+
- fix(batches): workaround for a bug in GitHub
15+
Backport aad3a04f8c93561a61c404e69132e70a22d0acba from #576
16+
17+
#### Release
18+
19+
- remove the other embedding reference [#362](https://github.com/sourcegraph/sourcegraph/pull/362)
20+
- n/a
21+
22+
#### Search
23+
24+
- remove query expansion [#586](https://github.com/sourcegraph/sourcegraph/pull/586)
25+
- This fixes a bug where we added "readme" too often to the context. Backport 28ff196a663f537c6cb6340f976a91431509a90e from #582
26+
27+
### Reverts
28+
29+
There were no reverts for this release
30+
31+
### Uncategorized
32+
33+
#### Others
34+
35+
- [Backport 5.7.x] Search: allow queries with only lang filters [#583](https://github.com/sourcegraph/sourcegraph/pull/583)
36+
37+
{/* RSS={"version":"v5.7.2474", "releasedAt": "2024-09-18"} */}
38+
39+
740
# v5.7.0
841

942
### Features

docs/admin/auth/index.mdx

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ Then add the following lines to your site configuration:
8989
"clientSecret": "replace-with-the-oauth-client-secret",
9090
"allowSignup": false, // CAUTION: Set to true to enable signup. If nothing is specified in `allowOrgs` or `allowOrgsMap`, any GitHub user can sign up.
9191
"allowOrgs": ["your-org-name"], // Restrict logins and sign-ups if enabled to members of these orgs.
92-
"allowOrgsMap": { "orgName": ["your-team-name"]} // Restrict logins and sign-ups if enabled to members of teams that belong to a given org.
92+
"allowOrgsMap": { "orgName": ["Your Team Name"]} // Restrict logins and sign-ups if enabled to members of teams that belong to a given org.
9393
}
9494
]
9595
}
@@ -154,15 +154,20 @@ When combined with `"allowSignup": false` or unset, an admin should first create
154154

155155
Note that subteams inheritance is not supported — the name of child teams (subteams) should be informed so their members can be granted access to Sourcegraph.
156156

157+
When configuring teams in allowOrgsMap, use the team's display name. If the team names do not match exactly, users will be unable to create an account.
158+
157159
```json
158160
{
159161
"type": "github",
160162
// ...
161163
"allowOrgsMap": {
162164
"org1": [
163-
"team1", "subteam1"
165+
"Your Team Name"
164166
],
165167
"org2": [
168+
"team1", "subteam1"
169+
],
170+
"org3": [
166171
"subteam2"
167172
]
168173
}

docs/cli/explanations/env.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ If the environment variable is not set, it'll default to "https://sourcegraph.co
2222

2323
To create an access token, please refer to "[Creating an access token](/cli/how-tos/creating_an_access_token)".
2424

25-
## Adding request headers with `SRC_HEADER_`
25+
## Adding request headers with `SRC_HEADER_` (Proxy Authentication with `src`)
2626

2727
If your instance is behind an authenticating proxy that requires additional headers, they can be supplied via environment variables. Any environment variable passed starting with the string `SRC_HEADER_{string-A}="String-B"` will be passed into the request with form `String-A: String-B`. See examples below:
2828

docs/cloud/private_connectivity_sourcegraph_connect.mdx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,8 @@ Tunnel client: forward proxy clients managed by sourcegraph. Every client has it
3232
Customer should reach out to their account manager to initiate the process. The account manager will work with the customer to collect the required information and initiate the process, including but not limited to:
3333

3434
- The DNS name of the private code host, e.g. `gitlab.internal.company.net` or private artifact registry, e.g. `artifactory.internal.company.net`.
35+
- The port of the private code host, e.g., `443`, `80`, `22`.
36+
- The type of the TLS certificate used by the private resource, one of self-signed by internal private CA, or issued by a public CA.
3537

3638
Finally, Sourcegraph will provide the following:
3739

docs/cody/capabilities/ignore-context.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,7 @@ Depending on the client type, here's a breakdown of versions supported and the b
138138

139139
## Cody Ignore Files
140140

141-
<Callout type="note">Cody Ignore File functionality is available for Cody Free, Pro and Enterprise users, and is currently in the Experimental stage and only supported in the VS Code extension.</Callout>
141+
<Callout type="note">The Cody Ignore feature has been sunsetted and will no longer be maintained. We recommend using Cody Context Filters with Cody Enterprise for more flexible file exclusion and inclusion rules.</Callout>
142142

143143
Cody users can configure the `.cody/ignore` file to specify files or folders from your codebase to be ignored as context by Cody through the following steps:
144144

docs/cody/capabilities/index.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,6 @@ Learn more about each by exploring their respective documentation:
2727

2828
<QuickLink title="Debug Code" icon='presets' href="/cody/capabilities/debug-code" description="Identify and fix code errors and bugs." />
2929

30-
<QuickLink title="Cody Ignore" icon='presets' href="/cody/capabilities/ignore-context" description="Cody can ignore selected files or folders from chat and autocomplete results." />
30+
<QuickLink title="Cody Context Filters" icon='presets' href="/cody/capabilities/ignore-context" description="Cody helps you filter context based on a set of exclude and include rules." />
3131

3232
</QuickLinks>

docs/cody/core-concepts/token-limits.mdx

Lines changed: 16 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ Here's a detailed breakdown of the token limits by model:
2121
| claude-2.1 | 7,000 | shared | 4,000 |
2222
| claude-3 Haiku | 7,000 | shared | 4,000 |
2323
| **claude-3 Sonnet** | **15,000** | **30,000** | **4,000** |
24-
| **claude-3.5 Sonnet** | **15,000** | **45,000** | **4,000** |
24+
| **claude-3.5 Sonnet** | **15,000** | **30,000** | **4,000** |
2525
| mixtral 8x7B | 7,000 | shared | 4,000 |
2626
| mixtral 8x22B | 7,000 | shared | 4,000 |
2727
| Google Gemini 1.5 Flash | 7,000 | shared | 4,000 |
@@ -42,27 +42,29 @@ Here's a detailed breakdown of the token limits by model:
4242
| claude-2.1 | 7,000 | shared | 4,000 |
4343
| claude-3 Haiku | 7,000 | shared | 4,000 |
4444
| **claude-3 Sonnet** | **15,000** | **30,000** | **4,000** |
45-
| **claude-3.5 Sonnet** | **15,000** | **45,000** | **4,000** |
45+
| **claude-3.5 Sonnet** | **15,000** | **30,000** | **4,000** |
4646
| **claude-3 Opus** | **15,000** | **30,000** | **4,000** |
4747
| **Google Gemini 1.5 Flash** | **15,000** | **30,000** | **4,000** |
4848
| **Google Gemini 1.5 Pro** | **15,000** | **30,000** | **4,000** |
4949
| mixtral 8x7b | 7,000 | shared | 4,000 |
5050
</Tab>
5151

5252
<Tab title="Enterprise">
53-
| **Model** | **Conversation Context** | **@-mention Context** | **Output** |
54-
| ------------------- | ------------------------ | --------------------- | ---------- |
55-
| gpt-3.5-turbo | 7,000 | shared | 1,000 |
56-
| gpt-4 | 7,000 | shared | 1,000 |
57-
| gpt-4-turbo | 7,000 | shared | 1,000 |
58-
| claude instant | 7,000 | shared | 1,000 |
59-
| claude-2.0 | 7,000 | shared | 1,000 |
60-
| claude-2.1 | 7,000 | shared | 1,000 |
61-
| claude-3 Haiku | 7,000 | shared | 1,000 |
62-
| **claude-3 Sonnet** | **15,000** | **30,000** | **4,000** |
63-
| **claude-3 Opus** | **15,000** | **30,000** | **4,000** |
64-
| mixtral 8x7b | 7,000 | shared | 1,000 |
53+
| **Model** | **Conversation Context** | **@-mention Context** | **Output** |
54+
| ------------------------ | ------------------------ | --------------------- | ---------- |
55+
| gpt-3.5-turbo | 7,000 | shared | 1,000 |
56+
| gpt-4 | 7,000 | shared | 1,000 |
57+
| gpt-4-turbo | 7,000 | shared | 1,000 |
58+
| claude instant | 7,000 | shared | 1,000 |
59+
| claude-2.0 | 7,000 | shared | 1,000 |
60+
| claude-2.1 | 7,000 | shared | 1,000 |
61+
| claude-3 Haiku | 7,000 | shared | 1,000 |
62+
| **claude-3 Sonnet** | **15,000** | **30,000** | **4,000** |
63+
| **claude-3.5 Sonnet^*^** | **15,000** | **30,000** | **4,000** |
64+
| **claude-3 Opus** | **15,000** | **30,000** | **4,000** |
65+
| mixtral 8x7b | 7,000 | shared | 1,000 |
6566
</Tab>
67+
^*^*Shown are the standard limits. Exact token limits may vary depending on your deployment. Please contact your Sourcegraph representative to learn more.*
6668
</Tabs>
6769

6870
For more information on how Cody builds context, see our [documentation here](/cody/core-concepts/context).

docs/cody/faq.mdx

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,10 @@ Cody supports a wide range of programming languages, including JavaScript, TypeS
4646

4747
Cody's response quality on a programming language depends on many factors, including the underlying LLM being used. We monitor accuracy metrics across all languages and regularly make improvements. [Let us know](https://community.sourcegraph.com/) if you're seeing poor quality on a particular programming language.
4848

49+
### Can Cody answer non-programming questions?
50+
51+
Cody Chat is optimized for coding related use cases and can be used primarily for reviewing, analysis, testing, writing, and editing of software code. Use of Cody for any other purposes is against our [acceptable use policy](https://sourcegraph.com/terms/aup) and may result in your account being restricted.
52+
4953
### What happened to the Cody App?
5054

5155
We’ve deprecated the Cody App to streamline the experience for our Cody Free and Cody Pro users. Now, anyone with a Sourcegraph.com account can generate local embeddings for their personal projects within the VS Code extension without downloading and connecting the Cody App. Local embeddings are only supported for VS Code, but we’re working on adding the same functionality to JetBrains IDEs.
@@ -110,3 +114,13 @@ Yes, Cody supports the following cloud development environments:
110114

111115
- vscode.dev and GitHub Codespaces (install from the VS Code extension marketplace)
112116
- Any editor supporting the [Open VSX Registry](https://open-vsx.org/extension/sourcegraph/cody-ai), including [Gitpod](https://www.gitpod.io/blog/boosting-developer-productivity-unleashing-the-power-of-sourcegraph-cody-in-gitpod), Coder, and `code-server` (install from the [Open VSX Registry](https://open-vsx.org/extension/sourcegraph/cody-ai))
117+
118+
### Can I use my LLM of preference to chat with Cody on CLI?
119+
120+
Yes you can. In the CLI you can use the following command to get started. Please replace `$name_of_the_model` with the LLM model of your choice.
121+
122+
```
123+
cody chat --model '$name_of_the_model' -m 'Hi Cody!'
124+
```
125+
126+
For example, to use Claude 3.5 Sonnet, you'd pass the following command in your terminal, `cody chat --model 'claude-3.5-sonnet' -m 'Hi Cody!'

docs/releases.mdx

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,11 @@ Currently supported versions of Sourcegraph:
1212

1313
| **Release** | **General Availability Date** | **Supported** | **Release Notes** | **Install** |
1414
|---------------------------------|-------------------------------|---------------|----------------------------------------------------------|------------------------------------------------------|
15-
| 5.7 | September 2024 || [Notes](https://sourcegraph.com/docs/CHANGELOG#v570) | [Install](https://sourcegraph.com/docs/admin/deploy) |
16-
| 5.6.2 | August 2024 || [Notes](https://sourcegraph.com/docs/CHANGELOG#v562535) | [Install](https://sourcegraph.com/docs/admin/deploy) |
17-
| 5.6.1 | August 2024 || [Notes](https://sourcegraph.com/docs/CHANGELOG#v56185) | [Install](https://sourcegraph.com/docs/admin/deploy) |
18-
| 5.6 | August 2024 || [Notes](https://sourcegraph.com/docs/CHANGELOG#v560) | [Install](https://sourcegraph.com/docs/admin/deploy) |
15+
| Sourcegraph 5 Release 7 Patch 1 | September 2024 || [Notes](https://sourcegraph.com/docs/CHANGELOG#v572474) | [Install](https://sourcegraph.com/docs/admin/deploy) |
16+
| Sourcegraph 5 Release 7 | September 2024 || [Notes](https://sourcegraph.com/docs/CHANGELOG#v570) | [Install](https://sourcegraph.com/docs/admin/deploy) |
17+
| Sourcegraph 5 Release 6 Patch 2 | August 2024 || [Notes](https://sourcegraph.com/docs/CHANGELOG#v562535) | [Install](https://sourcegraph.com/docs/admin/deploy) |
18+
| Sourcegraph 5 Release 6 Patch 1 | August 2024 || [Notes](https://sourcegraph.com/docs/CHANGELOG#v56185) | [Install](https://sourcegraph.com/docs/admin/deploy) |
19+
| Sourcegraph 5 Release 6 | August 2024 || [Notes](https://sourcegraph.com/docs/CHANGELOG#v560) | [Install](https://sourcegraph.com/docs/admin/deploy) |
1920
| 5.5 | July 2024 || [Notes](https://sourcegraph.com/docs/CHANGELOG#v553956) | [Install](https://sourcegraph.com/docs/admin/deploy) |
2021
| 5.4 | May 2024 || [Notes](https://sourcegraph.com/docs/CHANGELOG#v547765) | [Install](https://sourcegraph.com/docs/admin/deploy) |
2122
| 5.3 | February 2024 || [Notes](https://sourcegraph.com/docs/CHANGELOG#v5312303) | [Install](https://sourcegraph.com/docs/admin/deploy) |

src/components/MdxComponents.tsx

Lines changed: 25 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ import { QuickLink, QuickLinks } from './mdx/QuickLinks';
1111
import { Tab, Tabs } from './mdx/Tabs';
1212
import { PreCodeBlock } from './PreCodeBlock';
1313
import ResourceEstimator from './resource-estimator/ResourceEstimator';
14+
import { Badge } from './ui/badge';
1415

1516
const MdxComponents = (version?: string) => {
1617
return {
@@ -42,28 +43,30 @@ const MdxComponents = (version?: string) => {
4243
? 'bg-transparent'
4344
: 'border font-medium bg-slate-100 dark:bg-slate-900 px-1 py-0.5 rounded-md border-slate-300 dark:border-slate-700';
4445

45-
return <code className={codeClasses} {...props} />;
46-
},
47-
a: (props: any) => <CustomLink {...props} version={version} />,
48-
h2: (props: any) => {
49-
return <Heading level="2" id={props.id} props={props} />;
50-
},
51-
h3: (props: any) => {
52-
return <Heading level="3" id={props.id} props={props} />;
53-
},
54-
img: (props: any) => {
55-
return <img className="rounded-xl" {...props} />;
56-
},
57-
video: (props: any) => {
58-
return <video className="rounded-xl" {...props} />;
59-
},
60-
pre: (props: any) => <PreCodeBlock {...props} />,
61-
table: (props: any) => (
62-
<div {...props} className="table-auto w-full overflow-x-auto">
63-
<table>{props.children}</table>
64-
</div>
65-
)
66-
};
46+
47+
return <code className={codeClasses} {...props} />;
48+
},
49+
a: (props: any) => <CustomLink {...props} version={version} />,
50+
h2: (props: any) => {
51+
return <Heading level="2" id={props.id} props={props} />;
52+
},
53+
h3: (props: any) => {
54+
return <Heading level="3" id={props.id} props={props} />;
55+
},
56+
img: (props: any) => {
57+
return <img className="rounded-xl" {...props} />;
58+
},
59+
video: (props: any) => {
60+
return <video className="rounded-xl" {...props} />;
61+
},
62+
pre: (props: any) => <PreCodeBlock {...props} />,
63+
table: (props: any) => (
64+
<div {...props} className="table-auto w-full overflow-x-auto">
65+
<table>{props.children}</table>
66+
</div>
67+
),
68+
Badge
69+
};
6770
};
6871

6972
export default MdxComponents;

0 commit comments

Comments
 (0)