Skip to content

release: v10.0.1#7270

Merged
ericblackmonGoogle merged 2 commits intomasterfrom
rc/v10.0.1
Jul 10, 2023
Merged

release: v10.0.1#7270
ericblackmonGoogle merged 2 commits intomasterfrom
rc/v10.0.1

Conversation

@ericblackmonGoogle
Copy link
Copy Markdown
Contributor

@ericblackmonGoogle ericblackmonGoogle commented Jul 10, 2023

The basics

  • I branched from master
  • My code follows the style guide
  • I ran npm run format and npm run lint

The details

Resolves

Developer errors/confusion caused by the removal of HSV_SATURATION and HSV_VALUE by PR #7077 despite them not having previously been formally deprecated

Proposed Changes

cpcallen and others added 2 commits July 10, 2023 11:30
…#7249)

* fix: Restore HSV_SATURATION and HSV_VALUE accessors

Contrary to the notice at the top of the `Object.defineProperties`
call, these were not actually marked as deprecated, and their
removal in Blockly 10.0.0 constituted an avoidable zero-notice
breaking change.

* deprecate: Add deprecation notices for HSV_SATURATION and HSV_VALUE

DEPRECATION:

Blockly.HSV_SATURATION and Blockly.HSV_VALUE are deprecated and
will be removed in a future version of Blockly.  Use
Blockly.colour.getHsvSaturation / Blockly.colour.setHsvSaturation
and Blockly.colour.getHsvValue / Blockly.colour.setHsvValue instead.

(cherry picked from commit a677355)
@ericblackmonGoogle ericblackmonGoogle requested a review from a team as a code owner July 10, 2023 15:35
@ericblackmonGoogle ericblackmonGoogle requested review from rachel-fenichel and removed request for a team July 10, 2023 15:35
@ericblackmonGoogle ericblackmonGoogle merged commit 2042334 into master Jul 10, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants