v4.0.0-alpha1
Pre-release
Pre-release
·
561 commits
to main
since this release
What's Changed
Merry (early) Christmas from us in Team Apps! 🎅
Important notes
- Using this version requires updating to backend version v8. Apps will crash without good explanations without it.
- The font has changed, and may change yet again before the full release of v4.
- Custom receipt is broken and will not work in this alpha version. See #1468
- There is still a lot of refactoring and work to do (especially) regarding form data, validations and (repeating) groups. Features in this alpha is not always indicative of the final features that will arrive in app-frontend-react v4.
Breaking Changes 🛠
- Update font to Inter by @bjosttveit in #1448
- Debt: Remove legacy required ValidationIssue filter by @bjosttveit in #1449
- Respect do not prompt for party preference and remove feature toggle by @bjosttveit in #1451
- Tech debt: Language variables rewrite by @olemartinorg in #1444
- Remove footer feature flag by @bjosttveit in #1450
- Data model lookups + data model binding validations by @olemartinorg in #1473
- Remove
processActions
feature flag by @bjosttveit in #1516 - Expression validation by @bjosttveit in #1540
- Remove redudant filter functionality that hidden-expression covers by @lassopicasso in #1631
- Chore/1491 remove tracks functionality by @mikaelrss in #1645
- Attachmentlist config by @lassopicasso in #1642
- Fix/attachmentlist + refactor by @lassopicasso in #1656
- Rewriting usages of the
lang()
function to the<Lang />
component by @olemartinorg in #1681 - Refactor/1508 rewrite page navigation by @mikaelrss in #1682
New Features 🎉
- feat(TextResources): add support for defaultValue in variables in tex… by @mikaelrss in #1441
- feat: add support for a size option in organisation logo by @mikaelrss in #1464
- Feat/parse list columns as markdown by @mikaelrss in #1479
- Usegetoptions and data lists to hooks using tanstack by @lassopicasso in #1442
- Alert on change - radioButtons and checkBoxes by @lassopicasso in #1558
- feat: add a sortOrder property to Dropdown component to be able to so… by @mikaelrss in #1599
- feat: add support for sortOption for all selection components by @mikaelrss in #1614
- Feat/support for expressions in group label by @mikaelrss in #1607
- Feat/1609 date format dynamic expression function by @mikaelrss in #1610
- Add option for saving codelist queryparameters in datamodel by @Magnusrm in #1562
- Feat/133 magic button by @mikaelrss in #1694
Bugfixes 🐛
- Fixing inconsistent prev/next navigation buttons by @olemartinorg in #1446
- Fix validation message with tag title (v4) by @bjosttveit in #1455
- Show leftColumnHeader in Likert when mobile view by @lasseklovstad in #1466
- Bytte ut Legacy Radio by @lasseklovstad in #1467
- Making sure we don't revert to calling langAsString() when we previou… by @olemartinorg in #1482
- fix(RadioGroup): align helptext with label by @mikaelrss in #1513
- Replacing most
takeLatest
withtakeEvery
by @olemartinorg in #1518 - Fix custom attachment validation message by @bjosttveit in #1527
- Likert: Remove extra labelledById attribute by @lasseklovstad in #1536
- Fix issues in new CheckBox component + fix styling RadioButtonGroup by @lassopicasso in #1551
- Exclude expression validations from backend by @bjosttveit in #1571
- Fix summary content overflow by @bjosttveit in #1576
- Remove radio label if empty by @lasseklovstad in #1594
- fix: if defaultValue in text variables is set to empty string, the ap… by @mikaelrss in #1596
- fix: sort options based on their value not text resource key by @mikaelrss in #1635
- Fix: Language Selector Not Updating Text Resources Correctly by @lassopicasso in #1649
- Fix checkbox label alignment by @Magnusrm in #1654
- Fix: alertOnChange bugs by @lassopicasso in #1662
- The
<Lang />
component to replaceuseLanguage()
by @olemartinorg in #1671 - ParagraphComponent with fallback on if block-level elements by @lassopicasso in #1670
- fix: bug with scrolling to correct component while also changing page… by @mikaelrss in #1699
Other Changes
- Update readOnly description by @lassopicasso in #1480
- fix(AttachmentList): rewrite selectors to use createSelector from 're… by @mikaelrss in #1481
- Remove unused dependency
@material-ui/icons
by @bjosttveit in #1517 - Cleanup in sagas, queries by @olemartinorg in #1514
- New checkbox component by @lassopicasso in #1534
- Rewrite PDF sagas to a hook by @bjosttveit in #1550
- Rewrite fetch dynamics and fetch rules to tanstack query by @bjosttveit in #1559
- Make PDF tests less hacky by @bjosttveit in #1560
- Remove fetch party sagas and rewrite selectParty saga by @bjosttveit in #1561
- Delete fetch layout sets saga by @bjosttveit in #1567
- Rewrite
fetchTextResourcesSagas
to TanStack Query by @bjosttveit in #1569 - Remove pageRef property from Summary component by @bjosttveit in #1578
- Using
esbuild-loader
for faster development builds by @olemartinorg in #1600 - Validate components against layout schema by @bjosttveit in #1602
- refactor properties of IOptionSource to have suppport for expressions. by @mikaelrss in #1633
- The big cleanup, part 1 by @olemartinorg in #1643
- Refactoring app flow (the big cleanup, part 2) by @olemartinorg in #1663
Dependency Upgrades 📦
- chore(deps): update npm non-major dependencies (main) by @renovate in #1459
- chore(deps): update dependency @testing-library/cypress to v10 (main) by @renovate in #1475
- chore(deps): update npm non-major dependencies (main) by @renovate in #1521
- chore(deps): update actions/checkout action to v4 (main) by @renovate in #1460
- fix(deps): update dependency marked to v9 (main) by @renovate in #1523
- chore(deps): update dependency @testing-library/jest-dom to v6 (main) by @renovate in #1461
- chore(deps): update dependency eslint-plugin-testing-library to v6 - abandoned by @renovate in #1389
- chore(deps): update npm non-major dependencies (main) by @renovate in #1541
- chore(deps): update dependency fork-ts-checker-webpack-plugin to v9 (main) by @renovate in #1564
- fix(deps): update npm non-major dependencies (main) by @renovate in #1563
- Update digdir design-system/tokens
0.31.1
/0.8.0
by @bjosttveit in #1577 - Updated design system and tokens (0.32.0/0.8.1) by @bjosttveit in #1580
- chore(deps): update npm non-major dependencies (main) by @renovate in #1585
- chore(deps): update npm non-major dependencies (main) by @renovate in #1603
- chore(deps): update yarn to v4 (main) by @renovate in #1605
- chore(deps): update dependency lint-staged to v15 (main) by @renovate in #1586
- Upgrade design system to 0.35.0 by @bjosttveit in #1617
- chore(deps): update npm non-major dependencies (main) by @renovate in #1623
- chore(deps): update actions/setup-node action to v4 (main) by @renovate in #1624
- fix(deps): update npm non-major dependencies (main) by @renovate in #1638
- chore(deps): update npm non-major dependencies (main) by @renovate in #1652
- fix(deps): update dependency marked to v10 (main) by @renovate in #1653
- chore(deps): update dependency eslint-plugin-sonarjs to v0.23.0 (main) by @renovate in #1636
- fix(deps): update digdir design system (main) by @renovate in #1637
- fix(deps): update dependency html-react-parser to v5 (main) by @renovate in #1625
- chore(deps): update npm non-major dependencies (main) by @renovate in #1672
- chore(deps): update dependency jsdom to v23 (main) by @renovate in #1673
Full Changelog: v3.67.0...v4.0.0-alpha1