List of changes for each released npm package version.
- fbt versions
- babel-plugin-fbt versions
- babel-plugin-fbt-runtime versions
- fb-tiger-hash versions
- fb-babel-plugin-utils versions
- react-native-fbt versions
- fbt-rn-android-native versions [Deprecated]
- [chore] Adding @noflow annotations
- [chore] Upgrade to Flow v0.127.0
- [fix] Relax required version patterns of npm dependencies
- Sync
babelTypeShims.js
to GitHub. It was previously missing due to internal config issues. - Upgrade to Flow v0.123.0
- [doc] Add Fbt Common Strings documentation
- Upgrade to Flow v0.120.1
- refactor: Remove String.prototype.* methods from FbtResult flow-types
- refactor: Breakup
moduleMap
from babelPresets - Add
yarn clean-test
script to clean, rebuild and test this whole project - Run Flow checks and all Jest tests in Travis by default
- Upgrade to Flow v0.115.0
- Remove the String.prototype methods (that aren't used internally) from libdefs
- Upgrade to Flow v0.113.0
- Make demo-app rely on the local versions of our published npm modules.
That'll avoid us from having to update
package.json
for every package update. - Fix demo-app breakage
- Require node v10.4.0+ because for fb-tiger-hash (we need BigInt!)
- [Experimental] Add support for Flow type checks.
- Run
yarn flow:check
to check them.- NOTE: our Flow types are still in their infancy, so lots of errors are expected.
- Run
yarn flow:watch
to recheck types upon changing JS files.
- Run
- Prepare directory structure for Lerna
- Enable testing packages from top-level in GitHub
Unreleased changes that have landed in master. Click to see more.
-
0.16.0:
- [major] Merge two
GenderConst
entries that had the same value to avoid confusion.
I.e.MIXED_SINGULAR
andMIXED_PLURAL
will both be referred asMIXED_UNKNOWN
and it'll keep the same value (MIXED_UNKNOWN=5
). - [feat] Add Babel
presets
as a CLI option forcollectFBT.js
- [feat] Add ES6 imports/exports support for shared enums. See related doc.
- [major] Merge two
-
0.15.0:
- [feat] Add ability to provide your own ViewerContext dynamically. See related doc.
- [fix] Render optional catch binding syntax to ES5 to fix IE11 bug
- [feat] Convert
fbt.isFbtInstance()
to a predicate function for Flow - [fix] Avoid generating unnecessary empty strings in fbt result contents
- [chore] Log type of leaf reached during table access failure
- [fix] Fix FlowFixMes in FbtTable.access
- [feat] Improve feature detection of
Object.defineProperty()
for IE11
-
0.14.0:
- [fix] Add NumberFormatConfig flow definition
- [fix] Use
invariant
module in fbt runtime and list it as dependency - [refactor] Introduce
FbtTable
and related types around payload access
-
0.13.0:
- [fix] FbtInit.getTranslatedInput was setting the wrong default.
-
0.12.1:
- [fix] Patch fix for FbtHooks.getTranslatedInput (from 0.13.0)
-
0.12.0:
- [feat] FbtHooks.getTranslatedInput for ReactNative translation retrieval
-
0.11.0:
- [feat] Expose FbtResult in fbt
- [feat] Enable overriding result returned from fbt via
getFbtResult
inFbtHooks
- [feat] Provide onStringMethodUsed hook for IFbtErrorListener
- [feat] Remove Banzai & FbtLogger, provide hooks in their place.
- [refactor] Abstract away string serialization error handling.
- [refactor] Move FbtContentItem and $NestedFbtContentItems to libdefs
- [refactor] Flow type strict substituteTokens.js
- Fix version in header comments
-
0.10.6:
- More accurate peer dependencies
-
0.10.5:
- Add README.md
-
0.10.4:
- Improve repository link in package.json
-
0.10.3:
-
0.10.2:
- 04df822 Updated package version references
-
0.10.0:
- 9acb1cd Make fbt translation payload getter customizable
Unreleased changes that have landed in master. Click to see more.
- [chore] Adding @noflow annotations
- [fix] Fix issue where the value of the
human
option offbt:pronoun
was processed incorrectly. Before,human=true
used to behave as ifhuman=false
, and vice versa. Also, whenfbt:pronoun
is used without an explicithuman=false
option, we'll now generate theNOT_A_PERSON
gender-case. - [fix] Fix incorrect object detection algorithm of
objMap()
inFbtUtil.js
- [chore] Remove dead code
-
0.16.0:
- [major] Merge two
GenderConst
entries that had the same value to avoid confusion.
I.e.MIXED_SINGULAR
andMIXED_PLURAL
will both be referred asMIXED_UNKNOWN
and it'll keep the same value (MIXED_UNKNOWN=5
). - [refactor] Remove dependency on
fbjs
andfbjs-scripts
modules. Update tojest-docblock@^26.0.0
. - [feat] Added tests to ensure that
IntlVariations
gender and number constants are in sync with the client-side code equivalent
- [major] Merge two
-
0.15.1:
- [fix]
fbt:plural
branch pruning whenvalue
option present. (Introduced in v0.13.0)
- [fix]
-
0.15.0:
- [fix] Relax required version patterns of npm dependencies
- [fix] Add missing npm dependencies for
bin/manifest.js
- [feat] Add ES6 imports/exports support for shared enums. See related doc.
- [fix] Avoid throwing errors during string extraction when source code folder has no fbt string inside. (manifest & collect-fbts)
-
0.14.2:
- [fix] Bug in collectFBT.js when using
BOTH
packagers with--terse
- [fix] Bug in collectFBT.js when using
-
0.14.1:
- [fix] Point to correct fb-babel-plugin-utils package version
-
0.14.0:
- [fix] Fix issues due to missing dependency to the
nullthrows
npm package (only visible when using babel-plugin-fbt as a standalone module) - [feat] Add ability to provide strings as an array instead of a string concatenation pattern for the Fbt functional API.
- [fix] Fixed Flow checks due to missing @babel/types dependency
- [fix] Fix issues due to missing dependency to the
-
0.13.0:
- [feat] Loosen Babel dependencies and upgrade yargs
- [feat] When throwing an error in the Babel transform, show source code of the related node.
- [fix] Fix incorrect test input in
fbtFunctional-test.js
- [refactor] Split up the monolithic fbt transform logic into separate modules.
-
0.12.1:
- Require passed plugins in collectFBT before passing to Babel
-
0.12.0:
- Support common strings as plugin option
-
0.11.1:
- Remove #!shebang from bin scripts and point to wrappers in
node_modules/.bin
shortcut paths
- Remove #!shebang from bin scripts and point to wrappers in
-
0.11.0:
- [feature] Enable both phrase and text packaging in collectFbt
- [feature] Create new
node_modules/.bin
shortcuts for our scripts. You can now execute them like this:yarn fbt-collect
yarn fbt-manifest
yarn fbt-translate
-
0.10.4:
- Add description in NPM package
-
0.10.3:
- Sync fbjs, fbjs-scripts, & glob deps with other FB packages
-
0.10.2:
- Add READMEs and improve repository link in package.json
- Enable paths for enum module references
- Enable multiple src folders for manifest
- Fix manifest bug with directories ending in
.js
-
0.10.1:
- [bug] Fix IntlNumberType.get(...) to work with short locales #85
- Allow jsx files to be fbt-containing candidates.
-
0.10.0:
-
0.9.16:
- 7d46281
output-dir
arg added to the translate script - output files split by locale.
- 7d46281
-
0.9.14:
- c11e9fd Enable custom Babel plugins for FBT collection
-
0.9.12:
- [fix] Relax required version patterns of npm dependencies
-
0.9.11:
- Update peer dependency on
babel-plugin-fbt
and devDependency onfb-babel-plugin-utils
- Update peer dependency on
-
0.9.10:
- Update peer dependency on
babel-plugin-fbt
- Update peer dependency on
-
0.9.9:
- Add description in NPM package
-
0.9.8:
- Fix fbjs dependency semver
-
0.9.7:
- package.json: improve repository link and set more accurate dependency versions
-
0.9.6:
- Add READMEs and improve repository link in package.json
-
0.9.5:
- 435ec19 Ignoring tests and mocks from NPM modules
-
0.9.4:
- 250207c Update peer dependencies for babel-plugin-fbt.
Unreleased changes that have landed in master. Click to see more.
- [refactor] Add flow types
-
0.1.6:
- Strip yarn files in .npmignore
-
0.1.5:
- Add Typescript declarations and move source files to their own folder
-
0.1.4:
- Add description in NPM package
-
0.1.3:
- package.json: improve repository link and set more accurate dependency versions
-
0.1.0:
- First commit. A native JavaScript implementation of the Tiger hash Algorithm.
Unreleased changes that have landed in master. Click to see more.
- [chore] Adding @noflow annotations
-
0.11.0:
- [feat] Add ability to test against Jest code snapshots
- [fix] Add missing
json-diff
npm dependency
-
0.10.1:
- [fix] Relax required version patterns of npm dependencies
-
0.10.0:
- Feat: expose utility function
generateFormattedCodeFromAST()
to convert aBabelNode
to a source code string - Minor: clarify error messages when unit tests fail due to Babel AST node differences.
- Minor: normalize source code before using it in unit tests' code comparisons
- Feat: expose utility function
-
0.9.1:
- Add READMEs and improve repository link in package.json
-
0.9.0:
- Initial commit
- 0.0.1:
- New React Native package that enables the FBT library for both iOS and Android
-
0.0.2:
- Updated Readme.md file with a link to a demo app showing how to use the module
-
0.0.1:
- Initial commit