Skip to content

Commit

Permalink
chore(main): release 0.8.0 (#29)
Browse files Browse the repository at this point in the history
  • Loading branch information
dirkluijk committed Oct 4, 2024
1 parent 69f0797 commit 8d2b3d6
Show file tree
Hide file tree
Showing 7 changed files with 41 additions and 34 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,5 +38,5 @@ jobs:
env:
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}
if: ${{ steps.release.outputs.release_created }}
- run: npx jsr publish
- run: npx jsr publish --allow-dirty
if: ${{ steps.release.outputs.release_created }}
49 changes: 28 additions & 21 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,84 +1,91 @@
# Changelog

## [0.7.0](https://github.com/dirkluijk/needle-di/compare/v0.6.1...v0.7.0) (2024-09-30)
## [0.8.0](https://github.com/needle-di/core/compare/v0.7.0...v0.8.0) (2024-10-04)


### Miscellaneous Chores

* migrate package to @needle-di/core + JavaScript Registry (JSR) adoption ([#28](https://github.com/needle-di/core/issues/28)) ([69f0797](https://github.com/needle-di/core/commit/69f0797d41cc330732a6f40dee0a82d58d137f4d))

## [0.7.0](https://github.com/needle-ci/core/compare/v0.6.1...v0.7.0) (2024-09-30)


### Features

* auto-register parent classes for manual bindings as well ([#26](https://github.com/dirkluijk/needle-di/issues/26)) ([d3d909f](https://github.com/dirkluijk/needle-di/commit/d3d909fc603c74d4c81968d64545091b6bd7e437))
* auto-register parent classes for manual bindings as well ([#26](https://github.com/needle-ci/core/issues/26)) ([d3d909f](https://github.com/needle-ci/core/commit/d3d909fc603c74d4c81968d64545091b6bd7e437))

## [0.6.1](https://github.com/dirkluijk/needle-di/compare/v0.6.0...v0.6.1) (2024-09-29)
## [0.6.1](https://github.com/needle-ci/core/compare/v0.6.0...v0.6.1) (2024-09-29)


### Bug Fixes

* fix incorrect type-inference on bindAll() method ([#22](https://github.com/dirkluijk/needle-di/issues/22)) ([7a2e3bd](https://github.com/dirkluijk/needle-di/commit/7a2e3bdf2b22d194cefb0dcd3d4b2ddb9589516b))
* fix incorrect type-inference on bindAll() method ([#22](https://github.com/needle-ci/core/issues/22)) ([7a2e3bd](https://github.com/needle-ci/core/commit/7a2e3bdf2b22d194cefb0dcd3d4b2ddb9589516b))


### Documentation

* improved docs and added JSDocs ([#24](https://github.com/dirkluijk/needle-di/issues/24)) ([7084676](https://github.com/dirkluijk/needle-di/commit/708467639a60603b63cb7405ecaeaadaf2979562))
* improved docs and added JSDocs ([#24](https://github.com/needle-ci/core/issues/24)) ([7084676](https://github.com/needle-ci/core/commit/708467639a60603b63cb7405ecaeaadaf2979562))

## [0.6.0](https://github.com/dirkluijk/needle-di/compare/v0.5.0...v0.6.0) (2024-09-28)
## [0.6.0](https://github.com/needle-ci/core/compare/v0.5.0...v0.6.0) (2024-09-28)


### Features

* allow synchronous constructor injection of async providers ([#20](https://github.com/dirkluijk/needle-di/issues/20)) ([6cf3ec3](https://github.com/dirkluijk/needle-di/commit/6cf3ec3eabd88f541d6714b56ca0b70ab5e779a2))
* allow synchronous constructor injection of async providers ([#20](https://github.com/needle-ci/core/issues/20)) ([6cf3ec3](https://github.com/needle-ci/core/commit/6cf3ec3eabd88f541d6714b56ca0b70ab5e779a2))

## [0.5.0](https://github.com/dirkluijk/needle-di/compare/v0.4.0...v0.5.0) (2024-09-28)
## [0.5.0](https://github.com/needle-ci/core/compare/v0.4.0...v0.5.0) (2024-09-28)


### Documentation

* add Vitepress site with Github Pages ([#18](https://github.com/dirkluijk/needle-di/issues/18)) ([245efbe](https://github.com/dirkluijk/needle-di/commit/245efbe4def6a1c0647cfc6c06c299968ad0eec9))
* add Vitepress site with Github Pages ([#18](https://github.com/needle-ci/core/issues/18)) ([245efbe](https://github.com/needle-ci/core/commit/245efbe4def6a1c0647cfc6c06c299968ad0eec9))

## [0.4.0](https://github.com/dirkluijk/needle-di/compare/v0.3.0...v0.4.0) (2024-09-26)
## [0.4.0](https://github.com/needle-ci/core/compare/v0.3.0...v0.4.0) (2024-09-26)


### Miscellaneous Chores

* move NPM package to 'needle-di' ([7348441](https://github.com/dirkluijk/needle-di/commit/7348441931179971dd41ac6583876faee3cfd241))
* move NPM package to 'needle-di' ([7348441](https://github.com/needle-ci/core/commit/7348441931179971dd41ac6583876faee3cfd241))

## [0.3.0](https://github.com/dirkluijk/needle-di/compare/v0.2.0...v0.3.0) (2024-09-22)
## [0.3.0](https://github.com/needle-ci/core/compare/v0.2.0...v0.3.0) (2024-09-22)


### Features

* **providers:** flatten multi-providers when using useExisting ([#10](https://github.com/dirkluijk/needle-di/issues/10)) ([48df581](https://github.com/dirkluijk/needle-di/commit/48df581ec4901ecdd642cc7c64e527de71d1ec48))
* **providers:** flatten multi-providers when using useExisting ([#10](https://github.com/needle-ci/core/issues/10)) ([48df581](https://github.com/needle-ci/core/commit/48df581ec4901ecdd642cc7c64e527de71d1ec48))

## [0.2.0](https://github.com/dirkluijk/needle-di/compare/v0.1.0...v0.2.0) (2024-09-20)
## [0.2.0](https://github.com/needle-ci/core/compare/v0.1.0...v0.2.0) (2024-09-20)


### Features

* **providers:** add support for multi-providers ([#8](https://github.com/dirkluijk/needle-di/issues/8)) ([b563a1c](https://github.com/dirkluijk/needle-di/commit/b563a1c1fbc9d9e3adb487459d611655ad0c6a15))
* **providers:** add support for multi-providers ([#8](https://github.com/needle-ci/core/issues/8)) ([b563a1c](https://github.com/needle-ci/core/commit/b563a1c1fbc9d9e3adb487459d611655ad0c6a15))

## [0.1.0](https://github.com/dirkluijk/needle-di/compare/v0.0.3...v0.1.0) (2024-09-19)
## [0.1.0](https://github.com/needle-ci/core/compare/v0.0.3...v0.1.0) (2024-09-19)


### Features

* support async token factories ([#5](https://github.com/dirkluijk/needle-di/issues/5)) ([f39d6cd](https://github.com/dirkluijk/needle-di/commit/f39d6cd28d6fdb96664f82f084d9ed55405ece4b))
* support async token factories ([#5](https://github.com/needle-ci/core/issues/5)) ([f39d6cd](https://github.com/needle-ci/core/commit/f39d6cd28d6fdb96664f82f084d9ed55405ece4b))


### Bug Fixes

* **inheritance:** trigger auto-binding when using parent class as token ([#7](https://github.com/dirkluijk/needle-di/issues/7)) ([0edbec7](https://github.com/dirkluijk/needle-di/commit/0edbec733800c1919d0577e2bfcfa66d9bc14fb9))
* **inheritance:** trigger auto-binding when using parent class as token ([#7](https://github.com/needle-ci/core/issues/7)) ([0edbec7](https://github.com/needle-ci/core/commit/0edbec733800c1919d0577e2bfcfa66d9bc14fb9))

## 0.0.3 (2024-09-18)


### Features

* inheritance support / added more tests ([#1](https://github.com/dirkluijk/needle-di/issues/1)) ([13f626c](https://github.com/dirkluijk/needle-di/commit/13f626ce3985f447e11f371ff476f5da2907f067))
* inheritance support / added more tests ([#1](https://github.com/needle-ci/core/issues/1)) ([13f626c](https://github.com/needle-ci/core/commit/13f626ce3985f447e11f371ff476f5da2907f067))


### Bug Fixes

* export injectAsync and AsyncFactoryProvider ([02d5fb0](https://github.com/dirkluijk/needle-di/commit/02d5fb07f6dd2b8bfa157cc438f8f3d9625c1630))
* export injectAsync and AsyncFactoryProvider ([02d5fb0](https://github.com/needle-ci/core/commit/02d5fb07f6dd2b8bfa157cc438f8f3d9625c1630))


### Miscellaneous Chores

* release 0.0.3 ([1f8768f](https://github.com/dirkluijk/needle-di/commit/1f8768faceceab651175433d20c853a03c404a3d))
* release 0.0.3 ([1f8768f](https://github.com/needle-ci/core/commit/1f8768faceceab651175433d20c853a03c404a3d))
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
[![NPM version](http://img.shields.io/npm/v/needle-di.svg?style=flat-square)](https://www.npmjs.com/package/needle-di)
[![NPM downloads](http://img.shields.io/npm/dm/needle-di.svg?style=flat-square)](https://www.npmjs.com/package/needle-di)
[![Build status](https://github.com/dirkluijk/needle-di/actions/workflows/ci.yml/badge.svg?branch=main)](https://github.com/dirkluijk/needle-di/actions/workflows/main.yml)
[![Build status](https://github.com/needle-di/core/actions/workflows/ci.yml/badge.svg?branch=main)](https://github.com/dirkluijk/needle-di/actions/workflows/main.yml)

Needle DI is a lightweight, TypeScript-first library for dependency injection (DI). It is designed to be both easy to use and highly efficient.

Expand Down
12 changes: 6 additions & 6 deletions docs/.vitepress/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ export default defineConfig({
},

editLink: {
pattern: "https://github.com/dirkluijk/needle-di/edit/main/docs/:path",
pattern: "https://github.com/needle-ci/core/edit/main/docs/:path",
},

lastUpdated: {
Expand All @@ -31,11 +31,11 @@ export default defineConfig({
items: [
{
text: `v${version}`,
link: `https://github.com/dirkluijk/needle-di/releases/tag/v${version}`,
link: `https://github.com/needle-ci/core/releases/tag/v${version}`,
},
{
text: "Changelog",
link: "https://github.com/dirkluijk/needle-di/releases",
link: "https://github.com/needle-ci/core/releases",
},
],
},
Expand Down Expand Up @@ -73,7 +73,7 @@ export default defineConfig({
},
{
text: "Changelog",
link: "https://github.com/dirkluijk/needle-di/blob/main/CHANGELOG.md",
link: "https://github.com/needle-ci/core/blob/main/CHANGELOG.md",
},
{
text: 'StackBlitz demo',
Expand All @@ -82,8 +82,8 @@ export default defineConfig({
],

socialLinks: [
{ icon: "github", link: "https://github.com/dirkluijk/needle-di" },
{ icon: "npm", link: "https://www.npmjs.com/package/needle-di" },
{ icon: "github", link: "https://github.com/needle-ci/core" },
{ icon: "npm", link: "https://www.npmjs.com/package/@needle-di/core" },
],

footer: {
Expand Down
2 changes: 1 addition & 1 deletion docs/what-is-needle-di.md
Original file line number Diff line number Diff line change
Expand Up @@ -78,4 +78,4 @@ uses stage 3 decorators, to push for ECMAScript standards.
## Why is feature X not included?

There is currently no specific roadmap, but we' will consider any feature request. Please [submit
a ticket](https://github.com/dirkluijk/needle-di/issues/new), and we'll consider a solution that fits our design principles.
a ticket](https://github.com/needle-di/core/issues/new), and we'll consider a solution that fits our design principles.
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@needle-di/core",
"version": "0.7.0",
"version": "0.8.0",
"description": "A simple TypeScript library for dependency injection",
"license": "MIT",
"keywords": [
Expand All @@ -22,7 +22,7 @@
},
"repository": {
"type": "git",
"url": "git+https://github.com/dirkluijk/needle-di.git"
"url": "git+https://github.com/needle-di/core.git"
},
"type": "module",
"module": "dist/index.js",
Expand Down

0 comments on commit 8d2b3d6

Please sign in to comment.