1. 06 May, 2019 6 commits
  2. 03 May, 2019 2 commits
  3. 02 May, 2019 3 commits
    • Robert Knight's avatar
      Merge pull request #1087 from hypothesis/mockable-imports-part-4 · 397f27da
      Robert Knight authored
      Convert mocking to mockable imports (4/4)
      397f27da
    • Robert Knight's avatar
      Merge pull request #1099 from hypothesis/fix-changelog-script · cc58249b
      Robert Knight authored
      Fix GitHub release generation script
      cc58249b
    • Robert Knight's avatar
      Fix GitHub release generation script · 8833cb99
      Robert Knight authored
      Git has two types of tags, lightweight tags and annotated tags. Only
      annotated tags have a "tag date" associated with them. Recently it
      appears that releases have been tagged with lightweight tags rather than
      annotated tags, which the `generate-change-list.js` script did not
      handle.
      
       - When fetching the last tag, use the commit date as a fallback for the
         tag date, and bail with an error if no date can be found
      
       - Link to the HTML rather than JSON representation of a PR in release
         notes
      
       - Fix a warning about use of deprecated GitHub API pagination methods
         by switching to the pagination APIs described at
         https://octokit.github.io/rest.js/#pagination
      
       - Support running the `generate-change-list.js` script as a CLI tool
         for debugging using `node generate-change-list.js <tag name>`
      
       - Skip Dependabot PRs in the change list, as these add a lot of noise.
         Generally readers are going to be interested in non-maintenance PRs.
      8833cb99
  4. 01 May, 2019 8 commits
  5. 30 Apr, 2019 12 commits
  6. 29 Apr, 2019 4 commits
  7. 26 Apr, 2019 2 commits
  8. 23 Apr, 2019 3 commits
    • Robert Knight's avatar
      Modify `wrapReactComponent` to use context to pass Angular services to children · 869d78d4
      Robert Knight authored
      Instead of handling passing of Angular services to components directly
      in `wrapReactComponent`, instead make the Angular `$injector` service,
      from which references to all other services can be obtained, available
      to the component tree via a `ServiceContext` provider.
      
      Child components can then get references to services either using the
      `withServices` wrapper, which looks up services and passes them as
      props, or by using `useContext(ServiceContext)` to get a reference to
      the injector directly.
      869d78d4
    • Robert Knight's avatar
      Add React context and component wrapper for injecting services · ffab5c8d
      Robert Knight authored
      To support accessing Angular services from nested React components
      without having to pass them through each parent, create a helper which
      wraps a component to look up service dependencies via an injector
      exposed using the context API, and inject the dependencies as props.
      ffab5c8d
    • Robert Knight's avatar
      Merge pull request #1061 from hypothesis/mockable-imports · 4e975cf0
      Robert Knight authored
      Introduce a new approach to mocking modules in tests
      4e975cf0