Skip to content

Commit

Permalink
chore(release): release latest changelog
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] committed May 30, 2024
1 parent cb095ad commit 3e32380
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 18 deletions.
17 changes: 0 additions & 17 deletions .changeset/flat-mirrors-film.md

This file was deleted.

18 changes: 18 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,23 @@
# @freshgum/typedi

## 0.7.3

### Patch Changes

- 02fe3cc: The code for virtual tokens (such as `HostContainer()`) has been moved into individual tokens,
as opposed to hosting logic for these tokens in `ContainerInstance`.

This means that we no longer have to check for individual tokens in the container's
`.get` code-path, [which has historically been the case.](https://github.com/freshgum-bubbles/typedi/blob/cd4b8437ac14882a0ed4d1964d76e29b32bd1b3e/src/container-instance.class.mts#L331)

Instead, logic for these tokens is now moved into special tokens called Executable Tokens.

This yields numerous advantages, one of which being that, should a certain special token go
unused, its code can safely be removed from a bundle via dead-code elimination.

While **this is mostly an internal change**, the concept of Executable Tokens works quite well,
and so I'm considering making it part of the public API surface + documentation after further testing.

## 0.7.2

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@freshgum/typedi",
"version": "0.7.2",
"version": "0.7.3",
"description": "Elegant Dependency Injection in JavaScript and TypeScript.",
"homepage": "https://typedi.js.org",
"main": "./build/esm5/entry/index.mjs",
Expand Down

0 comments on commit 3e32380

Please sign in to comment.