ChakraCoreVersion.h 2.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263
  1. //-------------------------------------------------------------------------------------------------------
  2. // Copyright (C) Microsoft. All rights reserved.
  3. // Licensed under the MIT license. See LICENSE.txt file in the project root for full license information.
  4. //-------------------------------------------------------------------------------------------------------
  5. #pragma once
  6. // NOTE: When changing this file, you may need to update the GUID in ByteCodeCacheReleaseFileVersion.h
  7. // Please update the GUID when:
  8. // * CHAKRA_CORE_VERSION_RELEASE is changed to 1
  9. // * CHAKRA_CORE_VERSION_RELEASE is currently set to 1 and the bytecode changes
  10. // See notes below about ReleaseVersioningScheme.
  11. // --------------
  12. // VERSION NUMBER
  13. // --------------
  14. // ChakraCore version number definitions (used in ChakraCore binary metadata)
  15. #define CHAKRA_CORE_MAJOR_VERSION 1
  16. #define CHAKRA_CORE_MINOR_VERSION 11
  17. #define CHAKRA_CORE_PATCH_VERSION 24
  18. #define CHAKRA_CORE_VERSION_RELEASE_QFE 0 // Redundant with PATCH_VERSION. Keep this value set to 0.
  19. // -------------
  20. // RELEASE FLAGS
  21. // -------------
  22. // NOTE: CHAKRA_CORE_VERSION_PRERELEASE can only be set to 1 when
  23. // CHAKRA_CORE_VERSION_RELEASE is set to 1, or there is no effect.
  24. // Here are the meanings of the various combinations:
  25. //
  26. // RELEASE** PRERELEASE
  27. // DEVELOPMENT 0 0
  28. // <INVALID> 0 1 # INVALID but identical to DEVELOPMENT
  29. // RELEASE** 1 0 #
  30. // PRERELEASE 1 1
  31. // ** Release flags are not related to build type (e.g. x64_release)
  32. //
  33. // Unless otherwise noted, the code affected by these flags lies mostly in bin/CoreCommon.ver
  34. //
  35. // DEVELOPMENT:
  36. // * Uses EngineeringVersioningScheme (see lib/Runtime/ByteCode/ByteCodeSerializer.cpp)
  37. // * Sets file flag VS_FF_PRIVATEBUILD
  38. // * Adds "Private" to the file description
  39. //
  40. // RELEASE** and PRERELEASE (i.e. controlled by CHAKRA_CORE_VERSION_RELEASE flag):
  41. // * Uses ReleaseVersioningScheme (see lib/Runtime/ByteCode/ByteCodeSerializer.cpp)
  42. //
  43. // PRERELEASE (preparing for release but not yet ready to release):
  44. // * Sets file flag VS_FF_PRERELEASE
  45. // * Adds "Pre-release" to the file description
  46. //
  47. // RELEASE** (code is ready to release)
  48. // * Sets neither of the file flags noted above
  49. // * Does not add anything to the file description
  50. // ChakraCore RELEASE and PRERELEASE flags
  51. #define CHAKRA_CORE_VERSION_RELEASE 1
  52. #define CHAKRA_CORE_VERSION_PRERELEASE 0
  53. // Chakra RELEASE flag
  54. // Mostly redundant with CHAKRA_CORE_VERSION_RELEASE,
  55. // but semantically refers to Chakra rather than ChakraCore.
  56. #define CHAKRA_VERSION_RELEASE 0