Releases: Ekman/empty-php
Releases · Ekman/empty-php
Microbundle and TypeScript
- Bundle using microbundle
- Migrate project to TypeScript
Migrate from v2
Technically, there should be no breaking changes. However, since I've switched bundler and migrated the project to TypeScript, I'd rather be safe than sorry. If there's any breaking changes, please reach out.
2.0 typings
Bugfix, make typings compatible with new v2 changes.
Change export
Breaking change: Do not export module using default. It is considered legacy.
Rewrite this:
import empty from "empty-php";To:
import {empty} from "empty-php";Bugfix typings
Generic typing should only be applied to objects
Generic typing
Do not treat arbitrary objects as objects, but rather as a generic
Evolve typings
Evolve TypeScript typing by adding a function declaration for each data type.
Empty type
Add a TypeScript type denoting an Empty value
Functions
Errors
Initial release
- Clone the vmspace/empty-js library and make adjustments
- Add rollup build system
- Add babel transpiling