Skip to content

Conversation

@DCMattyG
Copy link
Contributor

@DCMattyG DCMattyG commented Sep 8, 2025

Azure IPAM 3.6.0

Breaking Changes

  • Node.js: v18 → v22 (updated in Dockerfiles and GitHub Actions)
  • Python: v3.9 → v3.11 (updated in Dockerfiles and GitHub Actions)
  • Docker base images:
    • Debian: node:22-slim / python:3.11-slim
    • RHEL: ubi8/nodejs-22 / ubi8/python-311
  • Docker Compose: Deprecated, Azure App Service retirement March 31, 2027

New Features

  • Migration tooling: Complete migration from Docker Compose to modern deployment (migrate/migrate.ps1)
  • Conditional builds: Production vs development dependency installation in Dockerfiles
  • Health checks: Automatic health endpoint configuration for App Services
  • GitHub Apps auth: Replaced PAT tokens in CI/CD workflows with GitHub App authentication

Infrastructure Changes

  • Bicep API version updates:
    • Role assignments: 2022-04-01
    • Container Registry: 2022-12-01
    • Key Vault: 2022-07-01
  • Deployment improvements: Enhanced error capture, retry logic, and Azure token handling
  • CI/CD enhancements: Added workflow step IDs and improved error reporting

Bug Fixes

  • Engine: Fixed next available subnet calculation logic in routers/tool.py
  • Networking: Improved CIDR block processing and IP set handling
  • Build: Updated ESLint config, optimized Docker layer caching
  • Security: Fixed SSH key permissions and directory creation (mkdir -p)

Documentation

  • Migration guide (/migration/README.md): Step-by-step Docker Compose to modern deployment
  • Update guide (/update/README.md): Update procedures for existing modern deployments
  • Enhanced README: Updated project structure and deployment prerequisites
  • Troubleshooting: Added update & migration-specific common issues and solutions

Development Changes

  • VSCode: Updated workspace settings, enabled trailing whitespace trimming, enhanced markdown linting
  • Container builds: Multi-architecture support (Debian/RHEL), improved layer caching
  • GitHub Actions: Added step IDs, GitHub App token creation, enhanced error handling
  • Dependencies: Updated all package versions, improved lock file handling

Migration Required

Docker Compose deployments (legacy) must migrate:

cd ipam/migrate
./migrate.ps1 -AppName "your-app" -ResourceGroupName "your-rg"

Modern deployments can update in-place:

cd ipam/deploy  
./update.ps1 -AppName "your-app" -ResourceGroupName "your-rg"

[minor]

DCMattyG added 30 commits July 15, 2025 07:20
…s of migrating away from legacy IPAM deployments
@DCMattyG DCMattyG self-assigned this Sep 8, 2025
@DCMattyG DCMattyG requested a review from Copilot September 8, 2025 23:33

This comment was marked as outdated.

@DCMattyG DCMattyG requested a review from Copilot September 9, 2025 02:04
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This is Azure IPAM v3.6.0 release that migrates the solution from Docker Compose to modern deployment architecture with significant breaking changes including Node.js v18→v22, Python v3.9→v3.11, and updated Docker base images.

  • Adds complete migration tooling for Docker Compose to modern deployment architecture
  • Updates core infrastructure with new Bicep API versions and improved deployment scripts
  • Modernizes development environment with updated ESLint config and React Router v7

Reviewed Changes

Copilot reviewed 68 out of 78 changed files in this pull request and generated 4 comments.

Show a summary per file
File Description
ui/vite.config.js Updated to use double quotes and removed deprecated splitVendorChunkPlugin
ui/src/msal/graph.jsx Enhanced error handling with better authentication flow
ui/package.json Updated all dependencies including React Router v7 and Material-UI v7
engine/app/routers/tool.py Fixed next available subnet calculation logic for IP address management
migrate/ Added complete migration infrastructure with PowerShell scripts and Bicep templates
docs/ Added comprehensive migration and update documentation guides

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants