Repository navigation
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.