Skip to content

Releases: Ekman/empty-php

Microbundle and TypeScript

Choose a tag to compare

@Ekman Ekman released this 18 Jun 16:46
  • 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

Choose a tag to compare

@Ekman Ekman released this 12 Apr 15:56

Bugfix, make typings compatible with new v2 changes.

Change export

Choose a tag to compare

@Ekman Ekman released this 12 Apr 15:54

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

Choose a tag to compare

@Ekman Ekman released this 18 Dec 16:15

Generic typing should only be applied to objects

Generic typing

Choose a tag to compare

@Ekman Ekman released this 18 Dec 16:14

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

Evolve typings

Choose a tag to compare

@Ekman Ekman released this 18 Dec 16:13

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

Empty type

Choose a tag to compare

@Ekman Ekman released this 16 Dec 17:39
5ec1f82

Add a TypeScript type denoting an Empty value

Functions

Choose a tag to compare

@Ekman Ekman released this 16 May 18:18
b12cacb

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

Errors

Choose a tag to compare

@Ekman Ekman released this 16 May 18:18

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

Initial release

Choose a tag to compare

@Ekman Ekman released this 16 May 18:17