ChakraCoreVersion.h 2.7 KB

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