Skip to content

Commit

Permalink
updated to angular 18
Browse files Browse the repository at this point in the history
  • Loading branch information
joshuawwright committed Jul 10, 2024
1 parent bf74bf4 commit 74a682e
Show file tree
Hide file tree
Showing 6 changed files with 8,158 additions and 5,422 deletions.
63 changes: 33 additions & 30 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,96 +1,99 @@
##17.0.1
## 18.0.0
Updated to Angular 18.

## 17.0.1
Fixed peer dependencies.

##17.0.0
## 17.0.0
Updated to Angular 17.

##16.0.0
## 16.0.0
Updated to Angular 16.

##15.0.4
## 15.0.4
Updated rxjs peer dependencies.

##15.0.4
## 15.0.4
Updated rxjs peer dependencies.

##15.0.3
## 15.0.3
Fix release issue

##15.0.2
## 15.0.2
Updated dependencies to fix security vulnerabilities.

##15.0.1
## 15.0.1
Updated peer dependencies to cover all sub-versions of Angular 15

##15.0.0
## 15.0.0
Moved to Nx Workspace
Updated to Angular 15
Added support for letterSpacing

##13.1.1
## 13.1.1
Updated dependency to address potential security vulnerabilities.

##13.1.0
## 13.1.0
Upgraded to Angular 13.1

##13.0.1
## 13.0.1
Bumped log4js version.

##13.0.0
## 13.0.0
Upgraded to Angular 13.

##12.0.0
## 12.0.0
Upgraded to Angular 12.

##11.0.8
## 11.0.8
Fixed border compatibility with firefox.

##11.0.4 - 11.0.5
## 11.0.4 - 11.0.5
Support added for template driven form controls and use value property.

##11.0.0 - 11.0.4
## 11.0.0 - 11.0.4
Added use placeholder when empty feature, that sets the width to the placeholder only when the input is empty.

##11.0.0 - 11.0.1
## 11.0.0 - 11.0.1
Upgraded to Angular 11.

##10.0.6
## 10.0.6
Improved support for NgModel, and added takeUntil logic to prevent memory leaks.

##10.0.5
## 10.0.5
Simplified code and added ability to inject options.

##10.0.2 - 10.0.4
## 10.0.2 - 10.0.4
Fixed ChangeDetection.OnPush compatibility.

##10.0.1
## 10.0.1
Updated StackBlitz link in readMe.

##10.0.0
## 10.0.0
From now on the major version will be the same as the Angular version.
Renamed directive from AutoSizeInput to autoSizeInput, to match Angular Style Guide.
Remove Internet Explorer detection, as the user agent styling can be adjusted using CSS.
Added support for NgModel, so that ChangeDetectionStrategy.OnPush can be used.

##2.3.6
## 2.3.6
Fixed AOT support, onInput was missing event parameter.

##2.3.5
## 2.3.5
Added support for IE and Edge

##2.3.4
## 2.3.4
Added changelog

##2.3.3
## 2.3.3
Added [setParentWidth] documentation to README.md

##2.3.2
## 2.3.2
Renamed directive functions and refactored code to reduce package complexity and size.
Removed ngOnChanges width update.

##2.3.1
## 2.3.1
Added ngOnChanges width update.

