Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WIP: 3.1 blogpost #83

Merged
merged 31 commits into from
Feb 20, 2019
Merged
Changes from 2 commits
Commits
Show all changes
31 commits
Select commit Hold shift + click to select a range
d775af5
Added 3.1 blogpost
ryan-blunden Feb 19, 2019
50940c6
3.1 blog post updates
ryan-blunden Feb 20, 2019
8cfe952
Update blogposts/announcing-sourcegraph-3.1.md
attfarhan Feb 20, 2019
e970885
Fix suggested by @dadlerj
ryan-blunden Feb 20, 2019
b6c66aa
Fix from @sqs 👍
sqs Feb 20, 2019
9696e0a
Fix from @sqs 👍
sqs Feb 20, 2019
a8e9c4c
Fix from @sqs 👍
sqs Feb 20, 2019
6c3e575
FIx from @sqs 👍
sqs Feb 20, 2019
2f010a6
Fix from @dadlerj 👍
ryan-blunden Feb 20, 2019
ec027e6
Fix from @sqs 👍
sqs Feb 20, 2019
b93a7a0
Fix from @sqs 👍
ryan-blunden Feb 20, 2019
e413574
Fix from @sqs 👍
sqs Feb 20, 2019
f1bc05b
Fix from @sqs 👍
sqs Feb 20, 2019
ca7c30a
Fix from @sqs 👍
sqs Feb 20, 2019
669ed7a
Fix from @sqs 👍
sqs Feb 20, 2019
2997852
Fix from @sqs 👍
sqs Feb 20, 2019
5f6b085
Fix from @sqs 👍
sqs Feb 20, 2019
ea5b1f6
Fix from @sqs 👍
sqs Feb 20, 2019
408ad92
Fix from @dadlerj
ryan-blunden Feb 20, 2019
a4af2a5
Inlined changelog
ryan-blunden Feb 20, 2019
4d50f29
Fix from @sqs
ryan-blunden Feb 20, 2019
ab795d5
Fix from @sqs 👍
ryan-blunden Feb 20, 2019
f6ae50b
Reworded fixed release schedule
ryan-blunden Feb 20, 2019
ba21ba8
Fix from @nicksnyder 👍
nicksnyder Feb 20, 2019
1133a71
Fixed bullet in site admin improvements, added 2 videos and set publi…
ryan-blunden Feb 20, 2019
d069fca
Update blogposts/announcing-sourcegraph-3.1.md
nicksnyder Feb 20, 2019
f0d7c59
Fix from @nicksnyder
nicksnyder Feb 20, 2019
61faad0
Fix from @nicksnyder for query builder
nicksnyder Feb 20, 2019
d92e7f6
Removed bullets from "updated our documentation..."
ryan-blunden Feb 20, 2019
95f9ee4
Added videos
ryan-blunden Feb 20, 2019
c9d510c
Added contributors
ryan-blunden Feb 20, 2019
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
100 changes: 100 additions & 0 deletions blogposts/announcing-sourcegraph-3.1.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,100 @@
---
title: 'Announcing Sourcegraph 3.1'
ryan-blunden marked this conversation as resolved.
Show resolved Hide resolved
author: 'Ryan Blunden'
publishDate: 2019-02-20T05:59-06:00
tags: [
"blog"
]
slug: sourcegraph-3.1
heroImage: //images.ctfassets.net/le3mxztn6yoo/t4Qpcq5kA0AYM24Ws4mOk/4edf5502a936bbec90c262fa00355aed/sourcegraph-mark.png
published: false
ryan-blunden marked this conversation as resolved.
Show resolved Hide resolved
---

Sourcegraph 3.1 is now out! This release helps you create more powerful queries, improves code intelligence, adds new Sourcegraph extension APIs, and adds a huge amount of new documentation. We're also changing to scheduled releases on the 20th of each month.
ryan-blunden marked this conversation as resolved.
Show resolved Hide resolved

<!-- (ryan): Hyperlink to headings in above paragraph -->

