Skip to content

Conversation

@dependabot
Copy link

@dependabot dependabot bot commented on behalf of github Dec 2, 2021

Bumps sourcecred from 0.9.0 to 0.10.2.

Release notes

Sourced from sourcecred's releases.

sourcecred v0.10.2

Patches

This patch only concern 3rd-party developers or users of 3rd-party tools. This changes our API's sc.ledger.storage.GithubStorage export to a newer class of the same name. Because the interface is unchanged for users of the LedgerManager, scripts using that class will work as they are. If you use the GithubStorage class directly without a LedgerManager, then you should note that read and write have been changed to get and set and take different parameters.

Contributions

fff0d2a7c38829c881936f84ed34e0cd80f8d961 Change GithubStorage in API to the newer version (#3277) 9217fc1db9510b5616e8e2ed1a2929b009f2994a v0.10.1 docs generation (#3276)

sourcecred v0.10.1

Breaking changes

If you are not a 3rd-party developer or user of 3rd-party tools for managing your ledger, there are no breaking changes that concern you and this is a stable build.

This version changes the GithubStorage input required by the LedgerManager class in our JS library. Unfortunately, we also forgot to switch the GithubStorage provided in the API to the new one. So if you use the LedgerManager class, this is not a viable build. The correct GithubStorage class is provided in 0.10.2, however your code should work as-is once upgraded to 0.10.2 since the 3rd-party interface is unchanged.

Summary

Export the CredGraph to Neo4j

Neo4j is a graph database with its own query language and visual explorer. We now support exporting the SourceCred graph to Neo4j after generating it. Running yarn sourcecred analysis -n will generate CSV files in a output/neo4j folder and log pre-built neo4j-admin commands that can be used with Neo4j's admin CLI to import the CSV files into a Neo4j databse. The fastest way to get started is by downloading Neo4j Desktop and Java 11 and setting up local Neo4j db.

Note, you can also add yarn sourcecred analysis -n to your instance's GitHub Action configuration to automatically generate these files in your gh-pages branch.

UI improvements

  • The Grain Accounts page now has pagination, filtering, and sorting by earned, balance, and active status.
  • The Cred Explorer page now has a column showing % of total Cred.

[Dev] Computer-generated API documentation

We have primitive API docs! We'll be working on making sure they're all accurate and providing entry points to know where to start. In the mean time, enjoy our progress so far: https://api.sourcecred.io/sourcecred/

[Dev] Simpler API usage when creating a ReadInstance object

If you've been using our getNetworkReadInstance library functionality to pull SourceCred data from an instance, there is now an improved getRawGithubReadInstance interface that does the same thing without requiring you to find the raw.githubusercontent base URL. Just pass in the github org name, repo name, and branch name like this:

instance = sc.instance.readInstance.getRawGithubReadInstance("sourcecred","cred","gh-pages")

Don't know what this means but interested? You can find info about our ReadOnlyInstance interface here: https://api.sourcecred.io/sourcecred/#readonlyinstance https://observablehq.com/@​sourcecred/api-tutorial

Contributions

2380c7ba8f849766463ab2f8762c911acd91a7d3 Add Needs Triage label to feature request template (#3274) 3c80039de006e6c0ede700a706c4a4b8c61e1e9d Support Pagination and Filter-by-accont for Grains Accounts (#3267) 0e03eb150e81aa4557c6daeccd92ef26d2be9455 Analysis API: Neo4j csv files (#3258) 71387ef9bc1a48bcc527624ab976936891c6cad9 Util: improve performance of batch (#3261) a61df47cfabb830882b6d8c232a529df81e202f9 Add support for sorting by Active accounts. (#3263) 9f356fac509248014ecc19148c144dd50f42c14a Fix sorting in accounts preview (#3262) 24cf73a134f4f7f15a50001b7e5401f7370ea8dd Util: add batchArray and batchIterator methods (#3259) 5459e0cfe884d9db9abced58a1cca3cacdb3f5d0 Better error message for dependency id missing in ledger (#3255) 362b72ecb80b6bea589ea270cf8033523d090d0d GitHub storage conforms data storage (#3209) 5f88abefa482edc38e1dca325910723a37ed1d92 Set up GH Pages config for api docs (#3252) a40646af181cbf4f40e545d3b74e3e78ef48b64f Add computer-generated API documentation (#3251) 2c913044ebf1a7eabfbbfa10af6f37163894a575 Add RawGithubReadInstance wrapper for improved UX (#3250) 584d45f6656d15ca2d8c31657ea06acdbc3d3c41 Using Node as default jest's test environment & Utilizing jest's docblock (#3242) dfbade6a6a47334331599376b773da63d607b8f6 ADD Postable Origin Storage (#3235)

... (truncated)

Commits
Maintainer changes

This version was pushed to npm by hozz, a new releaser for sourcecred since your current version.


Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

@dependabot dependabot bot added dependencies Pull requests that update a dependency file javascript Pull requests that update Javascript code labels Dec 2, 2021
@dependabot dependabot bot force-pushed the dependabot/npm_and_yarn/sourcecred-0.10.2 branch from 73d3d17 to 7875697 Compare December 20, 2021 20:51
Bumps [sourcecred](https://github.com/sourcecred/sourcecred) from 0.9.0 to 0.10.2.
- [Release notes](https://github.com/sourcecred/sourcecred/releases)
- [Commits](sourcecred/sourcecred@sourcecred-v0.9.0...sourcecred-v0.10.2)

---
updated-dependencies:
- dependency-name: sourcecred
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot force-pushed the dependabot/npm_and_yarn/sourcecred-0.10.2 branch from 7875697 to 6f4ab19 Compare December 22, 2021 21:05
@vercel
Copy link

vercel bot commented Dec 22, 2021

This pull request is being automatically deployed with Vercel (learn more).
To see the status of your deployment, click below or on the icon next to each commit.

🔍 Inspect: https://vercel.com/metafactory/mf-cred/8nDHQWBdTqwPaUUNdf5pU69wtDLN
✅ Preview: https://mf-cred-git-dependabot-npmandyarnsourcecred-0102-metafactory.vercel.app

@dependabot @github
Copy link
Author

dependabot bot commented on behalf of github Feb 3, 2022

Superseded by #67.

@dependabot dependabot bot closed this Feb 3, 2022
@dependabot dependabot bot deleted the dependabot/npm_and_yarn/sourcecred-0.10.2 branch February 3, 2022 10:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file javascript Pull requests that update Javascript code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant