Skip to content

Releases

v0.5.0

Choose a tag to compare

@shlomoa shlomoa released this 02 Nov 15:53

Changed

  • Breaking: the shipped tool.ngAddPackage is the unpinned registry name angular-django2 - no hard-coded version. ng_add installs the built package of a local angular-django2 checkout when one is present (ANGULAR_DJANGO2_ROOT or the sibling ../angular-django2 of a django-angular3 source checkout, built with npm run build), otherwise the latest npm release. Compatibility is guarded by build_app's command-mapping check against the installed openui-spec SCHEMA_VERSION. A project configuration may still pin (angular-django2@X.Y.Z), and the loader then requires the installed package to match.

Upgrading from 0.4.0

  • Remove any hard-coded angular-django2@X.Y.Z pin from your django-angular3.json unless you deliberately pin; the unpinned name angular-django2 is the new default. This supersedes the 0.4.0 note about the pinned 0.7.1 release: ng_add now installs the latest release (or your local checkout's build), which compiles versionless OpenUI documents.

Full details in CHANGELOG.md.

v0.4.0

Choose a tag to compare

@shlomoa shlomoa released this 02 Nov 15:11

Highlights

  • OpenUI schema version management: the schema version is owned by the installed openui-spec package (its SCHEMA_VERSION file), read via installed_openui_schema_version() (distribution record, package data, or source-checkout root) and compared (major.minor) against the ngdj command-mapping.json openuiSpecVersion. The openui-spec dependency is unpinned.
  • Local-first angular-django2 integration: the real-tools e2e flow packs and installs the adjacent checkout's built package by default (E2E_NGDJ_LOCAL, E2E_NGDJ_TARBALL), the command-mapping fixture follows the checkout, and the ngdj-contract CI job tracks angular-django2@main.
  • django_angular3.spa.angular_urlpatterns() serves the built Angular application from Django on the same origin as the API.
  • ng_data_service --path forwards the schematic --path (#239), and the real-tools end-to-end flow (DJNG_E2E=1, tracks W and B) covers the whole chain, now also on Windows.

Breaking changes

  • OpenUI documents are versionless (openui-spec 0.15): a root version member is rejected (grammar/unknown-property). Remove it from existing documents; the schema version comes from the installed openui-spec.
  • django-angular3.json is mandatory with no packaged fallback, including angular.build.browserOutputPath and tool.ngAddPackage.
  • build_app translation emits one step for several OpenUI Changes under the same command root.

Upgrading

  1. Remove the root version member from your OpenUI documents.
  2. Add django-angular3.json next to your project configuration (see the tutorial template) with angular.build.browserOutputPath set.
  3. Note: the shipped tool.ngAddPackage still pins angular-django2@0.7.1, which predates versionless documents; for schematic compilation use a local angular-django2 checkout (built from main) until its next release, when the pin will be bumped.

Full details in CHANGELOG.md.

v0.3.6

Choose a tag to compare

@shlomoa shlomoa released this 08 Oct 12:42

Highlights

  • build_app now translates detected project-configuration, OpenAPI, and OpenUI changes into ordered steps, runs them, and writes build-evidence.json with command results and the pinned angular-django2 mapping version.
  • OpenUI schematic generation now supports Tabs, dialogs, Steppers, and tables; selected Angular commands accept --document and --node-id. ng_openapi_setup also supports --auth-scheme bearer|basic.
  • Breaking: tool.commandAllowlist is no longer supported and must be removed from django-angular3.json.
  • Fixed cross-platform validation so Windows drive-qualified, rooted, and parent-traversal paths are rejected for ngdj schematic inputs.

Upgrade notes

  • Install angular-django2@0.7.0 in the Angular workspace before building OpenUI or OpenAPI changes.
  • Replace ng_reactive_form --definition <file> with --document <openui document>.
  • build_app currently reports unsupported upstream update/delete and OpenAPI-change operations explicitly; see the changelog for details.

v0.3.5

Choose a tag to compare

@shlomoa shlomoa released this 01 Oct 22:51

What's Changed

  • Refactor ReadTheDocs landing content into a two-page tutorial by @shlomoa with @Copilot in #167
  • Normalize Angular CLI invocation flags to kebab-case by @shlomoa with @Copilot in #169
  • Upgrade OpenUI spec integration to 0.1.1 by @shlomoa with @Copilot in #172
  • Integrate OpenUI Spec 0.2.0 with ngdj 0.4.7 by @shlomoa with @Copilot in #174
  • Document OpenUI JSON-first compiler architecture by @shlomoa with @Copilot in #175
  • Add clean and distclean management commands by @shlomoa with @Copilot in #193
  • Align with openui-spec 0.12.0: attribute value grammar and typed keys by @shlomoa in #196

Full Changelog: v0.2.0...v0.3.5

v0.3.0a2

v0.3.0a2 Pre-release
Pre-release

Choose a tag to compare

@shlomoa shlomoa released this 08 Sep 04:05

What's changed

  • Upgraded default Angular integration package to angular-django2@0.4.6.
  • Retired monolithic ng_site schematic and CLI/management command in favor of canonical OpenUI Application specifications orchestrated through atomic CLI primitives (ng-page, ng-reactive-form, ng-openapi-setup).
  • Removed ng_site from default configuration allowlist, documentation, and test fixtures.

Upgrade notes

Consumers should use OpenUI Application specifications and the angular-site-composition skill primitives instead of ng_site.

v0.2.0

Choose a tag to compare

@shlomoa shlomoa released this 02 Sep 22:28

What's changed

  • Adopt OpenUI as the non-CRM UI input format.
  • Align djng workflows with renamed angular-django2/ngdj schematics and current options.
  • Use openapi-spec-validator for OpenAPI Specification validation.
  • Refresh tutorial, automation-skill, and integration documentation.

Upgrade notes

Review UI inputs and ngdj command/config references for renamed routes, kinds, schematics, and options. No explicit public API removal is identified in this release, but these input and configuration changes may require consumer updates.

Full changelog: v0.1.0...v0.2.0

v0.1.0

Choose a tag to compare

@shlomoa shlomoa released this 17 Jun 08:25

First stable release of django-angular3. Contract-first integration tooling for Django REST framework and Angular Material.