OLD | NEW |
(Empty) | |
| 1 ## 0.12.4+2 |
| 2 * update analyzer to '<0.27.0' |
| 3 |
| 4 ## 0.12.4+1 |
| 5 * Allow the name of an Intl.message to be "ClassName_methodName", as |
| 6 well as "functionName". This makes it easier to disambiguate |
| 7 messages with the same name but in different classes. |
| 8 |
| 9 ## 0.12.4 |
| 10 * Handle spaces in ARB files where we didn't handle them before, and |
| 11 where Google translation toolkit is now putting them. |
| 12 |
| 13 ## 0.12.3 |
| 14 |
| 15 * Use latest version of 'analyzer' and 'args' packages. |
| 16 |
| 17 ## 0.12.2+1 |
| 18 * Adds a special locale name "fallback" in verifiedLocale. So if a translation |
| 19 is provided for that locale and has been initialized, anything that doesn't |
| 20 find a closer match will use that locale. This can be used instead of having |
| 21 it default to the text in the original source messages. |
| 22 |
| 23 ## 0.12.1 |
| 24 * Adds a DateFormat.parseLoose that accepts mixed case and missing |
| 25 delimiters when parsing dates. It also allows arbitrary amounts of |
| 26 whitespace anywhere that whitespace is expected. So, for example, |
| 27 in en-US locale a yMMMd format would accept "SEP 3 2014", even |
| 28 though it would generate "Sep 3, 2014". This is fairly limited, and |
| 29 its reliability in other locales is not known. |
| 30 |
| 31 ## 0.12.0+3 |
| 32 * Update pubspec dependencies to allow analyzer version 23. |
| 33 |
| 34 ## 0.12.0+2 |
| 35 * No user impacting changes. Tighten up a couple method signatures to specify |
| 36 that int is required. |
| 37 |
| 38 ## 0.12.0+1 |
| 39 * Fixes bug with printing a percent or permille format with no fraction |
| 40 part and a number with no integer part. For example, print 0.12 with a |
| 41 format pattern of "#%". The test for whether |
| 42 there was a printable integer part tested the basic number, so it ignored the |
| 43 integer digits. This was introduced in 0.11.2 when we stopped multiplying |
| 44 the input number in the percent/permille case. |
| 45 |
| 46 ## 0.12.0 |
| 47 * Make withLocale and defaultLocale use a zone, so async operations |
| 48 inside withLocale also get the correct locale. Bumping the version |
| 49 as this might be considered breaking, or at least |
| 50 behavior-changing. |
| 51 |
| 52 ## 0.11.12 |
| 53 * Number formatting now accepts "int-like" inputs that don't have to |
| 54 conform to the num interface. In particular, you can now pass an Int64 |
| 55 from the fixnum package and format it. In addition, this no longer |
| 56 multiplies the result, so it won't lose precision on a few additional |
| 57 cases in JS. |
| 58 |
| 59 ## 0.11.11 |
| 60 * Add a -no-embedded-plurals flag to reject plurals and genders that |
| 61 have either leading or trailing text around them. This follows the |
| 62 ICU recommendation that a plural or gender should contain the |
| 63 entire phrase/sentence, not just part of it. |
| 64 |
| 65 ## 0.11.10 |
| 66 * Fix some style glitches with naming. The only publicly visible one |
| 67 is DateFormat.parseUtc, but the parseUTC variant is still retained |
| 68 for backward-compatibility. |
| 69 |
| 70 * Provide a better error message when generating translated versions |
| 71 and the name of a variable substitution in the message doesn't |
| 72 match the name in the translation. |
| 73 |
| 74 ## 0.11.9 |
| 75 * Fix bug with per-mille parsing (only divided by 100, not 1000) |
| 76 |
| 77 * Support percent and per-mille formats with both positive and negative |
| 78 variations. Previously would throw an exception for too many modifiers. |
| 79 |
| 80 ## 0.11.8 |
| 81 |
| 82 * Support NumberFormats with two different grouping sizes, e.g. |
| 83 1,23,45,67,890 |
| 84 |
| 85 ## 0.11.7 |
| 86 * Moved petitparser into a regular dependency so pub run works. |
| 87 |
| 88 * Improved code layout of the package. |
| 89 |
| 90 * Added a DateFormat.parseStrict method that rejects DateTimes with invalid |
| 91 values and requires it to be the whole string. |
| 92 |
| 93 ## 0.11.6 |
| 94 |
| 95 * Catch analyzer errors and do not generate messages for that file. Previously |
| 96 this would stop the message extraction on syntax errors and not give error |
| 97 messages as good as the compiler would produce. Just let the compiler do it. |
| 98 |
| 99 ## 0.11.5 |
| 100 |
| 101 * Change to work with both petitparser 1.1.x and 1.2.x versions. |
| 102 |
| 103 ## 0.11.4 |
| 104 |
| 105 * Broaden the pubspec constraints to allow current analyzer versions. |
| 106 |
| 107 ## 0.11.3 |
| 108 |
| 109 * Add a --[no]-use-deferred-loading flag to generate_from_arb.dart and |
| 110 generally make the deferred loading of message libraries optional. |
| 111 |
| 112 ## 0.11.2 |
| 113 |
| 114 * Missed canonicalization of locales in one place in message library generation
. |
| 115 |
| 116 * Added a simple debug script for message_extraction_test. |
| 117 |
| 118 ## 0.11.1 |
| 119 |
| 120 * Negative numbers were being parsed as positive. |
| 121 |
| 122 ## 0.11.0 |
| 123 |
| 124 * Switch the message format from a custom JSON format to |
| 125 the ARB format ( https://code.google.com/p/arb/ ) |
| 126 |
| 127 ## 0.10.0 |
| 128 |
| 129 * Make message catalogs use deferred loading. |
| 130 |
| 131 * Update CLDR Data to version 25 for dates and numbers. |
| 132 |
| 133 * Update analyzer dependency to allow later versions. |
| 134 |
| 135 * Adds workaround for flakiness in DateTime creation, removes debugging code |
| 136 associated with that. |
| 137 |
| 138 ## 0.9.9 |
| 139 |
| 140 * Add NumberFormat.parse() |
| 141 |
| 142 * Allow NumberFormat constructor to take an optional currency name/symbol, so |
| 143 you can format for a particular locale without it dictating the currency, and |
| 144 also supply the currency symbols which we don't have yet. |
| 145 |
| 146 * Canonicalize locales more consistently, avoiding a number of problems if you |
| 147 use a non-canonical form. |
| 148 |
| 149 * For locales whose length is longer than 6 change "-" to "_" in position 3 when |
| 150 canonicalizing. Previously anything of length > 6 was left completely alone. |
| 151 |
| 152 ## 0.9.8 |
| 153 |
| 154 * Add a "meaning" optional parameter for Intl.message to distinguish between |
| 155 two messages with identical text. |
| 156 |
| 157 * Handle two different messages with the same text. |
| 158 |
| 159 * Allow complex string literals in arguments (e.g. multi-line) |
OLD | NEW |