Repository navigation
Releases
Releases · shlomoa/django-angular3
v0.5.0
Changed
- Breaking: the shipped
tool.ngAddPackageis the unpinned registry nameangular-django2- no hard-coded version.ng_addinstalls the built package of a localangular-django2checkout when one is present (ANGULAR_DJANGO2_ROOTor the sibling../angular-django2of a django-angular3 source checkout, built withnpm run build), otherwise the latest npm release. Compatibility is guarded bybuild_app's command-mapping check against the installedopenui-specSCHEMA_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.Zpin from yourdjango-angular3.jsonunless you deliberately pin; the unpinned nameangular-django2is the new default. This supersedes the 0.4.0 note about the pinned 0.7.1 release:ng_addnow installs the latest release (or your local checkout's build), which compiles versionless OpenUI documents.
Full details in CHANGELOG.md.
v0.4.0
Highlights
- OpenUI schema version management: the schema version is owned by the installed
openui-specpackage (itsSCHEMA_VERSIONfile), read viainstalled_openui_schema_version()(distribution record, package data, or source-checkout root) and compared (major.minor) against the ngdjcommand-mapping.jsonopenuiSpecVersion. Theopenui-specdependency is unpinned. - Local-first
angular-django2integration: 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 thengdj-contractCI job tracksangular-django2@main. django_angular3.spa.angular_urlpatterns()serves the built Angular application from Django on the same origin as the API.ng_data_service --pathforwards 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
versionmember is rejected (grammar/unknown-property). Remove it from existing documents; the schema version comes from the installedopenui-spec. django-angular3.jsonis mandatory with no packaged fallback, includingangular.build.browserOutputPathandtool.ngAddPackage.build_apptranslation emits one step for several OpenUI Changes under the same command root.
Upgrading
- Remove the root
versionmember from your OpenUI documents. - Add
django-angular3.jsonnext to your project configuration (see the tutorial template) withangular.build.browserOutputPathset. - Note: the shipped
tool.ngAddPackagestill pinsangular-django2@0.7.1, which predates versionless documents; for schematic compilation use a localangular-django2checkout (built frommain) until its next release, when the pin will be bumped.
Full details in CHANGELOG.md.
v0.3.6
Highlights
build_appnow translates detected project-configuration, OpenAPI, and OpenUI changes into ordered steps, runs them, and writesbuild-evidence.jsonwith command results and the pinnedangular-django2mapping version.- OpenUI schematic generation now supports Tabs, dialogs, Steppers, and tables; selected Angular commands accept
--documentand--node-id.ng_openapi_setupalso supports--auth-scheme bearer|basic. - Breaking:
tool.commandAllowlistis no longer supported and must be removed fromdjango-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.0in the Angular workspace before building OpenUI or OpenAPI changes. - Replace
ng_reactive_form --definition <file>with--document <openui document>. build_appcurrently reports unsupported upstream update/delete and OpenAPI-change operations explicitly; see the changelog for details.
v0.3.5
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
What's changed
- Upgraded default Angular integration package to
angular-django2@0.4.6. - Retired monolithic
ng_siteschematic and CLI/management command in favor of canonical OpenUIApplicationspecifications orchestrated through atomic CLI primitives (ng-page,ng-reactive-form,ng-openapi-setup). - Removed
ng_sitefrom 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
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-validatorfor 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