Releases: Altinn/app-lib-dotnet
8.5.0
Versjon 8.5.0 baserer seg på enkelte endringer i localtest, så hvis du oppgraderer vil appen din ikke starte før du har oppdatert localtest (husk --build
i kommandoen til docker)
cd app-localtest
git pull
# start localtest using the instructions on https://github.com/Altinn/app-localtest
De viktiste endringene er de følgende (se nedenfor for liste over pull requests)
- Forbedret synkronisering av endrede skjemadata mellom backend og frontend
- Nye interfaces IValidator og IDataWriteProcessor
- Underskjema og flere datamodeller
- Støtte for å slå opp personer og organisasjoner uten å skrive egen kode
What's Changed
New Features 🎉
- Add an optional footer for the generated PDF by @Magnusrm in #792
- Support Extra data models and subforms in validation by @ivarne in #730
- Use text resource bindings to get footer title by @Magnusrm in #836
- Call IDataWriteProcessor on all data element mutations and add new POST endpoint with better response type by @ivarne in #853
- Implement IInstanceDataMutator.AbandonAllChanges by @ivarne in #870
- Added support for displaying a text if the user is previewing the pdf by @adamhaeger in #904
- Correspondence client by @danielskovli in #897
- Use extension methods instead of properties for convenience methods on IInstantanceDataAccessor by @ivarne in #907
- Use 'instanceandevents' endpoint when updating process state, so that process and events are updated in a single transaction by @martinothamar in #937
- Endpoint for fetching current party roles by @adamhaeger in #983
- Person and Organisation Lookup Controllers by @cammiida in #997
- Validate that the localtest version is new enough for the app on startup by @martinothamar in #1007
Bugfixes 🐛
- Fix process history with telemetry by @ivarne in #841
- Handle invalid XML chars by @martinothamar in #838
- Send language to IUserAction's when running process/next by @ivarne in #872
- Fix compatibility code in ActionsController to properly handle the obsolete UpdatedDataModels by @ivarne in #885
- Add tests for data element Post and fix bug with AbandonChanges by @ivarne in #875
- POST instance: don't attempt to parse instance from body when it's empty or not json by @ivarne in #888
- use presence of org in user claims for conditionally setting read status on instance create by @chrrust in #887
- Fix VerifyDataElementsUnchangedSincePreviousChanges by @ivarne in #905
- Revert to using Newtonsoft.Json for parsing instance by @ivarne in #910
- Fix double save in multipart requests by @ivarne in #967
Dependency Upgrades 📦
- Update dependency Verify.Xunit to v28 (main) by @renovate in #891
- Update csharpier by @ivarne in #917
- Update nuget non-major dependencies (main) by @renovate in #747
- Update dependency MinVer to v6 (main) by @renovate in #766
- Fix issues exposed by dotnet 9 sdk by @ivarne in #920
- Update dependency Microsoft.Extensions.TimeProvider.Testing to v9 (main) by @renovate in #949
- Update dependency Microsoft.Extensions.Diagnostics.Testing to v9 (main) by @renovate in #936
- Update dependency FluentAssertions to v7 (main) by @renovate in #948
- Update nuget non-major dependencies (main) by @renovate in #933
- chore(deps): update dependency microsoft.featuremanagement.aspnetcore to v4 (main) by @renovate in #890
- Update dependency Swashbuckle.AspNetCore to v7 (main) by @renovate in #950
Other Changes
- Add draft support for adding/removing/modifying other data elements in dataProcessWrite by @ivarne in #809
- Make backend expression "equals" support float and long data types by @ivarne in #807
- Use ApiConventions to solve enum serialization on assembly scope by @HauklandJ in #784
- Add test for posting instance simplified with prefill by @martinothamar in #819
- Remove default implementation from IDataWriteProcessor by @ivarne in #834
- Include the full instance in single patch response by @ivarne in #835
- Fix NullReferenceException when using a gateway before instance is created by @chrrust in #848
- Ensure that we cleanup instances after running tests that create instances by @ivarne in #855
New Contributors
- @chrrust made their first contribution in #848
- @adamhaeger made their first contribution in #904
Full Changelog: v8.3.8...v8.5.0
v8.5.0-rc16
What's Changed
Bugfixes 🐛
- Correspondence client serialisation update by @danielskovli in #1014
Full Changelog: v8.5.0-rc15...v8.5.0-rc16
v8.5.0-rc15
What's Changed
New Features 🎉
- Person and Organisation Lookup Controllers by @cammiida in #997
- Validate that the localtest version is new enough for the app on startup by @martinothamar in #1007
Full Changelog: v8.5.0-rc14...v8.5.0-rc15
v8.5.0-rc14
Release to test role API.
What's Changed
New Features 🎉
- Endpoint for fetching current party roles by @adamhaeger in #983
Full Changelog: v8.5.0-rc13...v8.5.0-rc14
v8.5.0-rc13
What's Changed
New Features 🎉
- Use 'instanceandevents' endpoint when updating process state, so that process and events are updated in a single transaction by @martinothamar in #937
Full Changelog: v8.5.0-rc12...v8.5.0-rc13
v8.5.0-rc12
What's Changed
Bugfixes 🐛
Dependency Upgrades 📦
- Update dependency Microsoft.Extensions.TimeProvider.Testing to v9 (main) by @renovate in #949
- Update dependency Microsoft.Extensions.Diagnostics.Testing to v9 (main) by @renovate in #936
- Update dependency FluentAssertions to v7 (main) by @renovate in #948
- Update nuget non-major dependencies (main) by @renovate in #933
- chore(deps): update dependency microsoft.featuremanagement.aspnetcore to v4 (main) by @renovate in #890
- Update dependency Swashbuckle.AspNetCore to v7 (main) by @renovate in #950
Full Changelog: v8.5.0-rc11...v8.5.0-rc12
v8.5.0-rc11
v8.5.0-rc10
What's Changed
New Features 🎉
- Update correspondence request model by @danielskovli in #926
Full Changelog: v8.5.0-rc9...v8.5.0-rc10
v8.5.0-rc9
This release makes a few changes to the IInstanceDataAccessor
interface, so that instead of dataAccessor.DataElements.Where(dataElement => dataTypeId.Equals("default", StringComparison.Ordinal))
, you can write dataAccessor.GetDataElementsForType("default")
, which is easier and clearer.
v8.5.0-rc8 failed on the release script, so we had to skip it.
What's Changed
New Features 🎉
- Use extension methods instead of properties for convenience methods on IInstantanceDataAccessor by @ivarne in #907
Dependency Upgrades 📦
Full Changelog: v8.5.0-rc7...v8.5.0-rc8
v8.5.0-rc7
What's Changed
New Features 🎉
- Correspondence client by @danielskovli in #897
Bugfixes 🐛
Dependency Upgrades 📦
- Update dependency Verify.Xunit to v28 (main) by @renovate in #891
- Update csharpier by @ivarne in #917
- Update nuget non-major dependencies (main) by @renovate in #747
- Update dependency MinVer to v6 (main) by @renovate in #766
Full Changelog: v8.5.0-rc6...v8.5.0-rc7