Skip to content

Commit

Permalink
Merge pull request #331 from MurhafSousli/v7.5.0
Browse files Browse the repository at this point in the history
v7.5.0
  • Loading branch information
MurhafSousli authored Dec 20, 2020
2 parents 294f1a0 + 2e0ae07 commit eea01b7
Show file tree
Hide file tree
Showing 15 changed files with 1,931 additions and 298 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/netlify.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
- name: Deploy to Netlify
uses: nwtgck/[email protected]
with:
publish-dir: './dist/ngx-scrollbar-demo'
publish-dir: './dist/ngx-scrollbar-demo/browser'
production-branch: deploy-netlify
github-token: ${{ secrets.GITHUB_TOKEN }}
deploy-message: "Deploy from GitHub Actions"
Expand Down
12 changes: 12 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,17 @@
# Changelog

## 7.5.0

- feat: Add resize sensor unit tests

### Breaking changes

- Deprecate the resize observer polyfill (package: `@juggle/resize-observer`), closes [#329](https://github.com/MurhafSousli/ngx-scrollbar/issues/329) in [9069192](https://github.com/MurhafSousli/ngx-scrollbar/pull/331/commits/9069192074c64164d65b5aa3a7f7a25fa8af72f5).
- Auto-height: the feature became disabled by default, in [bf8cda1](https://github.com/MurhafSousli/ngx-scrollbar/pull/331/commits/bf8cda13fdc33247114561827c68f71f00182106).

> The reason to disable the auto-height by default is to avoid performance issues with users who are unaware that it is turned on.
> When the auto-height is on, and the content size changes very frequently, it could cause performance issue, like in virtual scroll and infinite scroll libraries.
## 7.4.2

- feat: Add the options missing interface of scrollToElement method in [5867163](https://github.com/MurhafSousli/ngx-scrollbar/pull/328/commits/586716361cc464b109f1d82311859e7f44ee31c5).
Expand Down
52 changes: 50 additions & 2 deletions angular.json
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@
"build": {
"builder": "@angular-devkit/build-angular:browser",
"options": {
"outputPath": "dist/ngx-scrollbar-demo",
"outputPath": "dist/ngx-scrollbar-demo/browser",
"index": "projects/ngx-scrollbar-demo/src/index.html",
"main": "projects/ngx-scrollbar-demo/src/main.ts",
"polyfills": "projects/ngx-scrollbar-demo/src/polyfills.ts",
Expand Down Expand Up @@ -144,7 +144,8 @@
"tsConfig": [
"projects/ngx-scrollbar-demo/tsconfig.app.json",
"projects/ngx-scrollbar-demo/tsconfig.spec.json",
"projects/ngx-scrollbar-demo/e2e/tsconfig.json"
"projects/ngx-scrollbar-demo/e2e/tsconfig.json",
"projects/ngx-scrollbar-demo/tsconfig.server.json"
],
"exclude": [
"**/node_modules/**"
Expand All @@ -162,6 +163,53 @@
"devServerTarget": "ngx-scrollbar-demo:serve:production"
}
}
},
"server": {
"builder": "@angular-devkit/build-angular:server",
"options": {
"outputPath": "dist/ngx-scrollbar-demo/server",
"main": "projects/ngx-scrollbar-demo/server.ts",
"tsConfig": "projects/ngx-scrollbar-demo/tsconfig.server.json"
},
"configurations": {
"production": {
"outputHashing": "media",
"fileReplacements": [
{
"replace": "projects/ngx-scrollbar-demo/src/environments/environment.ts",
"with": "projects/ngx-scrollbar-demo/src/environments/environment.prod.ts"
}
],
"sourceMap": false,
"optimization": true
}
}
},
"serve-ssr": {
"builder": "@nguniversal/builders:ssr-dev-server",
"options": {
"browserTarget": "ngx-scrollbar-demo:build",
"serverTarget": "ngx-scrollbar-demo:server"
},
"configurations": {
"production": {
"browserTarget": "ngx-scrollbar-demo:build:production",
"serverTarget": "ngx-scrollbar-demo:server:production"
}
}
},
"prerender": {
"builder": "@nguniversal/builders:prerender",
"options": {
"browserTarget": "ngx-scrollbar-demo:build:production",
"serverTarget": "ngx-scrollbar-demo:server:production",
"routes": [
"/"
]
},
"configurations": {
"production": {}
}
}
}
}
Expand Down
Loading

0 comments on commit eea01b7

Please sign in to comment.