From 329dfcd3b4c17e7defb50bf16ecfbb1c184367a3 Mon Sep 17 00:00:00 2001 From: "lijiacheng.ljc" Date: Mon, 22 Jan 2024 12:29:01 +0800 Subject: [PATCH] chore(release): 2.1.0 --- CHANGELOG.md | 19 +++++++++++++++++++ package.json | 2 +- src/constants.ts | 2 +- 3 files changed, 21 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 763a741..d4c369c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,25 @@ All notable changes to this project will be documented in this file. See [commit-and-tag-version](https://github.com/absolute-version/commit-and-tag-version) for commit guidelines. +## [2.1.0](https://github.com/opensumi/di/compare/v1.10.1...v2.1.0) (2024-01-22) + + +### Features + +* add event emitter ([6bb85ec](https://github.com/opensumi/di/commit/6bb85ec3d08f0abb6ecb63b137a0ecd3f02e1b61)) +* hooks support priority option ([5f13619](https://github.com/opensumi/di/commit/5f13619eb644fa04ad486c511bcf8a18229dee5c)) +* make dispose support disposing instance of useFactory ([#116](https://github.com/opensumi/di/issues/116)) ([4a9e4a3](https://github.com/opensumi/di/commit/4a9e4a345dfd1ece3f67ecca315fb0acba62025c)) + + +### Bug Fixes + +* add missing dist artifacts ([bd6bbc9](https://github.com/opensumi/di/commit/bd6bbc9ec810070d4a52e298416a694732d5d797)) +* factory instances should save proxied ([dad48a8](https://github.com/opensumi/di/commit/dad48a81f47033e090202667cd4b3fccb9fa8e14)) +* factory support multiple value ([edaa25e](https://github.com/opensumi/di/commit/edaa25e85602374642e55948415e3a656035e06a)) +* instance should be disposed ([5f09c6a](https://github.com/opensumi/di/commit/5f09c6a17dd79175c14a6a688b06892572699024)) +* typo in README-zh_CN ([#120](https://github.com/opensumi/di/issues/120)) ([f41d956](https://github.com/opensumi/di/commit/f41d956b7e08bc613fabbb8ddbc537fd284bef56)) +* we should listen on instance disposed ([362196f](https://github.com/opensumi/di/commit/362196f50bb4f8a476b0d8c108dfbdb1455e1d9a)) + ## [2.0.0](https://github.com/opensumi/di/compare/v1.10.1...v2.0.0) (2024-01-19) ### Breaking Changes diff --git a/package.json b/package.json index cf39ae4..46d7012 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@opensumi/di", - "version": "2.0.0", + "version": "2.1.0", "description": "A dependency injection tool for Javascript.", "license": "MIT", "module": "esm/index.js", diff --git a/src/constants.ts b/src/constants.ts index 5e0f240..a6c1237 100644 --- a/src/constants.ts +++ b/src/constants.ts @@ -1,3 +1,3 @@ // VERSION GENERATED BY standard-version. // See package.json > standard-version for details. -export const VERSION = '2.0.0'; +export const VERSION = '2.1.0';