Skip to content

8.0.0

Compare
Choose a tag to compare
@spencermountain spencermountain released this 11 Mar 21:52
· 663 commits to master since this release
75c90fc

8.0.0

  • [breaking] move .html(), .latex(), and .markdown() to their respective plugins
    • drop header/footer boilerplate from outputs
  • [breaking] .templates() and .links() return Template and Link objects, and not bare JSON (use .map(l=> l.json()))
  • [breaking] refactor inputs for .fetch()
    • no longer support 'enwikiquote' etc format as input
    • use 'wiki' instead of undocumented 'wikiUrl' param
    • no more automatic throttling/rate-limiting
  • [breaking] remove Image.exists() method to plugin
  • [major] create seperate client/server-side build formats (use native fetch/node lib)
  • [major] support deep (infinite) recursion in templates
  • [major] much-stronger i18n support
  • no-longer automatically titlecase links
  • support adding template parsers through plugins in .extend()
    • support array, number, and string shorthand for template parsers
  • deprecate .plaintext() in favour of .text()