View profile

Linear changelog: Seed funding, API Improvements

Linear changelog: Seed funding, API Improvements
By Linear team • Issue #11 • View online

Linear’s Next Chapter: Announcing our $4.2M Seed Round
Our mission is to streamline how teams build great software, starting from issue tracking.
To realize thwe raised a $4.2M seed round, led by Sequoia Capital with participation from Index Ventures and others. (tweet)
This is a big milestone for our team and we wanted to share a bit about our progress and what this means for the future of Linear.
Read more in our Medium post.
API improvements
Linear is built on our GraphQL API which is also available to our users through personal API keys. As we have evolved the application, the API has evolved as well. This week we’re releasing larger breaking changes to future proof the API and provide more stable building blocks for the future.
Pagination
All list responses from queries now return paginated results instead of a list. We implement Relay style cursor-based pagination model with first/after and last/before pagination arguments. To simply query get first 10 issues for your organization:
query {
issues(first: 10) {
edges {
node {
id
title
}
cursor
}
pageInfo {
hasNextPage
endCursor
}
}
}
The first 50 results are returned by default without query arguments. Pagination also supports simpler syntax where instead of edges you can directly get all the nodessimilar to GitHub’s GraphQL API:
query {
teams {
nodes {
id
name
}
}
}
Archived resources
Archived resources are now hidden by default from the paginated responses. They can be included by passing optional includeArchived: true as a query parameter.
New viewer query
To get the currently logged in user, we also added a simpler viewer query:
query {
viewer {
id
name
email
}
}
Other improvements and fixes:
  • Fixed a bug in team archiving which lead to client crashes in certain situations

Did you enjoy this issue?
Linear team

Linear changelog and updates

If you don't want these updates anymore, please unsubscribe here.
If you were forwarded this newsletter and you like it, you can subscribe here.
Powered by Revue