New
v2.2.0
ADDEDNewxhrproperty that allows setting custom headers (such as for auth), changing thewithCredentialssetting and specifying the HTTP method for the request. These only apply to Web Audio (#997).ADDEDNewHowler.stop()global stop method to stop all sounds at once (#1308).ADDEDSupport form4baudio format (#1170).CHANGEDAllow passingmetadatastring topreloadoption to only preload the metadata (#1140).FIXEDCorrectly handle AudioContext interrupted state causing stucksuspendingstate (#1106).FIXEDThevolumemethod would sometimes return incorrect values when using very shortfadelengths (#1045).FIXEDError thatHowlerGlobalwas not defined when usingjsdom-global(#1331).FIXEDMemory leak in Safari when an audio context can't be unlocked (#1338).
Breaking Changes
- The
xhrWithCredentialsproperty is now included in thexhrproperty object with keywithCredentials.