Skip to content

Releases: jothepro/djinni_build

v2.0.0

06 Oct 10:20
Compare
Choose a tag to compare

Adding Debugging Capabilities

This release is all about adding the capability to create packages for Windows (NuGet) and macOS (xcframework) that include debugging symbols.
Oh and also I introduced some unrelated breaking changes, which is why this is a major release! 🙈

To see in detail how this new version should be used, please consult jothepro/djinni-library-template.

Added

  • When a debugging symbols framework directory (.framework.dSYM) is detected on macOS/iOS builds, it is included in the resulting .xcframework. (dcf9fe4)
  • When debugging symbols (.pdb) are detected on a Windows build, in addition to a normal .nupkg, also a .symbols.nupkg is created, that includes the .pdb files for each target architecture (e1def3f). This will become useful for debugging once .NET 7 is released: dotnet/sdk#27580

Changed

  • Packages are not built in-source any more. Instead, the required package files are copied from lib/platform/<platform>/package to the build directory and enriched with the C++ binaries there. This way the source directory stays clean. (1cc2d15)
  • The configuration parameter nupkg_net_version has been removed because the script can now automatically determine the target .NET version by parsing the .nuspec file (1cc2d15). Make sure to define the .NET version like so in <metadata>:
    <dependencies>
        <group targetFramework="net6.0" />
    </dependencies>
    
  • The configuration parameter version was removed, because the version is now retrieved automatically through the Conan API. Make sure to specify a version in your conanfile.py! (1cc2d15)
  • No .nuspec.template file is required anymore. Instead, the .nuspec file should contain $version$ placeholders for setting the package version. Those parameters are automatically populated by the nuget CLI. (e1def3f)

Removed

  • The CLI-option --clean was removed. It is not needed anymore because no artifacts will be copied to the source directory. (1cc2d15)

Full Changelog: v1.0.0...v2.0.0

v1.0.0

26 Mar 20:15
Compare
Choose a tag to compare

Publishing the utility on PyPI

Added

  • new CLI configuration parameter to define the Conan build profile.
  • configuration parameter to change the default build folder name.
  • configuration parameter to change the default Conan build profile.
  • automated publishing to PyPI with gh-actions.

Changed

  • For easier integration into the build process the code is now published on PyPI.
  • Conan build now is started with build- and host-profile as recommended.
  • Optimized for usage with the new Conan CMakeToolchain generator.

Removed

  • The provided android toolchain was removed because is not required anymore with the migration to the CMakeToolchain generator.

v0.1.0

08 Jul 13:31
Compare
Choose a tag to compare

Initial Release

Script to package and distribute Djinni libraries easily. This build script automates the building & packaging for Djinni libraries.

It supports these platforms:

  • Android (AAR)
  • iOS (xcframework, Swiftpackage)
  • macOS (xcframework, Swiftpackage)
  • Windows (NuGet package)
  • Linux (Conan)