Releases: Dtronix/DtronixPackage
Releases · Dtronix/DtronixPackage
DtronixPackage v2.0.0.0 Released
DtronixPackage v1.2.0.1 Released
DtronixPacakge Version v1.2.0
General
- Allowed opening of read-only files.
- Created classes PackageWriter & PackageReader to read and write to package without directly calling ZipArchive methods.
- Added additional checks while opening a package to ensure a partial opening does not occur and corrupts the package.
- Added additional notifications on PackageManagerViewModel.
- Reworked upgrade system to handle proper ordering of upgrades.
API Changes
- Renamed IPackage.Version -> IPackage.PackageAppVersion.
- Renamed IPackage.AppVersion -> IPackage.CurrentAppVersion.
Upgrades
Upgrades are now based upon the version of the DtronixPackage and version of the Application using the package. When using the ApplicationPackageUpgrade
class, you will have to determine what DtronixPackage release you are targeting with the application upgrade. Select the base package version with the static PackageUpgradeVersion properties. These properties reflect only the structural changes which are made to the package by DtronixPackage. These will from here on out follow major version changes and not minor.
DtronixPacakge Version 1.1
General
- Changelog now contains upgrade information when upgrades are applied to the package.
- Added package upgrades which upgrade the main structure of the package prior to application upgrades.
- Fixed issue when save path is changed, the originally saved location is still used.
- Added more tests for core features.
- Remove Nlog dependency.
- Additional tests are performed to be more clear about why packages can't be opened in PackageManagerViewModel.
Package Structure Changes
- SaveLog (save_log.json) changed to Changelog (chagelog.json).
- file_version changed to version.
API Changes
- Changed Package.OpenVersion to Package.Version.
- Added Package.WriteGetStream for getting a writable stream on save.
- Separated open and save dialog usage from PackageManagerViewModel into WindowsPackageManagerViewModel. Use WindowsPackageManagerViewModel now.
- Added IPackage interface.
- ChangelogItemType changed to ChangelogEntryType.
- Changed Package.ConfigureAutoSave signature to add parameter for Enable.
- Added PackageManagerViewModel.AutoSavePeriod & PackageManagerViewModel.AutoSaveEnabled.
- Renamed PackageManagerViewModel.FileChanged to PackageManagerViewModel.PackageChanged.
- Added Package.Username & Package.ComputerName properties to Package for custom setting.
- Changed Package.Content to be instanced upon creation of Package & changed setter to private.
DtronixPacakge Version 1.0
Initial release of Dtronix Package management system.
Features
- Simple structure utilizing zip files for content management.
- Data compression via the Deflate compression method.
- Lock file management to enable networked usage of save files and notification locked files.
- Versioning & upgrade system.
- Read only opening.
- Save content management and modification notification.
- Writing & Reading of JSON, String, Stream data.
- Auto-Save methods to allow for background saving for crash recovery.
- Backup save system.
- Uses new performant System.Text.Json classes.
- Single NLog dependency.
- File management view model for easy integration into WPF applications.