Skip to content

Commit bbcd124

Browse files
committed
chore(release): cut 12.0.0 [skip release]
# [12.0.0](v11.7.5...v12.0.0) (2024-12-13) ### Bug Fixes * **deps:** upgrade app-runtime and ui ([#895](#895)) ([8ed0ec3](8ed0ec3)) * **deps:** upgrade react to 18 in example apps ([#900](#900)) ([7fd16d7](7fd16d7)) * **deps:** use npm v6 before publishing ([01ad502](01ad502)) * **init:** update bootstrap script branch ([#896](#896)) ([33c261a](33c261a)) * **plugin:** clean up resize observer and handle sonarqube warnings ([#898](#898)) ([f113dd5](f113dd5)) * alerts from plugins [LIBS-695] ([#881](#881)) ([21be0d2](21be0d2)) * allow serving files from cwd node_modules ([0233949](0233949)) * base url env & refactor [LIBS-635] ([#872](#872)) ([7f19259](7f19259)) * bump ui library ([#882](#882)) ([1ae9569](1ae9569)) * clear only required build dirs ([#894](#894)) ([179305f](179305f)) * env refactor for Vite wrap-up [LIBS-690] ([#889](#889)) ([84da4e6](84da4e6)) * injectPrecacheManifest warning logging ([a0d266e](a0d266e)) * normalize to .js extensions when compiling libraries ([#893](#893)) ([58b33a8](58b33a8)) * **service-worker:** handle undefined config vars in injectPrecacheManifest ([a90a4e0](a90a4e0)) * correct app shell paths ([#883](#883)) ([a1af71c](a1af71c)) * handle jsx in js support [LIBS-633] ([#871](#871)) ([595a35d](595a35d)) * increase precache max file size to 3 MB ([b20ed22](b20ed22)) * remove custom eslint from TS template ([71cef4b](71cef4b)) * update deps ([1e7ce93](1e7ce93)) * update workbox deps to avoid deprecation warnings ([9a81c4a](9a81c4a)) * use strings for 'boolean' env vars ([eaf5e66](eaf5e66)) ### Features * create initial TS template ([#868](#868)) ([2795f79](2795f79)) * enable HMR for .js files ([5f4683c](5f4683c)) * handle plugins with Vite [LIBS-610] ([#863](#863)) ([ca5be0d](ca5be0d)) * jsx migration script ([#869](#869)) ([7764f49](7764f49)) * migrate snap files too ([#878](#878)) ([521f483](521f483)) * replace CRA with Vite [LIBS-598] ([#847](#847)) ([3dd0e59](3dd0e59)) * upgrade react to v18 ([#876](#876)) ([77ecf10](77ecf10)) * **init:** set direction: 'auto' and import locales for new apps [LIBS-645] ([#867](#867)) ([4eda4a9](4eda4a9)) ### BREAKING CHANGES * require react version 18 * fix: pin react version to 18 * test: update test and test libraries for react 18 * Supported Node versions are 18.x or 20+ * ci: upgrade Node version * fix: always add PWA_ENABLED to app env for better static analysis * chore: pause precache manifest injection * fix: building SW without CRA * chore: comment update * fix: group moment locales in their own dir * refactor: clean up precache injection * fix: locale utils and handling moment in jest * fix: compile correctly after merging changes * chore: comment in compile.js * chore: some clean-up * chore: comments * fix: use port 3000 for the dev server * fix: improve moment locale chunk naming * chore: remove CRA * fix: use mjs build of Vite * fix: bump cli-style for CRA fix * feat: use interactive dev server output from Vite * fix: make dev server port configurable * chore: remove old index.html * fix: env tweaks
1 parent 372b888 commit bbcd124

File tree

8 files changed

+104
-13
lines changed

8 files changed

+104
-13
lines changed

CHANGELOG.md

