HISTORY.md
1 1.0.0 / 2024-08-31 2 ================== 3 4 * Drop support for node <18 5 * Added an option preferred encodings array #59 6 7 0.6.3 / 2022-01-22 8 ================== 9 10 * Revert "Lazy-load modules from main entry point" 11 12 0.6.2 / 2019-04-29 13 ================== 14 15 * Fix sorting charset, encoding, and language with extra parameters 16 17 0.6.1 / 2016-05-02 18 ================== 19 20 * perf: improve `Accept` parsing speed 21 * perf: improve `Accept-Charset` parsing speed 22 * perf: improve `Accept-Encoding` parsing speed 23 * perf: improve `Accept-Language` parsing speed 24 25 0.6.0 / 2015-09-29 26 ================== 27 28 * Fix including type extensions in parameters in `Accept` parsing 29 * Fix parsing `Accept` parameters with quoted equals 30 * Fix parsing `Accept` parameters with quoted semicolons 31 * Lazy-load modules from main entry point 32 * perf: delay type concatenation until needed 33 * perf: enable strict mode 34 * perf: hoist regular expressions 35 * perf: remove closures getting spec properties 36 * perf: remove a closure from media type parsing 37 * perf: remove property delete from media type parsing 38 39 0.5.3 / 2015-05-10 40 ================== 41 42 * Fix media type parameter matching to be case-insensitive 43 44 0.5.2 / 2015-05-06 45 ================== 46 47 * Fix comparing media types with quoted values 48 * Fix splitting media types with quoted commas 49 50 0.5.1 / 2015-02-14 51 ================== 52 53 * Fix preference sorting to be stable for long acceptable lists 54 55 0.5.0 / 2014-12-18 56 ================== 57 58 * Fix list return order when large accepted list 59 * Fix missing identity encoding when q=0 exists 60 * Remove dynamic building of Negotiator class 61 62 0.4.9 / 2014-10-14 63 ================== 64 65 * Fix error when media type has invalid parameter 66 67 0.4.8 / 2014-09-28 68 ================== 69 70 * Fix all negotiations to be case-insensitive 71 * Stable sort preferences of same quality according to client order 72 * Support Node.js 0.6 73 74 0.4.7 / 2014-06-24 75 ================== 76 77 * Handle invalid provided languages 78 * Handle invalid provided media types 79 80 0.4.6 / 2014-06-11 81 ================== 82 83 * Order by specificity when quality is the same 84 85 0.4.5 / 2014-05-29 86 ================== 87 88 * Fix regression in empty header handling 89 90 0.4.4 / 2014-05-29 91 ================== 92 93 * Fix behaviors when headers are not present 94 95 0.4.3 / 2014-04-16 96 ================== 97 98 * Handle slashes on media params correctly 99 100 0.4.2 / 2014-02-28 101 ================== 102 103 * Fix media type sorting 104 * Handle media types params strictly 105 106 0.4.1 / 2014-01-16 107 ================== 108 109 * Use most specific matches 110 111 0.4.0 / 2014-01-09 112 ================== 113 114 * Remove preferred prefix from methods