- Include ES modules in published NPM builds
- Drop support for Node 13.x (unstable)
- Add support for Flow 0.153.x
- Include an error code with every FlowFixMe suppression (Flow 0.132.x compatibility)
- Republication of 1.4.1 as 1.4.2
- Fix compatibility with standardized
$FlowFixMe
syntax format (since Flow 0.127.0)
-
Fix bug where self-referential structures would cause infinite recursion when being annotated
-
Breaking changes
- Removed from public API:
annotateField()
annotatePairs()
- Remove internal
hasAnnotation
field from Annotation types
- Removed from public API:
- Fix bug when Flow setting
exact_by_default
is enabled
- Fix bug introduced in v1.2.8 for TypeScript users trying to import from submodules, like 'debrief/ast'.
- Improved TypeScript setup
- Added TypeScript linter (
dtslint
) - Reorganization of TypeScript declarations
- Added TypeScript linter (
- Fix serialization of values that are or include functions. Thanks, @ebuckthal!
- Fix minor implementation detail that caused Flow issues since 0.101.1
- New build system
- Cleaner package output
- Minor: make Flow lint overrides less intrusive
- Fix bug where invalid dates were not accurately serialized (e.g. new Date('not a date'))
- Don't expose private helper function (fixes a TypeScript bug)
- Drop dependency on babel-runtime to reduce bundle size
- Add TypeScript support
- Drop support for Node 7
- Make debrief.js fully Flow Strict
- Bump to 1.0.0 to indicate stability
- Update dependencies
- Behave better in projects that have Flow's
experimental.const_params
setting turned on
- Fix bug where annotateField() did not work on missing keys
- Declare library to be side effect free (to help optimize webpack v4 builds)
Breaking changes:
- Dropped support for annotating object keys
New features:
- Reworked the internal Annotation data structures to be more robust and type-safe
- Add new serializers optimized for web/JSON output.
- For full inline annotated objects, use
serialize()
- For less verbose output (a list of errors and their locations, not the
entire data structure echoed back), use
summarize()
- For full inline annotated objects, use
- 💯 100% code coverage achieved!
Mark first version stable and production ready.
Barely anything yet.