add changelogs

This commit is contained in:
Rene Haas
2022-11-09 13:58:00 +01:00
parent 81ce0a2474
commit 98a7183324
5 changed files with 55 additions and 2 deletions
@@ -0,0 +1,18 @@
# Changelog
## 0.4.0
Depends on `OverlayScrollbars` version `^2.0.0` and `Angular` version `>=12.0.0`.
### Features
- The selector for the `OverlayScrollbarsComponent` is now `overlay-scrollbars` or `[overlay-scrollbars]`
- `OverlayScrollbarsComponent` has now the `events` property
- `OverlayScrollbarsComponent` emits now all `OverlayScrollbars` events as "native" Angular events
- The `OverlayScrollbarsDirective` was added for advanced usage
### Breaking Changes
- The `extensions` property is removed from `OverlayScrollbarsComponent`
- The `osInstance()` function from the `OverlayScrollbarsComponent` `ref` is renamed to `instance()`
- The `osTarget()` function from the `OverlayScrollbarsComponent` `ref` is renamed to `element()`
@@ -0,0 +1,17 @@
# Changelog
## 0.4.0
Depends on `OverlayScrollbars` version `^2.0.0` and `React` version `>=16.8.0`.
### Features
- `OverlayScrollbarsComponent` has now the `events` property
- `OverlayScrollbarsComponent` has now the `element` property
- The `useOverlayScrollbars` hook was added for advanced usage
### Breaking Changes
- The `extensions` property is removed from `OverlayScrollbarsComponent`
- The `osInstance()` function from the `OverlayScrollbarsComponent` `ref` is renamed to `instance()`
- The `osTarget()` function from the `OverlayScrollbarsComponent` `ref` is renamed to `element()`
@@ -23,7 +23,7 @@ export default defineConfig({
},
},
plugins: [
rollupPluginCopy({ paths: ['README.md'] }),
rollupPluginCopy({ paths: ['README.md', 'CHANGELOG.md'] }),
rollupPluginPackageJson({
json: ({
name,
@@ -0,0 +1,18 @@
# Changelog
## 0.4.0
Depends on `OverlayScrollbars` version `^2.0.0` and `Vue` version `^3.2.25`.
### Features
- `OverlayScrollbarsComponent` has now the `events` property
- `OverlayScrollbarsComponent` has now the `element` property
- `OverlayScrollbarsComponent` emits now all `OverlayScrollbars` events as "native" Vue events
- The `useOverlayScrollbars` composable was added for advanced usage
### Breaking Changes
- The `extensions` property is removed from `OverlayScrollbarsComponent`
- The `osInstance()` function from the `OverlayScrollbarsComponent` `ref` is renamed to `instance()`
- The `osTarget()` function from the `OverlayScrollbarsComponent` `ref` is renamed to `element()`
@@ -24,7 +24,7 @@ export default defineConfig({
},
},
plugins: [
rollupPluginCopy({ paths: ['README.md'] }),
rollupPluginCopy({ paths: ['README.md', 'CHANGELOG.md'] }),
rollupPluginPackageJson({
json: ({
name,