Releases: wq/wq.create
wq.create 2.1
wq.create 2.1.0 is the first stable release of the wq.create 2.1 series! Be sure to check out the latest documentation and the release notes for wq 2.1 when upgrading.
All changes by @sheppard.
- Update Django template for compatibility with Gunicorn (wq/wq-django-template#11)
- Replace @wq/cra-template with @wq/create (66f8b75)
- Update tests for compatiblity with wq.db 2.1 (66f8b75)
wq.create 2.0
wq.create 2.0.0 is the first stable release of the wq.create 2.0 series! Be sure to check out the latest documentation and the release notes for wq 2.0 when upgrading.
All changes by @sheppard.
Changes since wq.create 2.0 alpha 2
- @wq/rollup-plugin:
Other changes since wq.create 1.3.0
Changes in Alpha
- Remove
wq start
andwq maketemplates
commands - Remove
--input-dir
and--template-dir
options forwq addform
- Improve project root detection
- Update dependencies for wq-django-template, @wq/rollup-plugin, @wq/cra-template, and @wq/expo-template
- Various code organization and formatting improvement
Changes in Alpha 2
- Update dependencies for @wq/rollup-plugin, @wq/cra-template, and @wq/expo-template
wq.create 2.0 alpha 2
wq.create 2.0 alpha 2 is the second preview of the next version of wq.create, as part of the wq 2.0 alpha 2 release. This release primarily updates the npm packages to leverage changes in the corresponding wq.app and wq.db releases. All changes by @sheppard.
- @wq/cra-template - Update to @wq/[email protected] and @wq/[email protected] (7d63cf8)
- @wq/expo-template - Update to @wq/[email protected] and @wq/[email protected]. Also add explicit dependencies for all of the plugins required to get the project running in Expo 39 (7d63cf8).
- @wq/rollup-plugin - Update to leverage the @mui/material/utils export added to wq.js (849a16b).
wq.create 2.0 alpha
wq.create 2.0 alpha is a preview of the next version of wq.create, as part of the wq 2.0 alpha release. This release removes remaining support for projects created with wq 1.2 and earlier versions, while maintaining compatibility with wq 1.3.
All changes by @sheppard.
- The legacy
wq start
andwq maketemplates
commands have been removed (15fde40). - wq addform no longer generates legacy mustache templates; the
--input-dir
and--template-dir
options have been removed (db80271).- See xlsconv 2.0.0a1
- wq addform tries harder to find the project root directory, and fails more gracefully when it does not (db80271).
- The project templates have been updated for compatibility with wq.db 2.0 alpha and wq.app 2.0 alpha.
- Various code organization and formatting improvements (17e2fca, 6e3484b, 4c80df2, 0b6771b).
wq.create 1.3.0
wq.create 1.3.0 is the first stable release of the wq.create 1.3 series! Be sure to check out the latest documentation and the release notes for wq 1.3 when upgrading. In particular, note that:
Projects generated with... | ...are compatible with |
---|---|
wq.start 1.2 | wq.app 1.2 & 1.3 |
wq.create 1.3 | wq.app 1.3 & 2.0 (future) |
All changes by @sheppard.
Changes since wq.create 1.3 beta
- Update to wq-django-template 1.3.0
- Ensure Windows support for
wq create
command (wq/wq-django-template#20)
- Ensure Windows support for
- Improve npm integration (@wq/cra-template)
- Pin
react-scripts
to v4 to work around ESM import issues (wq/wq#58). CRA v5 support will be added in a future release of wq.app (wq/wq.app#130) - Use server-generated config as-is (wq/wq#54)
- Pin
- Support generating
wizard.py
file to register new models with Django Data Wizard (f263137)
Other changes since wq.start 1.2.1
- Changes in Alpha
- Update to wq-django-template 1.3 alpha
- Deprecate
wq maketemplates
command - Remove
--with-pgb
and--app-id
options towq start
- Deprecate
- New @wq/cra-template npm package
- Update to wq-django-template 1.3 alpha
- Changes in Beta
- Rename package from
wq.start
towq.create
- Allow specifying site title via
wq create
- New @wq/rollup-plugin npm package
- Rename package from
wq.create 1.3 beta
wq.create 1.3.0b1 is the beta of the next version of wq.create (formerly wq.start), as part of the wq 1.3 beta release. The beta builds on wq.start 1.3 alpha with the following improvements.
Improved wq.app integration
- New @wq/rollup-plugin package to support lightweight builds for reusable apps (45a5b5b)
- Update imports to track @wq/mapbox => @wq/map-gl rename (wq/wq.app#128)
- Update default extent to track @wq/map coordinate order change from [lat, lng] to [lng, lat] (fee29c2)
- When using
npm start
with @wq/cra-template, requests are proxied to the local./manage.py runserver
instance (429f34e)
Improved wq.db integration
- Auto-regenerate data/config.js on startup (see wq/wq.app#120)
- Fix database engine name in settings/prod.py (e545fe7)
Other Changes
wq.start 1.3 alpha
wq.start 1.3 alpha is a preview of the next version of wq.start, as part of the wq 1.3 alpha release. Most of the the changes are described in the release notes for wq-django-template 1.3 alpha. In addition, the following commands have changed (c68524f):
wq start
no longer accepts the--with-pgb
or--app-id
options, as PhoneGap Build support is deprecated (see wq/wq.app#121).wq start --with-npm
now callsnpx create-react-app [name] --template @wq
internally. Thus, the--skip-npm-install
option is no longer supported.wq addform
still works to generate a Django app from an XLSForm, but it will not generate corresponding Mustache templates unless the project was created with wq.start 1.2 or earlier.wq maketemplates
is deprecated and will be removed in wq.start 2.0.
While new projects created with wq start
no longer use these features, wq.app will continue to support them until version 2.0. The compatibility table is as follows:
Projects generated with... | ...are compatible with |
---|---|
wq.start 1.2 | wq.app 1.2 & 1.3 |
wq.start 1.3 | wq.app 1.3 & 2.0 (future) |
wq.start 1.2.1
wq.start 1.2.1 includes updates to xlsconv and wq-django-template that fix various action buttons that cannot use require()
in npm-based projects (#6).
wq.start 1.2.0
wq.start 1.2.0 incorporates wq-django-template 1.2.0 and introduces another command-line flag, --with-pgb/--without-pgb
, which controls whether PhoneGap Build integration is included in the generated project.
wq.start 1.2 beta
wq.start 1.2.0b1 introduces a new command-line flag, --with-npm/--without-npm
, that toggles an alternative project layout based on Create React App (CRA) (see wq/wq#44). Other template changes are documented in the release notes for wq-django-template 1.2 beta.
Since the number of potentially useful flags is increasing, the wq start
command now includes an interactive mode that prompts for each choice if not provided explicitly. Type wq start
without any arguments to go through the full process.
# Interactive
> wq start
Project codename: myapp
Directory [./myapp/]:
Web domain [myapp.example.org]:
Application Bundle ID [org.example.myapp]:
Enable GIS? (Requires PostGIS or SpatialLite) [y/N]: y
Enable NPM / Create React App? (Requires Node.js) [y/N]: y
Project "myapp" created successfully in ./myapp/ with GIS and NPM support.
Run npm install now? [y/N]: y
^C
# One-line
> wq start myapp ./myapp -d myapp.example.org -i org.example.myapp --with-gis --with-npm --npm-install