Skip to content

wasm-v0.1.0

Compare
Choose a tag to compare
@cormacrelf cormacrelf released this 21 Oct 07:31
· 101 commits to master since this release

While this is in fact the first non-canary release, installable via npm i @citeproc-rs/wasm, it includes a list of changes since the first canary release for posterity.

Full Changelog

Breaking changes:

  • author-only, suppress-author, composite #117 [A-core]
  • Breaking JS changes: Driver.new(InitOptions); WasmResult wrapper/.unwrap(); parseStyleMetadata #94
  • Bring the CSL test suite to 100% #82 [A-core]
  • Remove unclear setReferences, replace with insertReferences + resetReferences #69

Implemented enhancements:

  • suppress-author and friends #114 [A-core]
  • Publish prerelease builds of the wasm driver #7
  • CSL-JSON hardening #109 [A-core]
  • Integration testing on Zotero's Firefox ESR #108 [A-ci]
  • Return an error on unrecognised output format (JS) #107
  • Use strings as cluster ids #80
  • Queue-draining fullRender() API; better diffing & bibliography docs #76
  • Throw proper JS errors #75
  • Write a new wasm README #70 [A-docs]
  • Preview citation cluster #68
  • Uncited Items API #67 [A-core]

Fixed bugs:

  • npmjs.com repo is not updating #110 [I-bug] [A-ci]
  • CiteprocRsDriverError: JSON Deserialization Error: unknown field year, expected one of date-parts, season, circa, literal, raw #99 [A-core] [I-spec]
  • Fatal failure with unexpected page field data #93 [I-bug] [A-core]
  • Error: unknown field shortTitle, expected any CSL variable #92 [A-core] [I-schema]
  • Plaintext output of citations does not handle unicode characters properly #91 [I-bug] [A-core]
  • CompileErrror when initializing the wasm driver #84 [I-bug]
  • Wasm driver throws string errors #25 [I-packaging]
  • Fix npm publishing breakage due to wasm-opt segfault #111 [A-ci] [I-packaging]
  • Don't exclude the no-modules target from NPM builds #81 [I-packaging]
  • Configure wasm-opt to avoid 'exported global cannot be mutable' #66 [I-packaging]

Merged pull requests:

  • Fix & test overflowing integer parsing #95 [A-core]
  • Downgrade to wasm-bindgen 0.2.62 #86
  • Use Rust 1.43 and fix wasm mutable globals #85 [A-ci]
  • Build the no-modules target for wasm #73
  • Run Rust library test suite as well as integration tests #71 [A-core] [A-ci]