Releases: Altinn/app-frontend-react
v4.0.0-rc3
What's Changed
Breaking Changes 🛠
- Bugfix: Multiple issues with
openByDefault
by @olemartinorg in #1787 - Enable grid support in custom pdf by @bjosttveit in #1789
- Remove support for non-layout-sets apps by @bjosttveit in #1814
- Custom receipt must be configured with the new layout set configuration
New Features 🎉
- Showing the current git branch in LocalTest when picking a frontend version by @olemartinorg in #1769
- Added support for the property headingLevel on group components by @mikaelrss in #1793
- fix: add logging to devtools whenever an action fails. by @mikaelrss in #1798
- Fullwidth setting for layout pages by @Magnusrm in #1770
- Add language to more APIs by @bjosttveit in #1817
- feat: add support for defining a custom receipt layoutset by @mikaelrss in #1826
- Sticky header for repeating groups by @Magnusrm in #1832
Bugfixes 🐛
- Fixing some complex text resource lookups by @olemartinorg in #1765
- fix: Navigating between pages scrolls the window to top by @mikaelrss in #1768
- DevTools bugfixes by @bjosttveit in #1771
- Make sure buttons are not visible in PDF by @bjosttveit in #1775
- Fix custom PDF layout by @bjosttveit in #1777
- Remove global
list-style-type: none;
by @bjosttveit in #1788 - Make attachment summary more responsive by @bjosttveit in #1796
- hiding hidden rows in summary by @adamhaeger in #1810
- Fix/1779 likert error report by @mikaelrss in #1800
- Fix
labelFrom
in Grid by @bjosttveit in #1819 - Allowing project references in version numbers by @olemartinorg in #1824
- Fix options loading and clearing by @bjosttveit in #1829
- fix: use forwardRef instead of renaming the ref-component by @mikaelrss in #1831
- fix: focus on main content of the form on page navigation by @mikaelrss in #1837
Other Changes
- Make dev check not care about port by @bjosttveit in #1766
- Adding cypress test for custom confirm page, removing
go-to-task
button by @olemartinorg in #1818 - Adding cypress test for validation + saving
onChangePage
by @olemartinorg in #1820 - fix: make all layout componenst support receiving refs by @mikaelrss in #1836
Dependency Upgrades 📦
- fix(deps): update digdir design system (main) by @renovate in #1683
- chore(deps): update dependency cypress-wait-until to v3 (main) by @renovate in #1690
- fix(deps): update digdir design system (main) by @renovate in #1803
New Contributors
- @adamhaeger made their first contribution in #1810
Full Changelog: v4.0.0-rc2...v4.0.0-rc3
v3.68.4
What's Changed
Bugfixes 🐛
- Fix/1730 jaws likert issues by @mikaelrss in #1778
- Fixing
go-to-task
button, adding tests (v3) by @olemartinorg in #1816 - Fix
labelFrom
in Grid (v3) by @bjosttveit in #1822 - fix: navigate to main content whenever the user performs a page navigation by @mikaelrss in #1839
Full Changelog: v3.68.3...v3.68.4
v4.0.0-rc2
What's Changed
Breaking Changes 🛠
- Renaming AddressComponent -> Address + bugfixes, improvements by @olemartinorg in #1761
Bugfixes 🐛
- fix: update types to httpGetRaw and httpGet by @mikaelrss in #1743
- fix: issue with storing false values in data model not validating as … by @mikaelrss in #1751
- Fix erroneous schema validation errors for null/undefined values by @bjosttveit in #1754
Full Changelog: v4.0.0-rc1...v4.0.0-rc2
v4.0.0-rc1
What's Changed
The first release candidate for v4 is here! 🥳
Read the documentation detailing breaking changes and how to migrate from v3 -> v4 here.
This also includes the changes from v4.0.0-alpha1.
Breaking Changes 🛠
- Accessible titles for groups and grid by @Magnusrm in #1693
- Rewriting form data storage by @olemartinorg in #1712
- Fixes for option components + tests and adjustments by @olemartinorg in #1717
- Rewrite validation logic from redux sagas to context and hooks by @bjosttveit in #1719
- On-demand fetching data models used in text resource variables by @olemartinorg in #1721
- Split group into separate components by @lassopicasso in #1713
- Implementing an error message when backend version is outdated by @olemartinorg in #1745
- JsonPatch support + automatic validation on save by @olemartinorg in #1742
Bugfixes 🐛
- Bug: CustomButton authorization by @mikaelrss in #1715
- fix: issue with navigation redirecting to /undefined/Task_1 when remo… by @mikaelrss in #1722
- fix: trying to fetch null language when no language is specified in p… by @mikaelrss in #1727
- Language provider fetching null language by @mikaelrss in #1731
- fix: use langAsNonProcessedString instead of langAsString in text dyn… by @mikaelrss in #1729
- Fix/application logo stretch by @mikaelrss in #1740
Other Changes
- Deleting old stuff (fortawesome & tjenester3.css) by @bjosttveit in #1725
- Switch back to
Altinn-DIN
font by @bjosttveit in #1718
Full Changelog: v4.0.0-alpha1...v4.0.0-rc1
v3.68.3
What's Changed
New Features 🎉
Bugfixes 🐛
- fix: issue with organisation logo stretching horizontally by @mikaelrss in #1741
Dependency Upgrades 📦
- chore(deps): update dependency lint-staged to v15 (v3) by @renovate in #1588
- chore(deps): update npm non-major dependencies (v3) by @renovate in #1587
- Upgrade design system to 0.35.0 (v3) by @bjosttveit in #1618
- chore(deps): update dependency eslint-plugin-testing-library to v6 (v3) by @renovate in #1546
- chore(deps): update dependency @testing-library/jest-dom to v6 (v3) by @renovate in #1545
- fix(deps): update digdir design system (v3) by @renovate in #1640
- chore(deps): update dependency eslint-plugin-sonarjs to v0.23.0 (v3) by @renovate in #1675
- chore(deps): update npm non-major dependencies (v3) by @renovate in #1674
Full Changelog: v3.68.2...v3.68.3
v4.0.0-alpha1
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-m...
v3.68.2
What's Changed
Bugfixes 🐛
- Workaround for critical bug when pressing back button in browser (for stateless->stateful apps) by @olemartinorg in #1572
- Likert: Remove extra labelledById attribute (v3) by @lasseklovstad in #1536
- Fix summary content overflow by @bjosttveit in #1576
Other Changes
- Switch to
-v3
test apps by @bjosttveit in #1519 - Upgrade checkboxes (v3) by @bjosttveit in #1581
- Switch CDN release pipeline to production setup by @tjololo in #1539
Dependency Upgrades 📦
- chore(deps): update npm non-major dependencies (v3) by @renovate in #1526
- chore(deps): update npm non-major dependencies (v3) by @renovate in #1542
- chore(deps): update actions/checkout action to v4 (v3) by @renovate in #1543
- chore(deps): update dependency @testing-library/cypress to v10 (v3) by @renovate in #1544
- chore(deps): update dependency fork-ts-checker-webpack-plugin to v9 (v3) by @renovate in #1566
- chore(deps): update npm non-major dependencies (v3) by @renovate in #1565
- 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
- Updated design system (0.32.1) by @bjosttveit
Full Changelog: v3.68.1...v3.68.2
v3.68.1
What's Changed
Bugfixes 🐛
- List: parse data in list as markdown by @mikaelrss in #1479
- Bytte ut Legacy Radio by @lasseklovstad in #1467
- Fixing a missing await in backend introduced a change in the API response by @tjololo in #1499
Full Changelog: v3.68.0...v3.68.1
v3.68.0
What's Changed
New Features 🎉
- feat: add support for a size option in organisation logo by @mikaelrss
Bugfixes 🐛
- Fixing reference for triggers in
layoutSettings.schema.v1.json
by @olemartinorg in #1445 - Fix validation message with tag title (v3) by @bjosttveit in #1454
- Show leftColumnHeader in Likert when mobile view by @lasseklovstad
Full Changelog: v3.67.0...v3.68.0
v3.67.0
What's Changed
New Features 🎉
- Add custom required validation text by @Magnusrm in #1333
- Auto-generated TypeScript and JsonSchema for components by @olemartinorg in #1406
⚠️ You may see new warnings when editing layout files in vscode after this change. For more information, see our documentation.
- feat(Logo): Add options for setting custom logos in forms by @mikaelrss in #1396
- Allow opening instances in new tab when middle-clicked by @olemartinorg in #1427
Bugfixes 🐛
- WCAG: Fix special character in title by @bjosttveit in #1412
- Enable help text in grid cells to use language resource files by @lassopicasso in #1415
- Bug fix when using nynorsk in number formatting by @lassopicasso in #1423
- Fix: Showing all validation messages when submitting by @olemartinorg in #1416
- Fix: Do not filter backend validations on submit by @bjosttveit in #1437
- Small tweaks/fixes to dev tools by @bjosttveit in #1430
- Fixing the 'open instance in new tab' functionality to work on Mac by @olemartinorg in #1438
- fix: issue with organisation logo not taking the available space by @mikaelrss in #1443
Other Changes
- Minor changes to make merging from main in #1175 easier by @olemartinorg in #1413
- Removing unused code by @olemartinorg in #1421
- Rewriting data model (schema + data) fetching to Tanstack Query by @olemartinorg in #1425
Dependency Upgrades 📦
- fix(deps): update digdir design system by @renovate in #1411
- chore(deps): update npm non-major dependencies by @renovate in #1418
- fix(deps): update dependency @altinn/altinn-design-system to v0.29.1 by @renovate in #1419
- chore(deps): update dependency eslint-plugin-sonarjs to v0.21.0 by @renovate in #1420
- chore(deps): update dependency @pmmmwh/react-refresh-webpack-plugin to v0.5.11 by @renovate in #1398
- fix(deps): update digdir design system by @renovate in #1424
- chore(deps): update dependency cypress to v13 by @renovate in #1433
- chore(deps): update npm non-major dependencies by @renovate in #1432
Full Changelog: v3.66.3...v3.67.0