Skip to content

Releases

Tern 1.1.1

Choose a tag to compare

@github-actions github-actions released this 13 Nov 02:16

What's changed

  • Packing the top-level tool package works on .NET 11: from .NET 11 the SDK's top-level pack also packs the RID packages the current machine can build, which fails because restore doesn't cover those RIDs, so without -r the project turns RID-specific packing off and the top-level pack makes only the package that points to the RID packages, as it did on .NET 10 (9ad31a2)
  • Tern builds on .NET 11: the SDK in global.json is 11.0.100 and every project targets net11.0, two new analyzer rules are met (JsonElement.Parse instead of a JsonDocument left undisposed, and the update check waits with WaitAsync instead of leaving a Task.Delay timer running), ADR 0002 records that a standard-term release now has the same support end as the LTS before it, and CI installs the packed tool with the .NET 10 SDK to show users on the LTS SDK can still install and run it; on SitecoreAI, pulls and pushes run as fast as on .NET 10 or faster, with the same memory (de542a2)

Full Changelog: v1.1.0...v1.1.1

Tern 1.1.0

Choose a tag to compare

@github-actions github-actions released this 13 Nov 00:20

What's changed

  • ser analyze finds the includes that make every pull and push slow: Management Services lists an include's whole scope and its rules are applied only afterwards, so an ItemAndDescendants include with a rule such as "*" Ignored or "/Home" SingleItem reads every item below it only to drop them; it counts what each include reads and keeps, names the rules that drop the rest, where those items sit and how to split the include, --offline checks the module files alone, ser pull and ser push print one line when an include drops at least 1,000 items and more than it keeps, and rule wildcards are compiled once instead of for every item (fde905a)

Full Changelog: v1.0.3...v1.1.0

Tern 1.0.3

Choose a tag to compare

@github-actions github-actions released this 05 Nov 00:56

What's changed

  • A large media item no longer breaks a pull or a push: an item Management Services returns with no data in a shared request is asked for again on its own, one still without data is skipped with a warning instead of stopping the whole run (D12, D14), item get and item query say which items have no data, a value longer than one JSON string is written in segments, and requests escape only what JSON needs, as the Official CLI does, so a CREATE of a few hundred MB stays small enough for the CM to accept (fixes #4) (c377467)
  • README explains why Tern is written in .NET: Native AOT gives it what Rust or Go are usually picked for, a single native executable that starts in milliseconds and uses little memory, with I/O and JSON as fast as either, in the language the Sitecore community already writes (c1d99ee)

Full Changelog: v1.0.2...v1.0.3

Tern 1.0.2

Choose a tag to compare

@github-actions github-actions released this 02 Nov 23:04

What's changed

  • A pull that creates an item where another moved or was renamed away no longer loses one of them: the create waits until the item has left its path, instead of running first and overwriting the moving item's file, and a move still waits for the creation of its new parent (D13, fixes #2) (3f6c589)
  • publish and publish item without -l publish every language: the languages variable is left out when none are given, as the Official CLI does, instead of sent as an empty list, which the CM reads as no languages and so processed nothing; an empty itemIds is left out too (d690534)
  • The update check asks NuGet again after an upgrade: the cache records which version made the check, and a check made by another version, or by one from before this, is not reused, so a check made before the upgrade no longer hides a release made since (0ebcba7)
  • Release notes list every commit since the previous v* tag, leaving out version bumps, instead of GitHub's generated notes, which list only merged pull requests and so missed changes committed directly (c263bd2)

Full Changelog: v1.0.1...v1.0.2

Tern 1.0.1

Choose a tag to compare

@github-actions github-actions released this 29 Oct 03:31

What's changed

  • apply carries out a ser diff --path Plan: the Plan records any include no module defines and the excluded fields its Signatures were made with, and apply rebuilds both instead of refusing the Plan as out of date; a diff Plan finds its source and destination endpoints by the hosts it records, and asks for -s or -d in one message only when no endpoint, or several, have that host; a -i or -e filter that names an include or a module file says which namespace was meant (50ade26)
  • Bump the nuget group with 1 update (#1) (5a4f102)
  • item query --field wildcards match values that span lines, such as layouts and multilists: * and ? now cross line breaks; CLAUDE.md: nothing committed may name or hint at a client (04a9f58)
  • SECURITY.md; a role or user name from the CM that is rooted or climbs out with .. is refused instead of writing its file outside the security folder; code scanning fixes: Path.Join where a later part is never meant to be absolute, the BOM checked as a UTF-8 literal, request content and a GraphQL error's document disposed, comments in deliberately empty catch blocks, LINQ in loops that only filter or map, missing summaries; NuGet/login pinned to a commit (230704d)
  • Security scans: CodeQL for the C# code and the workflows on every push, pull request and weekly, dependency review on pull requests, and weekly Dependabot updates for NuGet packages and actions; a release tag also creates the GitHub Release, with notes, a standalone binary for each RID and SHA256SUMS, and a manual run can make one for an existing tag (2fd05f6)

Full Changelog: v1.0.0...v1.0.1

Tern 1.0.0

Choose a tag to compare

@github-actions github-actions released this 28 Oct 07:11

Full Changelog: v0.1.8...v1.0.0