OLD | NEW |
| 1 ## 0.15.1 |
| 2 * Use the platform.locale API to get the OS platform. |
| 3 * Convert to use package:test |
| 4 |
| 5 ## 0.15.0 |
| 6 * Fix compactCurrency to correctly use passed-in symbol. |
| 7 * A tweak to the way we retry on DateTime.asDate to compensate for a VM bug. |
| 8 * Update CLDR version to 30. |
| 9 * Cache the last result of isRtlLanguage |
| 10 * Some strong mode fixes |
| 11 * Allow passing enums to a select. |
| 12 * Remove the cacheBlocker parameter from HttpRequestDataReader |
| 13 * Optimize padding numbers when printing |
| 14 * Remove the out of date example directory |
| 15 * Add a facility to check if messages are being called before locale |
| 16 initialization, which can lead to errors if the results are being cached. See |
| 17 UninitializedLocaleData.throwOnFallback. |
| 18 * Restore dependency on path which was removed when intl_translation was |
| 19 separated. |
| 20 * Improve the error message when date parsing fails validation to show what the |
| 21 parsed date was. |
| 22 |
| 23 ## 0.14.0 |
| 24 * MAJOR BREAKING CHANGE! Remove message extraction and code generation into a |
| 25 separate intl_translation package. This means packages with a runtime |
| 26 dependency on intl don't also depend on analyzer, barback, and so forth. |
| 27 |
| 28 ## 0.13.1 |
| 29 * Update CLDR data to version 29. |
| 30 * Add a toBeginningOfSentenceCase() method which converts the first character |
| 31 of a string to uppercase. It may become more clever about that for locales |
| 32 with different conventions over time. |
| 33 * Fixed the use of currency-specific decimal places, which weren't being used |
| 34 if the currency was the default for the locale. |
| 35 * Add support for currency in compact number formats. |
| 36 * Added support for "Q" and "QQ" numeric quarter formatting, which fixes "QQQ" |
| 37 and "QQQQ" in the zh_CN locale. |
| 38 * As part of deprecating transformer usage, allow `rewrite_intl_messages.dart` |
| 39 to add names and arguments to messages with parameters. Make the transformer |
| 40 not generate names for zero-argument methods and just use the name+meaning |
| 41 instead. |
| 42 * Move barback from dev dependencies into public (see |
| 43 https://github.com/dart-lang/intl/issues/120 ) |
| 44 |
| 45 ## 0.13.0 |
| 46 * Add support for compact number formats ("1.2K") and for significant digits in |
| 47 number formats. |
| 48 * Add a NumberFormat.simpleCurrency constructor which will attempt to |
| 49 automatically determine the currency symbol. Very simple implementation but |
| 50 can be expanded to be per-locale. |
| 51 * Fix a problem where, in a message, a literal dollar sign followed by a number |
| 52 was seen as a valid identifier, resulting in invalid code being generated. |
| 53 * Add support for locale-specific plural rules. Note that this changes the |
| 54 interpretation of plurals and so is potentially breaking. For example, in |
| 55 English three will now be treated as "other" rather than as "few". |
| 56 * Add `onMessage` top level variable, which defaults to `print`. Warning and |
| 57 error messages will all now go through this function instead of calling |
| 58 `print` directly. |
| 59 * Move top-level variables in `extract_messages.dart` into a MessageExtraction |
| 60 object. This is a breaking change for code that imports |
| 61 `extract_messages.dart`, which probably only means message format |
| 62 readers/extractors like `extract_to_arb.dart` and `generate_from_arb.dart`. |
| 63 * Cache the message lookup for a locale, reducing unnecessary locale validation |
| 64 and lookup. |
| 65 |
| 66 ## 0.12.7+1 |
| 67 * Change the signature for args and examples in Intl.plural/gender/select to |
| 68 match Intl.message, allowing dynamic values. |
| 69 * Parameters to initializeDateFormatting are optional. |
| 70 * Extend DateFormat.parseLoose() to allow arbitrary amounts of whitespace |
| 71 before literal fields (as well as after), and treat all whitespace around |
| 72 literal fields as optional even if the literal field's pattern has leading |
| 73 or trailing whitespace. |
| 74 * Fix DateFormat.parseLoose() returning unexpected values in certain cases |
| 75 where a pattern was missing from the input string. |
| 76 * Fix DateFormat.parseLoose() ignoring the value of numeric standalone months |
| 77 ('LL' pattern). |
| 78 * Remove relative imports on `generate_locale_data_files.dart` |
| 79 |
| 80 ## 0.12.7 |
| 81 * Update SDK dependency to 1.12.0, to reflect use of null-aware operators. |
| 82 * Add a transformer to automatically add the "name" and "args" parameters to |
| 83 Intl.message and related calls. This removes a lot of tedious repetition. |
| 84 * Fix typo in README. |
| 85 * Make Intl strong-mode compatible. |
| 86 |
| 87 ## 0.12.6 |
| 88 * Update links in README.md to point to current dartdocs. |
| 89 * Update locale data to CLDR 28. |
| 90 * Remove library directive from generated libraries. Conflicted with linter. |
| 91 * Support @@locale in ARB files as well as the older _locale |
| 92 * Print a message when generating from ARB files if we guess the locale |
| 93 from the file name when there's no explicit @@locale or _locale in the file. |
| 94 * Switch all the source to use line comments. |
| 95 * Slight improvement to the error message when parsing dates has an invalid |
| 96 value. |
| 97 * Introduce new NumberFormat.currency constructor which can explicitly take a |
| 98 separate currency name and symbol, as well as the number of decimal digits. |
| 99 * Provide a default number of decimal digits per-currency. |
| 100 * Deprecate NumberFormat.currencyPattern. |
| 101 |
| 102 ## 0.12.5 |
| 103 * Parse Eras in DateFormat. |
| 104 * Update pubspec.yaml to allow newer version of fixnum and analyzer. |
| 105 * Improvements to the compiled size of generated messages code with dart2js. |
| 106 * Allow adjacent literal strings to be used for message names/descriptions. |
| 107 * Provide a better error message for some cases of bad parameters |
| 108 to plural/gender/select messages. |
| 109 * Introduce a simple MicroMoney class that can represent currency values |
| 110 scaled by a constant factor. |
| 111 |
1 ## 0.12.4+3 | 112 ## 0.12.4+3 |
2 * update analyzer to '<0.28.0' and fixnum to '<0.11.0' | 113 * update analyzer to '<0.28.0' and fixnum to '<0.11.0' |
3 | 114 |
4 ## 0.12.4+2 | 115 ## 0.12.4+2 |
5 * update analyzer to '<0.27.0' | 116 * update analyzer to '<0.27.0' |
6 | 117 |
7 ## 0.12.4+1 | 118 ## 0.12.4+1 |
8 * Allow the name of an Intl.message to be "ClassName_methodName", as | 119 * Allow the name of an Intl.message to be "ClassName_methodName", as |
9 well as "functionName". This makes it easier to disambiguate | 120 well as "functionName". This makes it easier to disambiguate |
10 messages with the same name but in different classes. | 121 messages with the same name but in different classes. |
(...skipping 142 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
153 canonicalizing. Previously anything of length > 6 was left completely alone. | 264 canonicalizing. Previously anything of length > 6 was left completely alone. |
154 | 265 |
155 ## 0.9.8 | 266 ## 0.9.8 |
156 | 267 |
157 * Add a "meaning" optional parameter for Intl.message to distinguish between | 268 * Add a "meaning" optional parameter for Intl.message to distinguish between |
158 two messages with identical text. | 269 two messages with identical text. |
159 | 270 |
160 * Handle two different messages with the same text. | 271 * Handle two different messages with the same text. |
161 | 272 |
162 * Allow complex string literals in arguments (e.g. multi-line) | 273 * Allow complex string literals in arguments (e.g. multi-line) |
OLD | NEW |