Lines changed: 91 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,94 @@
1+
# [12.0.0](https://github.com/dhis2/app-platform/compare/v11.7.5...v12.0.0) (2024-12-13)
2+
3+
4+
### Bug Fixes
5+
6+
* **deps:** upgrade app-runtime and ui ([#895](https://github.com/dhis2/app-platform/issues/895)) ([8ed0ec3](https://github.com/dhis2/app-platform/commit/8ed0ec3b2e3468d256c7ca5f335c43fcfd040ef6))
7+
* **deps:** upgrade react to 18 in example apps ([#900](https://github.com/dhis2/app-platform/issues/900)) ([7fd16d7](https://github.com/dhis2/app-platform/commit/7fd16d7fa347a804d9c78ae86976859fef54632b))
8+
* **deps:** use npm v6 before publishing ([01ad502](https://github.com/dhis2/app-platform/commit/01ad502f039b917e53268fb8b9ec73f14ccf84bc))
9+
* **init:** update bootstrap script branch ([#896](https://github.com/dhis2/app-platform/issues/896)) ([33c261a](https://github.com/dhis2/app-platform/commit/33c261a1f33b02b46605b48260987e5d09920227))
10+
* **plugin:** clean up resize observer and handle sonarqube warnings ([#898](https://github.com/dhis2/app-platform/issues/898)) ([f113dd5](https://github.com/dhis2/app-platform/commit/f113dd5a1ddea58a2f3e94a15c7075a95fee823e))
11+
* alerts from plugins [LIBS-695] ([#881](https://github.com/dhis2/app-platform/issues/881)) ([21be0d2](https://github.com/dhis2/app-platform/commit/21be0d225c67a8af67dc43d7bfe306cfa1dd0008))
12+
* allow serving files from cwd node_modules ([0233949](https://github.com/dhis2/app-platform/commit/023394975c4e0cd719698160946908b342b580b2))
13+
* base url env & refactor [LIBS-635] ([#872](https://github.com/dhis2/app-platform/issues/872)) ([7f19259](https://github.com/dhis2/app-platform/commit/7f19259c470e590201d7ec9e58d84892b1d418cd))
14+
* bump ui library ([#882](https://github.com/dhis2/app-platform/issues/882)) ([1ae9569](https://github.com/dhis2/app-platform/commit/1ae9569691771b372e477d6f122ae4e7e2190bf7))
15+
* clear only required build dirs ([#894](https://github.com/dhis2/app-platform/issues/894)) ([179305f](https://github.com/dhis2/app-platform/commit/179305ff268a215f0bd0ea1f8edd39f3e3ecbba3))
16+
* env refactor for Vite wrap-up [LIBS-690] ([#889](https://github.com/dhis2/app-platform/issues/889)) ([84da4e6](https://github.com/dhis2/app-platform/commit/84da4e6464e8dda752857706c91f2e1ba6ab35af))
17+
* injectPrecacheManifest warning logging ([a0d266e](https://github.com/dhis2/app-platform/commit/a0d266ed456053f37023c80f8dcfd36b3dee0d49))
18+
* normalize to .js extensions when compiling libraries ([#893](https://github.com/dhis2/app-platform/issues/893)) ([58b33a8](https://github.com/dhis2/app-platform/commit/58b33a812ba22e58a966a535c432dafea4cb8880))
19+
* **service-worker:** handle undefined config vars in injectPrecacheManifest ([a90a4e0](https://github.com/dhis2/app-platform/commit/a90a4e06b25cdecfaf31f24dc51f28c98f20d122))
20+
* correct app shell paths ([#883](https://github.com/dhis2/app-platform/issues/883)) ([a1af71c](https://github.com/dhis2/app-platform/commit/a1af71cf56d3a01d57abfb1e3d2e477e4edea03d))
21+
* handle jsx in js support [LIBS-633] ([#871](https://github.com/dhis2/app-platform/issues/871)) ([595a35d](https://github.com/dhis2/app-platform/commit/595a35df88ed2c2b43decf78a0259398eac07a33))
22+
* increase precache max file size to 3 MB ([b20ed22](https://github.com/dhis2/app-platform/commit/b20ed22f6f2f4c615f712de3047d5f2d8c77d638))
23+
* remove custom eslint from TS template ([71cef4b](https://github.com/dhis2/app-platform/commit/71cef4b335be3a697926e7cacd2641d35a6adb4d))
24+
* update deps ([1e7ce93](https://github.com/dhis2/app-platform/commit/1e7ce938ebc9ee8e7c680d2b29fbc4fbb401c8fd))
25+
* update workbox deps to avoid deprecation warnings ([9a81c4a](https://github.com/dhis2/app-platform/commit/9a81c4a21e78be9c1d5fcb76db53e379583c7190))
26+
* use strings for 'boolean' env vars ([eaf5e66](https://github.com/dhis2/app-platform/commit/eaf5e66e4d655dc9709c34c04addcbe7b330f4fc))
27+
28+
29+
### Features
30+
31+
* create initial TS template ([#868](https://github.com/dhis2/app-platform/issues/868)) ([2795f79](https://github.com/dhis2/app-platform/commit/2795f79ff0c060aab0169faa3611c3e0f9d871a3))
32+
* enable HMR for .js files ([5f4683c](https://github.com/dhis2/app-platform/commit/5f4683ced150eafa9633b08e004662715d1a842c))
33+
* handle plugins with Vite [LIBS-610] ([#863](https://github.com/dhis2/app-platform/issues/863)) ([ca5be0d](https://github.com/dhis2/app-platform/commit/ca5be0dae4dafc1b100648ec5de65d517593490e))
34+
* jsx migration script ([#869](https://github.com/dhis2/app-platform/issues/869)) ([7764f49](https://github.com/dhis2/app-platform/commit/7764f49b6a73edce636abdf246c326ab7b848d52))
35+
* migrate snap files too ([#878](https://github.com/dhis2/app-platform/issues/878)) ([521f483](https://github.com/dhis2/app-platform/commit/521f483433dd6f2a06ff5b2ba2c0c3433d0d2df1))
36+
* replace CRA with Vite [LIBS-598] ([#847](https://github.com/dhis2/app-platform/issues/847)) ([3dd0e59](https://github.com/dhis2/app-platform/commit/3dd0e5938dda443751cb1a5627226a6ecf13377c))
37+
* upgrade react to v18 ([#876](https://github.com/dhis2/app-platform/issues/876)) ([77ecf10](https://github.com/dhis2/app-platform/commit/77ecf1039cd4eafb5b5ef604706db6ca062f45df))
38+
* **init:** set direction: 'auto' and import locales for new apps [LIBS-645] ([#867](https://github.com/dhis2/app-platform/issues/867)) ([4eda4a9](https://github.com/dhis2/app-platform/commit/4eda4a9287ee9d1abe93c5f82647c3a028939bb3))
39+
40+
41+
### BREAKING CHANGES
42+
43+
* require react version 18
44+
45+
* fix: pin react version to 18
46+
47+
* test: update test and test libraries for react 18
48+
* Supported Node versions are 18.x or 20+
49+
50+
* ci: upgrade Node version
51+
52+
* fix: always add PWA_ENABLED to app env for better static analysis
53+
54+
* chore: pause precache manifest injection
55+
56+
* fix: building SW without CRA
57+
58+
* chore: comment update
59+
60+
* fix: group moment locales in their own dir
61+
62+
* refactor: clean up precache injection
63+
64+
* fix: locale utils and handling moment in jest
65+
66+
* fix: compile correctly after merging changes
67+
68+
* chore: comment in compile.js
69+
70+
* chore: some clean-up
71+
72+
* chore: comments
73+
74+
* fix: use port 3000 for the dev server
75+
76+
* fix: improve moment locale chunk naming
77+
78+
* chore: remove CRA
79+
80+
* fix: use mjs build of Vite
81+
82+
* fix: bump cli-style for CRA fix
83+
84+
* feat: use interactive dev server output from Vite
85+
86+
* fix: make dev server port configurable
87+
88+
* chore: remove old index.html
89+
90+
* fix: env tweaks
91+
192
# [12.0.0-alpha.29](https://github.com/dhis2/app-platform/compare/v12.0.0-alpha.28...v12.0.0-alpha.29) (2024-12-11)
293

394

adapter/package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@dhis2/app-adapter",
3-
"version": "12.0.0-alpha.29",
3+
"version": "12.0.0",
44
"repository": {
55
"type": "git",
66
"url": "https://github.com/amcgee/dhis2-app-platform",
@@ -21,11 +21,11 @@
2121
"build"
2222
],
2323
"dependencies": {
24-
"@dhis2/pwa": "12.0.0-alpha.29",
24+
"@dhis2/pwa": "12.0.0",
2525
"moment": "^2.24.0"
2626
},
2727
"devDependencies": {
28-
"@dhis2/cli-app-scripts": "12.0.0-alpha.29",
28+
"@dhis2/cli-app-scripts": "12.0.0",
2929
"@testing-library/react": "^16.0.1",
3030
"@testing-library/dom": "^10.4.0",
3131
"enzyme": "^3.11.0",

cli/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@dhis2/cli-app-scripts",
3-
"version": "12.0.0-alpha.29",
3+
"version": "12.0.0",
44
"engines": {
55
"node": "^18.0.0 || >=20.0.0"
66
},
@@ -30,7 +30,7 @@
3030
"@babel/preset-env": "^7.14.7",
3131
"@babel/preset-react": "^7.0.0",
3232
"@babel/preset-typescript": "^7.6.0",
33-
"@dhis2/app-shell": "12.0.0-alpha.29",
33+
"@dhis2/app-shell": "12.0.0",
3434
"@dhis2/cli-helpers-engine": "^3.2.2",
3535
"@jest/core": "^27.0.6",
3636
"@pmmmwh/react-refresh-webpack-plugin": "^0.5.4",

examples/pwa-app/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "pwa-app",
3-
"version": "12.0.0-alpha.29",
3+
"version": "12.0.0",
44
"description": "",
55
"license": "BSD-3-Clause",
66
"private": true,

examples/simple-app/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "simple-app",
3-
"version": "12.0.0-alpha.29",
3+
"version": "12.0.0",
44
"repository": "https://github.com/amcgee/dhis2-app-platform",
55
"author": "Austin McGee <[email protected]>",
66
"license": "BSD-3-Clause",

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "root",
3-
"version": "12.0.0-alpha.29",
3+
"version": "12.0.0",
44
"private": true,
55
"repository": {
66
"type": "git",

pwa/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@dhis2/pwa",
3-
"version": "12.0.0-alpha.29",
3+
"version": "12.0.0",
44
"description": "",
55
"license": "BSD-3-Clause",
66
"publishConfig": {
@@ -13,7 +13,7 @@
1313
"deploy": "d2-app-scripts deploy"
1414
},
1515
"devDependencies": {
16-
"@dhis2/cli-app-scripts": "12.0.0-alpha.29"
16+
"@dhis2/cli-app-scripts": "12.0.0"
1717
},
1818
"dependencies": {
1919
"idb": "^6.0.0",

shell/package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@dhis2/app-shell",
3-
"version": "12.0.0-alpha.29",
3+
"version": "12.0.0",
44
"engines": {
55
"node": "^18.0.0 || >=20.0.0"
66
},
@@ -15,10 +15,10 @@
1515
"access": "public"
1616
},
1717
"dependencies": {
18-
"@dhis2/app-adapter": "12.0.0-alpha.29",
18+
"@dhis2/app-adapter": "12.0.0",
1919
"@dhis2/app-runtime": "^3.12.0",
2020
"@dhis2/d2-i18n": "^1.1.1",
21-
"@dhis2/pwa": "12.0.0-alpha.29",
21+
"@dhis2/pwa": "12.0.0",
2222
"@dhis2/ui": "^10.1.7",
2323
"classnames": "^2.2.6",
2424
"moment": "^2.29.1",

0 commit comments

Comments
 (0)