Skip to content

v0.5.0

Latest
Compare
Choose a tag to compare
@github-actions github-actions released this 13 Aug 16:43
v0.5.0
e0e4760

Changed

  • Script injection is no longer a required plugin permission
  • Settings: Invalid palettes will no longer cause the entire list of palettes to be removed, just the invalid palettes
  • Color editor: Duplicating palettes with the same name will now create or increment a counter instead of naming it "Palette (1) (1) (1) ..."
  • Color Properties: Changing color properties now uses the Recording API
  • API: Promises from the API no longer cancel if the user closes the prompt, they will now instead reject with PromptError.PromptCancelled
  • API: For GradientPromptOptions, the type of InitialGradient and the value of GradientType are no longer required to match
  • API: For ColorPromptOptions, the type of InitialColor and the value of ColorType are no longer required to match
  • API: The API.PromptError enum has been re-named to API.PromptRejection
  • API: The API.PromptForColor Promise now rejects with SameAsInitial instead of PromptCancelled if the initial and new colors are the same
  • API: The API.PromptForGradient Promise now rejects with SameAsInitial instead of PromptCancelled if the initial and new gradients are the same
  • API: The color tools of ColorPane have been spun off into their own library, and the old method of using ColorPane will no longer work. Please read the Integration page of the documentation for details on the updated integration method.

Added

  • Added partial translations for French (fr), Korean (ko), and Russian (ru)
  • Color editor: Added a dedicated "Set Color" button for colors in the palette list layout
  • Color editor: Added a random color button
  • Gradient editor: Added a "Reset" button for gradient precision
  • Companion: Added settings importing and exporting
  • API: Added API.IsColorPromptAvailable to check if calling API.PromptForColor will succeed or immediately reject (replaces API.IsColorEditorOpen)
  • API: Added API.IsGradientPromptAvailable to check if calling API.PromptForGradient will succeed or immediately reject (replaces API.IsGradientEditorOpen)

Removed

  • Removed the first-time use plugin permissions warning
  • Automatic update-checking has been removed
  • Color editor: Removed the Copic color palette

Fixed

  • API: API.PromptForColorSequence (deprecated) now returns a Promise as expected
  • API: Promises returned by API.PromptForColor will no longer reject when the initial and new colors are the same even though you didn't specify an initial color
  • API: Promises returned by API.PromptForGradient will no longer reject when the initial and new gradients are the same even though you didn't specify an initial gradient

Deprecated

  • API: API.IsColorEditorOpen is now deprecated, please use API.IsColorPromptAvailable for new work
  • API: API.IsGradientEditorOpen is now deprecated, please use API.IsGradientPromptAvailable for new work
  • API: API.PromptError is now deprecated, please use API.PromptRejection for new work
  • API: API.Unloading is now deprecated, you should use your plugin's Unloading event instead
  • API: API.GetVersion is now deprecated