Releases: Altinn/app-frontend-react
Releases · Altinn/app-frontend-react
v4.3.1
v4.3.0
What's Changed
New Features 🎉
- Feat/1736 payment by @adamhaeger in #2043
- Pagination for repeating groups by @bjosttveit in #2085
Bugfixes 🐛
- Fix/2000 empty headers and description by @paal2707 in #2093
- fixes validation message formatting/styling and adds smaller changes to useLanguage hook by @cammiida in #2098
- Display name instead of paymentId in name field, and format expiration date by @Magnusrm in #2094
- Fix edge case where validations may not show up by @bjosttveit in #2111
Other Changes
- Fix severities in expression validation schema by @bjosttveit in #2075
- Several performace improvements by @bjosttveit in #2076
- Prefetching requests to reduce page load time by @bjosttveit in #2092
- Avoid 401 in anonymous apps due to prefetching by @bjosttveit in #2100
- Make sure payment data is loaded for PDF by @bjosttveit in #2103
Dependency Upgrades 📦
- chore(deps): update dependency eslint-plugin-cypress to v3 (main) by @renovate in #2081
- chore(deps): update npm non-major dependencies (main) by @renovate in #2079
New Contributors
Full Changelog: v4.2.2...v4.3.0
v4.2.3-pagination.1
Repeating group pagination preview. See #2085
v4.2.2
What's Changed
Bugfixes 🐛
- Org num show for person by @adamhaeger in #2003
- Fix "Unknown error" on submit when there are validation messages by @bjosttveit in #2042
- Fix hierarchy generation crashing due to missing null check by @bjosttveit in #2056
- Make map marker visible in PDF and readyForPrint more robust by @bjosttveit in #2048
- Make sure patch requests sets the correct
language
param by @bjosttveit in #2046
Other Changes
- Feature/clean generated files by @adamhaeger in #2032
Dependency Upgrades 📦
- Update designsystem to 0.56.1 by @Magnusrm in #2009
- chore(deps): update npm non-major dependencies (main) by @renovate in #2014
- chore(deps): update dependency eslint-plugin-sonarjs to v0.25.1 (main) by @renovate in #2013
- chore(deps): update dependency @testing-library/react to v15 (main) by @renovate in #2030
- fix(deps): update dependency @navikt/aksel-icons to v6 (main) by @renovate in #1998
- chore(deps): update dependency @testing-library/dom to v10 (main) by @renovate in #2029
- fix(deps): update dependency ajv-formats to v3 (main) by @renovate in #1999
- chore(deps): update dependency webpack-dev-server to v5 (main) by @renovate in #1980
- chore(deps): update dependency source-map-loader to v5 (main) by @renovate in #1979
Full Changelog: v4.2.1...v4.2.2
v4.2.1
What's Changed
Bugfixes 🐛
- Fix Input in readOnly row looking strange when empty by @adamhaeger in #2006
- Fix PDF generator crashing when having Grid inside Group by @bjosttveit in #2019
Full Changelog: v4.2.0...v4.2.1
v4.2.0
What's Changed
New Features 🎉
- feat: add textResourceBinding.returnToSummaryButtonTitle for Summary component by @mikaelrss in #1945
- feat: add property nextButton to Summary component's display property by @mikaelrss in #1947
- feat: Add function for creating links to pages/components in the form… by @mikaelrss in #1948
- fix: make the back button be secondary variant if next button is present by @mikaelrss in #1946
Bugfixes 🐛
- fix: decimal separator stripped from textinput by @adamhaeger in #1823
- Fix/1696 decimal separator stripped edge case by @adamhaeger in #1969
- Do not show required validation when data is invalid by @bjosttveit in #1993
- Fallback to title for summary titles for group by @Magnusrm in #1976
- Align helptext with legend by @Magnusrm in #1975
- Render linkToComponent and linkToPage as pure text if hidden/does not exist by @mikaelrss in #1995
- fix: styled the text-only focus state to look more like the input state by @adamhaeger in #1990
Dependency Upgrades 📦
- fix(deps): update npm non-major dependencies (main) by @renovate in #1929
- chore(deps): update dependency jsdom to v24 (main) by @renovate in #1967
- chore(deps): update dependency husky to v9 (main) - autoclosed by @renovate in #1966
- chore(deps): update dependency @types/marked to v6 (main) by @renovate in #1965
- chore(deps): update npm non-major dependencies (main) by @renovate in #1964
- chore(deps): update dependency eslint-plugin-sonarjs to v0.25.0 (main) by @renovate in #1996
- chore(deps): update dependency @types/mime to v4 (main) by @renovate in #1997
- chore(deps): update npm non-major dependencies (main) by @renovate in #1978
Full Changelog: v4.1.2...v4.2.0
v4.1.2
What's Changed
Bugfixes 🐛
- Allow showValidations on repeating group by @bjosttveit in #1926
- Fix typos in nynorsk texts by @tina-ahm in #1936
- Give certain schema validations
Required
visibility, and filter duplicates by @bjosttveit in #1935
Dependency Upgrades 📦
- chore(deps): update dependency fork-ts-checker-notifier-webpack-plugin to v9 (main) by @renovate in #1932
- chore(deps): update dependency eslint-plugin-simple-import-sort to v12 (main) by @renovate in #1931
- chore(deps): update dependency @typescript-eslint/parser to v7 (main) by @renovate in #1930
New Contributors
Full Changelog: v4.1.1...v4.1.2
v4.1.1
What's Changed
Bugfixes 🐛
- Fixes for flaky tests, separate configs for docker/podman by @olemartinorg in #1919
- Fix validation of minNumberOfAttachments by @bjosttveit in #1921
- Fix repeating group minCount validation visibility by @bjosttveit in #1923
- Fix axios error logging by @bjosttveit in #1922
Dependency Upgrades 📦
- fix(deps): update dependency @altinn/altinn-design-system to v0.30.0 (main) by @renovate in #1802
- chore(deps): update dependency mime to v4 (main) by @renovate in #1691
Full Changelog: v4.1.0...v4.1.1
v4.1.0
What's Changed
New Features 🎉
- Feat/1104 store selected codelist value in datamodel by @adamhaeger in #1879
Bugfixes 🐛
- Fix title in repeating group summary with reference to datamodel by @bjosttveit in #1913
- Dev Tools: Fix link between "Layout" and "Komponenter" by @bjosttveit in #1914
- Make AllExceptRequired validations default by @bjosttveit in #1893
- fix: issue where focus was set to main-content for apps without instance selection by @mikaelrss in #1910
Dependency Upgrades 📦
- chore(deps): update npm non-major dependencies (main) by @renovate in #1689
- chore(deps): update actions/upload-artifact action to v4 (main) by @renovate in #1855
- chore(deps): update dependency eslint-plugin-sonarjs to v0.24.0 (main) by @renovate in #1854
- chore(deps): update dependency @typescript-eslint/eslint-plugin to v7 (main) by @renovate in #1856
- fix(deps): update dependency @tanstack/react-query to v5 (main) by @renovate in #1626
Full Changelog: v4.0.0...v4.1.0
v4.0.0
Read more about this in docs:
- https://docs.altinn.studio/community/changelog/app-frontend/v4/migrating-from-v3/
- https://docs.altinn.studio/community/changelog/app-nuget/v8/migrating-from-v7/
What's Changed
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
- 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
- JsonPatch support + automatic validation on save by @olemartinorg in #1742
- Implementing an error message when backend version is outdated by @olemartinorg in #1745
- Renaming AddressComponent -> Address + bugfixes, improvements by @olemartinorg in #1761
- 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
- Unique row IDs for repeating groups by @olemartinorg in #1870
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
- 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
- Validation for "invalid data" that cannot be saved + refactoring by @bjosttveit in #1865
- PDF generator preview by @bjosttveit in #1866
- feat: added support for label for Address component by @adamhaeger in #1880
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
- 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
- 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/und...