Skip to content

Releases: Ekman/empty-php

Microbundle and TypeScript

18 Jun 16:46

Choose a tag to compare

  • 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

12 Apr 15:56

Choose a tag to compare

Bugfix, make typings compatible with new v2 changes.

Change export

12 Apr 15:54

Choose a tag to compare

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

18 Dec 16:15

Choose a tag to compare

Generic typing should only be applied to objects

Generic typing

18 Dec 16:14

Choose a tag to compare

Do not treat arbitrary objects as objects, but rather as a generic

Evolve typings

18 Dec 16:13

Choose a tag to compare

Evolve TypeScript typing by adding a function declaration for each data type.

Empty type

16 Dec 17:39
5ec1f82

Choose a tag to compare

Add a TypeScript type denoting an Empty value

Functions

16 May 18:18
b12cacb

Choose a tag to compare

Do not treat functions differently. It's not what the PHP empty function does.

Errors

16 May 18:18

Choose a tag to compare

Do not treat errors differently. It's not what the PHP empty function does.

Initial release

16 May 18:17

Choose a tag to compare