4.0.0 (2021-04-15)
- Revert to
symbol
fromunique symbol
, the latter caused compatibility issues and provided no real benefit. (72ce7dc)
- Following the advice of the TypeScript team, the type for
Symbol.observable
is reverted back tosymbol
fromunique symbol
. This is to improve compatibility with other libraries using this module. Sincerely sorry for the trashing. Getting the types right for modules is hard. If this continues to cause issues for you, please file an issue with the TypeScript project.
3.0.0 (2020-11-02)
- TypeScript:
Symbol.observable
is nowunique symbol
. (2ef1476), closes #41 - TypeScript:
Symbol[Symbol.observable]
is no longer incorrectly defined (fe4301f)
- TypeScript: Older versions of
@types/node
will clash with this, because@types/node
incorrectly definedSymbol.observable
hassymbol
and notunique symbol
. Update to@types/[email protected]
or higher.
2.0.3 (2020-09-30)
- package.json ponyfill.d.ts added to package (b25f5bf)
2.0.2 (2020-09-29)
- TypeScript ponyfill types added (10d2ec8)
2.0.1 (2020-09-04)
- package.json: es/ponyfill.js no longer typoed (ad2c079)
- Resolve issues in environments with frozen Symbol (2323882)
2.0.0 (2020-09-01)
- Resolve issues in environments with frozen Symbol (2323882)
BREAKING CHANGE: This moves to using Symbol.for
to create the symbol instance. It's possible that some runtimes that support Symbol
do not support Symbol.for
. Therefor, I'm marking this as a breaking change. If you find that you hit this issue, please report it. You can work around it by polyfilling Symbol.for
.
1.2.0 (2018-01-26)
- bundlers: Add module and main entries in package.json (#33) (97673e1)
1.1.0 (2017-11-28)
- browser: Fully qualified import for native esm browser support (#31) (8ae5f8e)
- index.d.ts: add type info to Symbol.observable (e4be157)
1.0.4 (2016-10-13)
1.0.3 (2016-10-11)
1.0.2 (2016-08-09)
- ECMAScript 3: ensure output is ES3 compatible (3f37af3)
1.0.1 (2016-06-15)
- bundlers: fix issue that caused some bundlers not to be able to locate
/lib
(#19) (dd8fdfe), closes [(#19](https://github.com/(/issues/19) #17
1.0.0 (2016-06-13)
- index.js: use typeof to check for global or window definitions (#8) (5f4c2c6)
- types: use default syntax for typedef (240e3a6)
- TypeScript: exported ponyfill now works with TypeScript (c0b894e)
- es2015: add es2015 implementation to support rollup (#10) (7a41de9)
- TypeScript: CJS users will now have to
require('symbol-observable').default
rather than justrequire('symbol-observable')
this was done to better support ES6 module bundlers.
0.2.4 (2016-04-25)
- IE8 support: Ensure ES3 support so IE8 is happy (9aaa7c3)
- Symbol.observable: should NOT equal
Symbol.for('observable')
. (3b0fdee), closes #7
0.2.3 (2016-04-24)
- IE8/ECMAScript 3: Make sure legacy browsers don't choke on a property named
for
. (9aaa7c)
0.2.2 (2016-04-19)
- TypeScript: add TypeScript typings file (befd7a)
0.2.1 (2016-04-19)
- publish: publish all required files (5f26c3a)