Skip to content

Releases: fregante/list-github-dir-content

v4.0.4

02 Nov 13:35

Choose a tag to compare

  • Fix return value of getDirectoryContentViaContentsApi 50d7e28

v4.0.2...v4.0.4

v4.0.2

14 Jul 08:38

Choose a tag to compare

v4.0.1...v4.0.2

v4.0.1

13 Jul 18:54

Choose a tag to compare

v4.0.0...v4.0.1

v4.0.0

13 Jul 17:58

Choose a tag to compare

Major Changes

- const listContent = require('list-github-dir-content');
- await listContent.viaTreesApi();

+ import {getDirectoryContentViaTreesApi} from 'list-github-dir-content';
+ await getDirectoryContentViaTreesApi();

v3.0.0...v4.0.0

v3.0.0

01 Jul 14:04

Choose a tag to compare

Major Changes

  • Use Authorization header instead of access_token URL parameter: #17

Patches

  • Add type declarations: #13
  • Add support for 404 folders (returns empty array): 3fbae25
  • Update node-fetch: 0b950b3
  • Throw error when token is bad: 0aa015e

Credits

Huge thanks to @dan2k3k4 and @loilo for helping!

v2.0.0

31 Oct 09:26

Choose a tag to compare

This version is not backwards-compatible because the functions’ signature is different, but the output is unchanged (unless the set the new option to true)

Major Changes

  • Add option to return all available info instead of just the path: #12

Credits

Huge thanks to @loilo for helping!

v1.1.1

30 Oct 05:07

Choose a tag to compare

Patches

  • Avoid downloading files from folders with similar names: d5bc13e

v1.1.0

17 Apr 19:31

Choose a tag to compare

Minor Changes

  • Add support for non-master branches: #9

Credits

Huge thanks to @aslafy-z for helping!