| OLD | NEW |
| (Empty) |
| 1 ## 0.11.12 | |
| 2 * Number formatting now accepts "int-like" inputs that don't have to | |
| 3 conform to the num interface. In particular, you can now pass an Int64 | |
| 4 from the fixnum package and format it. In addition, this no longer | |
| 5 multiplies the result, so it won't lose precision on a few additional | |
| 6 cases in JS. | |
| 7 | |
| 8 ## 0.11.11 | |
| 9 * Add a -no-embedded-plurals flag to reject plurals and genders that | |
| 10 have either leading or trailing text around them. This follows the | |
| 11 ICU recommendation that a plural or gender should contain the | |
| 12 entire phrase/sentence, not just part of it. | |
| 13 | |
| 14 ## 0.11.10 | |
| 15 * Fix some style glitches with naming. The only publicly visible one | |
| 16 is DateFormat.parseUtc, but the parseUTC variant is still retained | |
| 17 for backward-compatibility. | |
| 18 | |
| 19 * Provide a better error message when generating translated versions | |
| 20 and the name of a variable substitution in the message doesn't | |
| 21 match the name in the translation. | |
| 22 | |
| 23 ## 0.11.9 | |
| 24 * Fix bug with per-mille parsing (only divided by 100, not 1000) | |
| 25 | |
| 26 * Support percent and per-mille formats with both positive and negative | |
| 27 variations. Previously would throw an exception for too many modifiers. | |
| 28 | |
| 29 ## 0.11.8 | |
| 30 | |
| 31 * Support NumberFormats with two different grouping sizes, e.g. | |
| 32 1,23,45,67,890 | |
| 33 | |
| 34 ## 0.11.7 | |
| 35 * Moved petitparser into a regular dependency so pub run works. | |
| 36 | |
| 37 * Improved code layout of the package. | |
| 38 | |
| 39 * Added a DateFormat.parseStrict method that rejects DateTimes with invalid | |
| 40 values and requires it to be the whole string. | |
| 41 | |
| 42 ## 0.11.6 | |
| 43 | |
| 44 * Catch analyzer errors and do not generate messages for that file. Previously | |
| 45 this would stop the message extraction on syntax errors and not give error | |
| 46 messages as good as the compiler would produce. Just let the compiler do it. | |
| 47 | |
| 48 ## 0.11.5 | |
| 49 | |
| 50 * Change to work with both petitparser 1.1.x and 1.2.x versions. | |
| 51 | |
| 52 ## 0.11.4 | |
| 53 | |
| 54 * Broaden the pubspec constraints to allow current analyzer versions. | |
| 55 | |
| 56 ## 0.11.3 | |
| 57 | |
| 58 * Add a --[no]-use-deferred-loading flag to generate_from_arb.dart and | |
| 59 generally make the deferred loading of message libraries optional. | |
| 60 | |
| 61 ## 0.11.2 | |
| 62 | |
| 63 * Missed canonicalization of locales in one place in message library generation
. | |
| 64 | |
| 65 * Added a simple debug script for message_extraction_test. | |
| 66 | |
| 67 ## 0.11.1 | |
| 68 | |
| 69 * Negative numbers were being parsed as positive. | |
| 70 | |
| 71 ## 0.11.0 | |
| 72 | |
| 73 * Switch the message format from a custom JSON format to | |
| 74 the ARB format ( https://code.google.com/p/arb/ ) | |
| 75 | |
| 76 ## 0.10.0 | |
| 77 | |
| 78 * Make message catalogs use deferred loading. | |
| 79 | |
| 80 * Update CLDR Data to version 25 for dates and numbers. | |
| 81 | |
| 82 * Update analyzer dependency to allow later versions. | |
| 83 | |
| 84 * Adds workaround for flakiness in DateTime creation, removes debugging code | |
| 85 associated with that. | |
| 86 | |
| 87 ## 0.9.9 | |
| 88 | |
| 89 * Add NumberFormat.parse() | |
| 90 | |
| 91 * Allow NumberFormat constructor to take an optional currency name/symbol, so | |
| 92 you can format for a particular locale without it dictating the currency, and | |
| 93 also supply the currency symbols which we don't have yet. | |
| 94 | |
| 95 * Canonicalize locales more consistently, avoiding a number of problems if you | |
| 96 use a non-canonical form. | |
| 97 | |
| 98 * For locales whose length is longer than 6 change "-" to "_" in position 3 when | |
| 99 canonicalizing. Previously anything of length > 6 was left completely alone. | |
| 100 | |
| 101 ## 0.9.8 | |
| 102 | |
| 103 * Add a "meaning" optional parameter for Intl.message to distinguish between | |
| 104 two messages with identical text. | |
| 105 | |
| 106 * Handle two different messages with the same text. | |
| 107 | |
| 108 * Allow complex string literals in arguments (e.g. multi-line) | |
| OLD | NEW |