Skip to content

7.0.0

Compare
Choose a tag to compare
@spencermountain spencermountain released this 04 Dec 01:04
· 904 commits to master since this release
aabde6e

6.0.0 🚨

  • support .paragraphs()
  • ⚠️ major changes to output of .json(). cleaning-up redundant data.:warning:
    • remove top-level templates data (found in section) - resume it with {templates:true}
    • remove top-level coordinates data (found in templates) - resume it with {coordinates:true}
    • remove top-level citations data (found in section) - resume it with {citations:true}
  • return empty arrays in .json() again ¯_(:/)_ /¯
  • remove

    title on html output

  • change ambiguous options.title for sections to options.headers
  • support lists of 1
  • begin removing empty references section by default
  • begin support for rendering citations at the bottom of documents
  • begin first-class references-parsing as objects at paragraph-level
    • use this: .citations() --> .citations().map(c => c.json());
  • remove .wikitext() and .reparse() methods - keeping wikitext stateful caused too many issues
  • turn Image.file into a function
  • include interwiki() results in .links()
  • support follow_redirects option to fetch
  • hide object data in console.logs
  • move ALL image urls from upload.wikimedia.org/wikipedia/commons to wikipedia.org/wiki/Special:Redirect/file/ via #86
  • image captions are now Sentence objects
  • rename citation → reference internally, and in json output
  • remove references inside section titles

6.1.0

  • titlecase internal link destinations #192

6.2.0

  • support categories in redirects
  • add mongo-encoding from dumpster-dive

6.3.0

  • support way (+20%?) more templates.

7.0.0

  • change result-format in a lot of templates, for more consistency.
    • notably: reference format, see also, IPA, main
  • support colspan/rowspan in tables (a little!)
  • support implicit first-row headers for some tables
  • return templates even if they have no data
  • begin support for some well-used {{foo start}}...{{foo end}} templates
  • remove empty [] for some more section properties in .json() response