@supacloud/compiler 0.29.0 → 0.31.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -143,6 +143,15 @@ export again and compile. Offline compilation cannot attest a snapshot's origin;
143
143
  The starter's synthetic SDL is solely an offline test fixture, not a deployed
144
144
  schema. Replace it with a database export before integration.
145
145
 
146
+ Schema export results and compiled GraphQL manifests retain `schemaHash` as the
147
+ SHA-256 of the original UTF-8 text. The additional `schemaNormalizedHash` hashes
148
+ the same text with physical CRLF/CR line endings converted to LF, helping identify
149
+ checkout line-ending drift. It does not normalize escaped `\r` sequences, field
150
+ order, descriptions or other content, and is not a semantic-equivalence or
151
+ integrity check. `graphql-schema --check` remains byte-strict and read-only;
152
+ an explicit export restores the generated file. Re-export and regenerate the
153
+ manifest rather than bypassing drift checks based on the normalized hash.
154
+
146
155
  New `supacloud app init` projects preconfigure GraphQL query contracts and include
147
156
  an offline example. Existing REST, Command-only and background-task projects
148
157
  remain unchanged: general App/CLI configuration and `compileProject(options)`