Skip to content

Releases: kyarik/suspendable

v0.3.0

26 Dec 19:51
Compare
Choose a tag to compare

Commits:

  • Upgrade TypeScript to 4.1.3 6331bb5
  • Reduce bundle size by optimizing autoRetryOnRejection 20311f3
  • Fix section link anchors in README 26231ef
  • Improve wording in README and documentation comments 7d80222
  • Update clearResourceErrors test to create 2 separate lazy resources e9bda43

v0.2.0

29 Nov 10:06
Compare
Choose a tag to compare

Changes:

  • Avoid unnecessarily clearing the resourcesWithError set in clearResourceErrors d110a6f
  • Use a State enum to keep track of the resource state 535bd35

v0.1.0

28 Nov 16:59
Compare
Choose a tag to compare

Changes:

  • Add tests for wait util c2c7b13
  • Add tests for autoRetryOnRejection util 6562e40
  • Do not default autoRetryTimeoutMs inside lazyResource c7bebd4
  • Add jest config to exclude src/index.ts from coverage f7e6fa2
  • Write tests for lazyComponent, preloadLazyComponent, and clearLazyComponentError f10dcfd
  • Write tests for lazyResource and clearResourceErrors 5607928
  • Remove resource from resourcesWithError in Resource#clearError 3ce31d0
  • Move Resource and ResourceOptions documentation right after lazyResource in README a95b84b
  • Add README documentation for lazyResource, lazyComponent, and other functions 2715733
  • Add documentation comments to lazyResource, lazyComponent, and other functions 2000458
  • Improve some wording in README 9e7c2c1
  • Document the Resource interface in the README 4978ca3
  • Add documentation comments to Resource and ResourceOptions 179e808
  • Improve README and add section about ResourceOptions 13391dd