##2.3.0
## 2.3.0
Migrated to Angular library structure
Switched to using renderer to follow Angular best practices
8 changes: 4 additions & 4 deletions libs/ngx-autosize-input/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "ngx-autosize-input",
"version": "17.0.1",
"version": "18.0.0",
"repository": {
"type": "git",
"url": "https://github.com/joshuawwright/ngx-autosize-input"
Expand All @@ -20,9 +20,9 @@
"url": "https://github.com/joshuawwright/ngx-autosize-input/issues"
},
"peerDependencies": {
"@angular/common": "^17.0.0",
"@angular/core": "^17.0.0",
"@angular/forms": "^17.0.0"
"@angular/common": "^18.0.0",
"@angular/core": "^18.0.0",
"@angular/forms": "^18.0.0"
},
"dependencies": {
"tslib": "^2.3.0"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ export class CdkInputAutosize implements DoCheck {
inputClone.remove();
placeHolderClone.remove();

return widths
return widths;
}

protected _resizeToFitContent() {
Expand Down
117 changes: 117 additions & 0 deletions migrations.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,117 @@
{
"migrations": [
{
"version": "18.1.0-beta.3",
"description": "Moves affected.defaultBase to defaultBase in `nx.json`",
"implementation": "./src/migrations/update-17-2-0/move-default-base",
"package": "nx",
"name": "move-default-base-to-nx-json-root"
},
{
"cli": "nx",
"version": "19.2.0-beta.2",
"description": "Updates the default workspace data directory to .nx/workspace-data",
"implementation": "./src/migrations/update-19-2-0/move-workspace-data-directory",
"package": "nx",
"name": "19-2-0-move-graph-cache-directory"
},
{
"cli": "nx",
"version": "19.2.2-beta.0",
"description": "Updates the nx wrapper.",
"implementation": "./src/migrations/update-17-3-0/update-nxw",
"package": "nx",
"name": "19-2-2-update-nx-wrapper"
},
{
"version": "19.2.4-beta.0",
"description": "Set project name in nx.json explicitly",
"implementation": "./src/migrations/update-19-2-4/set-project-name",
"x-repair-skip": true,
"package": "nx",
"name": "19-2-4-set-project-name"
},
{
"cli": "nx",
"version": "18.1.0-beta.3",
"description": "Update to Cypress ^13.6.6 if the workspace is using Cypress v13 to ensure workspaces don't use v13.6.5 which has an issue when verifying Cypress.",
"implementation": "./src/migrations/update-18-1-0/update-cypress-version-13-6-6",
"package": "@nx/cypress",
"name": "update-cypress-version-13-6-6"
},
{
"cli": "nx",
"version": "19.1.0-beta.6",
"description": "Migrate no-extra-semi rules into user config, out of nx extendable configs",
"implementation": "./src/migrations/update-19-1-0-migrate-no-extra-semi/migrate-no-extra-semi",
"package": "@nx/eslint-plugin",
"name": "update-19-1-0-rename-no-extra-semi"
},
{
"cli": "nx",
"version": "18.1.0-beta.1",
"requires": {
"@angular/core": ">=17.2.0"
},
"description": "Update the @angular/cli package version to ~17.2.0.",
"factory": "./src/migrations/update-18-1-0/update-angular-cli",
"package": "@nx/angular",
"name": "update-angular-cli-version-17-2-0"
},
{
"cli": "nx",
"version": "18.1.1-beta.0",
"description": "Ensure targetDefaults inputs for task hashing when '@nx/angular:webpack-browser' is used are correct for Module Federation.",
"factory": "./src/migrations/update-18-1-1/fix-target-defaults-inputs",
"package": "@nx/angular",
"name": "fix-target-defaults-for-webpack-browser"
},
{
"cli": "nx",
"version": "18.2.0-beta.0",
"requires": {
"@angular/core": ">=17.3.0"
},
"description": "Update the @angular/cli package version to ~17.3.0.",
"factory": "./src/migrations/update-18-2-0/update-angular-cli",
"package": "@nx/angular",
"name": "update-angular-cli-version-17-3-0"
},
{
"cli": "nx",
"version": "19.1.0-beta.2",
"requires": {
"@angular/core": ">=18.0.0"
},
"description": "Update the @angular/cli package version to ~18.0.0.",
"factory": "./src/migrations/update-19-1-0/update-angular-cli",
"package": "@nx/angular",
"name": "update-angular-cli-version-18-0-0"
},
{
"cli": "nx",
"version": "19.2.1-beta.0",
"requires": {
"@angular-eslint/eslint-plugin": ">=18.0.0"
},
"description": "Installs the '@typescript-eslint/utils' package when having installed '@angular-eslint/eslint-plugin' or '@angular-eslint/eslint-plugin-template' with version >=18.0.0.",
"factory": "./src/migrations/update-19-2-1/add-typescript-eslint-utils",
"package": "@nx/angular",
"name": "add-typescript-eslint-utils"
},
{
"version": "18.0.0",
"description": "Updates two-way bindings that have an invalid expression to use the longform expression instead.",
"factory": "./migrations/invalid-two-way-bindings/bundle",
"package": "@angular/core",
"name": "invalid-two-way-bindings"
},
{
"version": "18.0.0",
"description": "Replace deprecated HTTP related modules with provider functions",
"factory": "./migrations/http-providers/bundle",
"package": "@angular/core",
"name": "migration-http-providers"
}
]
}
Loading

0 comments on commit 74a682e

Please sign in to comment.