What is Sourcegraph? Sourcegraph is an open-source, self-hosted, cross-repository code search and navigation tool, with an efficient web interface and "feels-like-native" integration into your code host. [Install or upgrade Sourcegraph.](#install-or-upgrade)

## Find more answers in code with the new query builder
ryan-blunden marked this conversation as resolved.
Show resolved Hide resolved

<!-- TODO (ryan): Below paragraph needs work as it sounds awkward -->
ryan-blunden marked this conversation as resolved.
Show resolved Hide resolved

We want to make it easier for developers to get the most of our code searching features. Did you know that in addition to code, you can search commit diffs, commit messages and symbols?
ryan-blunden marked this conversation as resolved.
Show resolved Hide resolved
ryan-blunden marked this conversation as resolved.
Show resolved Hide resolved

Even experienced Sourcegraph users will find something new. Give it a try and let us know what you think via [GitHub](https://github.com/sourcegraph/sourcegraph/issues/new/choose) or [Twitter](https://twitter.com/srcgraph).
ryan-blunden marked this conversation as resolved.
Show resolved Hide resolved

<!-- TODO (ryan): GIF using the query builder -->

## Code intelligence updates
ryan-blunden marked this conversation as resolved.
Show resolved Hide resolved

Code intelligence for [every language](https://sourcegraph.com/extensions?query=category%3A%22Programming+languages%22) continues to improve, the highlights being:
ryan-blunden marked this conversation as resolved.
Show resolved Hide resolved

- No longer showing "Go to definition" on comments, except for tokens that look like code (e.g. when surrounded by backticks, or when it looks like a function call `foo()`)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Reorder and edit:

- The docstrings in hover tooltips are more accurate.
- Indented sections in docstrings are rendered as code blocks in hovers.
- Tokens in comments ignored unless they look like code (e.g., if they're wrapped in backticks or look like a function call `foo()`)

- More accurate docstring extraction from single-line or multi-line block comments.
- Indented sections of docstrings are rendered as code blocks.

Improving code intelligence is a priority for us in 2019 so expect regular improvement updates in future releases. Want to improve support for your favorite language(s)? [Create an issue](https://github.com/sourcegraph/sourcegraph/issues/new?assignees=&labels=&template=feature_request.md&title=Language%20extension%20improvement%20for).
ryan-blunden marked this conversation as resolved.
Show resolved Hide resolved

## Site admin improvements

Administering Sourcegraph in an enterprise SSO environment is now easier thanks to a couple of small, but important features:
ryan-blunden marked this conversation as resolved.
Show resolved Hide resolved

- [Querying users by email address](https://sourcegraph.com/api/console#%7B%22query%22%3A%22%7B%5Cn%20%20user(email%3A%20%5C%22ryan%40sourcegraph.com%5C%22)%20%7B%5Cn%20%20%20%20id%5Cn%20%20%7D%5Cn%7D%5Cn%22%7D).
ryan-blunden marked this conversation as resolved.
Show resolved Hide resolved
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Make the text of this "Look up users by email address in the GraphQL API". Not sure what the best thing to link to is, but I agree with @dadlerj that this link isn't helpful.

Also remove the period because this is not a sentence (and it's weird for a period to be outside the link that otherwise includes the whole sentence).

- [Disabling the changing of usernames](https://docs.sourcegraph.com/admin/config/critical_config#reference).
ryan-blunden marked this conversation as resolved.
Show resolved Hide resolved

Making configuration changes through the JSON editor is now easier too with easy to access documentation in the editor itself.
ryan-blunden marked this conversation as resolved.
Show resolved Hide resolved
ryan-blunden marked this conversation as resolved.
Show resolved Hide resolved

<!-- TODO (ryan): GIF showing editor using the help tool tip with an item that requires a choice of values -->

## Improved configuration management and documentation

Sourcegraph 3.0 introduced the [management console](https://about.sourcegraph.com/blog/sourcegraph-3.0#management-console-and-site-config-improvements) for editing critical configuration to allow recovery from misconfiguration in the site admin.

We've [updated our documentation](https://docs.sourcegraph.com/admin/config) to reflect this change, separating configuration into two sections:
ryan-blunden marked this conversation as resolved.
Show resolved Hide resolved

- [Critical configuration](https://docs.sourcegraph.com/admin/config/critical_config).
- [Site configuration](https://docs.sourcegraph.com/admin/config/site_config).

Reference documentation for [site configuration](https://docs.sourcegraph.com/admin/config/site_config#reference) and [critical configuration](https://docs.sourcegraph.com/admin/config/critical_config#reference) values are now rendered using the schema files themselves to ensure they'll never get out of date.
ryan-blunden marked this conversation as resolved.
Show resolved Hide resolved

## New Sourcegraph extension APIs

The [Sourcegraph extension API](https://docs.sourcegraph.com/extensions/authoring) continues to evolve with two new APIs:
ryan-blunden marked this conversation as resolved.
Show resolved Hide resolved

- [Exposing text selection to extensions](https://github.com/sourcegraph/sourcegraph/issues/702).
ryan-blunden marked this conversation as resolved.
Show resolved Hide resolved
- [APIs for listening to active text editor changes and selections](https://github.com/sourcegraph/sourcegraph/issues/2026).
ryan-blunden marked this conversation as resolved.
Show resolved Hide resolved

This means the `[Git extras Sourcegraph extension](https://sourcegraph.com/extensions?query=git-extras) works better than ever. Want this functionality on GitHub too? Just install the [Sourcegraph browser extension](https://docs.sourcegraph.com/integration/browser_extension).
ryan-blunden marked this conversation as resolved.
Show resolved Hide resolved

<!-- TODO (ryan): Gif of git-extras extension -->

## Switching to scheduled releases on the 20th of each month
ryan-blunden marked this conversation as resolved.
Show resolved Hide resolved

We received feedback from many of you asking for a more regular and predictable release schedule and as a result, Sourcegraph will now be released on the 20th of each month 🎉.
ryan-blunden marked this conversation as resolved.
Show resolved Hide resolved

## Changelog
ryan-blunden marked this conversation as resolved.
Show resolved Hide resolved

See the [Sourcegraph changelog](https://github.com/sourcegraph/sourcegraph/blob/master/CHANGELOG.md#31) for a list of all changes in this release.
ryan-blunden marked this conversation as resolved.
Show resolved Hide resolved

## Thank you

Thank you to the many people who contributed to make Sourcegraph better since our last release!
ryan-blunden marked this conversation as resolved.
Show resolved Hide resolved

<!-- TODO (ryan): Generate list -->

<!--
Use script at https://gist.github.com/ryan-blunden/c8898c989b48ba7a83e64ff9ae242cc2 to generate contributors for this release.

If new Sourcegraphers have contributed, add their username to the exclude list.
-->

## Install or upgrade

Ready to install? [Install Sourcegraph 3.1](https://docs.sourcegraph.com/)

Upgrading from 2.x or 3.0.1? [See the migration guide](https://docs.sourcegraph.com/admin/migration/3_0)
ryan-blunden marked this conversation as resolved.
Show resolved Hide resolved

---

From the entire Sourcegraph team ([@srcgraph](https://twitter.com/srcgraph)), happy coding!