Skip to content

Latest commit

 

History

History
147 lines (91 loc) · 3.44 KB

CHANGELOG.md

File metadata and controls

147 lines (91 loc) · 3.44 KB

Change Log - @typespec/versioning

This log was last generated on Tue, 07 Feb 2023 21:56:17 GMT and should not be manually modified.

0.40.0

Tue, 07 Feb 2023 21:56:17 GMT

Updates

  • Adds the @useDependency decorator. Deprecates the @versionedDependency decorator.
  • Ensure @renamedFrom requires a non-empty value.

0.39.0

Fri, 13 Jan 2023 00:05:26 GMT

Updates

  • Exporting addedOnVersions and removedOnVersions accessors.
  • Added @returnTypeChangedFrom decorator.
  • Fix issues with @added and @removed. Deprecate addedAfter and removedOnOrBefore. Added existsAtVersion.
  • Ensure properties marked '@madeOptional' are actually optional.

0.38.0

Wed, 07 Dec 2022 17:21:52 GMT

Minor changes

  • Internal: update to use new getTypeName and getNamespaceString helper
  • Deprecated getRenamedFromVersion, getRenamedFromOldName, and renamedAfter methods in favor of getRenamedFromVersions, getNameAtVersion, and hasDifferentNameAtVersion.

Patches

  • Fix: Issue with loading different version of versioning library in emitter
  • Update dependencies
  • Allow @renamedFrom to be used multiple times

Updates

  • Fix: Validation of versioned dependency giving false positive when inside a sub namespace of versioned namespace

0.10.0

Sat, 12 Nov 2022 00:14:04 GMT

Minor changes

  • Declare decorators in typespec using extern dec

0.9.0

Wed, 12 Oct 2022 21:12:35 GMT

Minor changes

  • Uptake changes to navigateProgram

0.8.0

Thu, 08 Sep 2022 01:04:53 GMT

Minor changes

  • Uptake change to enum members map type
  • Uptake changes to compiler with current projection
  • Update decororator state key to allow multiple instance of library to work together.
  • React to Type suffix removal

0.7.0

Thu, 11 Aug 2022 19:05:23 GMT

Minor changes

  • Internal: Uptake new compiler helpers to work with template types

Patches

  • Fix: Versioning when non-versioned library has template with spread.
  • Fix: Versioning when multiple service versions consume the same library version.

0.6.1

Fri, 08 Jul 2022 23:22:57 GMT

Version update only

0.6.0

Mon, 13 Jun 2022 23:42:28 GMT

Minor changes

  • Uptake changes to decorator context
  • Add ability to use @renamedFrom on Models, Operations, Interface, Unions and Enums.
  • Add validation for incompatible versioning across references
  • Moved all decorators and functions to TypeSpec.Versioning namespace
  • Breaking Change Version must be defined using an enum and referenced using enums

Updates

  • Upgrade to TS4.7

0.5.0

Fri, 06 May 2022 17:19:57 GMT

Minor changes

  • Uptake mixes -> extends rename
  • Fix issues with spreading versioned model
  • Remove node 14 support
  • Updated versioning data getter to return undefined instead of -1

Patches

  • Fix issue with versioning of operation parameters in interfaces
  • Fix: Using versioned lib validation false positive with interfaces and unions

0.4.0

Thu, 31 Mar 2022 17:10:49 GMT

Minor changes

  • Add validation when using versioned library without @versionedDependency
  • Enable ability to pick a specific version for a versioned dependency when service itself isn't versioned

0.3.2

Wed, 09 Mar 2022 17:42:09 GMT

Version update only

0.3.1

Tue, 15 Feb 2022 22:35:02 GMT

Version update only

0.3.0

Mon, 14 Feb 2022 03:01:08 GMT

Minor changes

  • Update decorators to take in api change

Patches

  • Bump dependency versions

0.2.0

Fri, 04 Feb 2022 18:00:18 GMT

Minor changes

  • Add versioning framework