Skip to content

patch: bump Angular 22.1.2, graphql@17 and other deps - #451

Merged
petruki merged 1 commit into
masterfrom
staging
Aug 14, 2026
Merged

patch: bump Angular 22.1.2, graphql@17 and other deps#451
petruki merged 1 commit into
masterfrom
staging

Conversation

@petruki

@petruki petruki commented Aug 14, 2026

Copy link
Copy Markdown
Member

This pull request primarily updates project dependencies and refines Angular template and TypeScript code for improved maintainability and compatibility. The most significant changes include upgrading Angular and related packages to version 22, updating GitHub Actions to use the latest action versions, and refactoring code to remove unnecessary imports and streamline template bindings.

Dependency and Build Updates:

  • Upgrade Angular and Related Packages: All Angular dependencies, as well as several related libraries (e.g., Apollo, GraphQL, ngx-markdown), are upgraded to version 22.x and the latest compatible versions. This ensures compatibility with the latest Angular features and security updates. (package.json)
  • Update GitHub Actions and Docker Base Image: All actions/checkout and actions/setup-node steps in workflow files are updated to use version 7. The Docker base image for Nginx is updated to 1.31.3-alpine-slim. (.github/workflows/*.yml, Dockerfile) [1] [2] [3] [4] [5] [6] [7] [8]

Angular Template and Code Refactoring:

  • Simplify Inline Styles and Template Bindings: Inline [ngStyle] bindings for setting text color are replaced with the more concise [style.color] syntax in multiple HTML templates. This change improves readability and maintainability. (*.component.html) [1] [2] [3] [4] [5] [6]
  • Remove Unused Imports: The NgStyle import is removed from several TypeScript files where it is no longer needed, reflecting the template changes. (*.component.ts) [1] [2] [3] [4] [5] [6] [7]

Directive and Component Improvements:

  • Enhance Type Safety in Directives: Type annotations are added to event handler parameters in SpecialCharacterDirective, improving type safety and future maintainability. (special.char.directive.ts)
  • Template Logic Fixes: Minor logic improvements, such as calling hasNewStrategy() as a function rather than a property, ensure correct behavior in templates. (config-detail.component.html)

These changes collectively modernize the codebase, improve maintainability, and ensure compatibility with the latest tooling and Angular ecosystem.

@petruki petruki self-assigned this Aug 14, 2026
@petruki petruki added enhancement New feature or request dependencies Pull requests that update a dependency file labels Aug 14, 2026
@petruki
petruki merged commit bd15086 into master Aug 14, 2026
3 checks passed
@petruki
petruki deleted the staging branch August 14, 2026 05:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant