Skip to content

Releases: Altinn/app-lib-dotnet

8.5.0

14 Jan 10:58
58f0eef
Compare
Choose a tag to compare

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

Full Changelog: v8.3.8...v8.5.0

v8.5.0-rc16

09 Jan 14:35
5af7bc5
Compare
Choose a tag to compare
v8.5.0-rc16 Pre-release
Pre-release

What's Changed

Bugfixes 🐛

Full Changelog: v8.5.0-rc15...v8.5.0-rc16

v8.5.0-rc15

09 Jan 08:31
11f1d33
Compare
Choose a tag to compare
v8.5.0-rc15 Pre-release
Pre-release

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

20 Dec 12:30
699b82a
Compare
Choose a tag to compare
v8.5.0-rc14 Pre-release
Pre-release

Release to test role API.

What's Changed

New Features 🎉

Full Changelog: v8.5.0-rc13...v8.5.0-rc14

v8.5.0-rc13

11 Dec 12:29
80c12b5
Compare
Choose a tag to compare
v8.5.0-rc13 Pre-release
Pre-release

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

11 Dec 07:48
383c9e5
Compare
Choose a tag to compare
v8.5.0-rc12 Pre-release
Pre-release

What's Changed

Bugfixes 🐛

  • Fix double save in multipart requests by @ivarne in #967

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

05 Dec 07:32
aae3a6c
Compare
Choose a tag to compare
v8.5.0-rc11 Pre-release
Pre-release

What's Changed

Other Changes

  • Update correspondence authorization scope and other minor tweaks in #943, #944

Full Changelog: v8.5.0-rc10...v8.5.0-rc11

v8.5.0-rc10

26 Nov 11:05
099c4a0
Compare
Choose a tag to compare
v8.5.0-rc10 Pre-release
Pre-release

What's Changed

New Features 🎉

Full Changelog: v8.5.0-rc9...v8.5.0-rc10

v8.5.0-rc9

22 Nov 12:40
723992f
Compare
Choose a tag to compare
v8.5.0-rc9 Pre-release
Pre-release

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 📦

  • Fix issues exposed by dotnet 9 sdk by @ivarne in #920

Full Changelog: v8.5.0-rc7...v8.5.0-rc8

v8.5.0-rc7

21 Nov 14:53
9cb9bc6
Compare
Choose a tag to compare
v8.5.0-rc7 Pre-release
Pre-release

What's Changed

New Features 🎉

Bugfixes 🐛

  • Revert to using Newtonsoft.Json for parsing instance by @ivarne in #910

Dependency Upgrades 📦

Full Changelog: v8.5.0-rc6...v8.5.0-rc7