Skip to content

Updates to custom YAQL and Jinja filters#552

Merged
Mierdin merged 8 commits intomasterfrom
st2kv-no-decrypt-default
Jul 31, 2017
Merged

Updates to custom YAQL and Jinja filters#552
Mierdin merged 8 commits intomasterfrom
st2kv-no-decrypt-default

Conversation

@Mierdin
Copy link
Copy Markdown
Member

@Mierdin Mierdin commented Jul 15, 2017

Covers changes in StackStorm/st2mistral#30

  • Generally covers that the filters are now available in Mistral)
  • Breaking change to st2kv that adds a parameter to explicitly enable decryption in st2kv (disabled by default now).
  • Adds note about breaking change to upgrade notes

Signed-off-by: Matt Oswalt <oswaltm@brocade.com>
@Mierdin Mierdin changed the title Added note that st2kv no longer decrypts by default [WIP] Added note that st2kv no longer decrypts by default Jul 15, 2017
@Mierdin Mierdin changed the title [WIP] Added note that st2kv no longer decrypts by default [WIP] Updates to custom YAQL and Jinja filters Jul 15, 2017
Matt Oswalt added 3 commits July 15, 2017 14:19
Signed-off-by: Matt Oswalt <oswaltm@brocade.com>
…eprecation

Signed-off-by: Matt Oswalt <oswaltm@brocade.com>
Signed-off-by: Matt Oswalt <oswaltm@brocade.com>

* The ``st2kv`` function has been changed (in 2.3.2) so that it no longer attempts to decrypt stored values by
default. To return decrypted values, this must be explictly enabled via parameter, like so:
``st2kv('st2_key_id', decrypt=true)``.
Copy link
Copy Markdown
Member

@arm4b arm4b Jul 16, 2017

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@Mierdin Yeah, this looks like a breaking change indeed. 👍 for the upgrade note.

I also think it's better to include it in major release like 2.4.0, instead of 2.3.2 patch release.
Let's be consistent, from the patch release users expect bug fixes, not changing the important core behavior and existing workflows they rely on.

WDYT?

cc @m4dcoder @lakshmi-kannan @LindsayHill

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I personally don't mind either way. Only reason I was aiming for 2.3.2 is because @lakshmi-kannan recommended it. I'll let him chime in on the matter; there's no question that this is a breaking change.

Matt Oswalt added 2 commits July 26, 2017 22:44
Signed-off-by: Matt Oswalt <oswaltm@brocade.com>
@Mierdin Mierdin requested a review from LindsayHill July 27, 2017 17:31
@Mierdin Mierdin changed the title [WIP] Updates to custom YAQL and Jinja filters Updates to custom YAQL and Jinja filters Jul 27, 2017
@Mierdin
Copy link
Copy Markdown
Member Author

Mierdin commented Jul 27, 2017

@armab @lakshmi-kannan FYI I removed references to 2.3.2, updated to 2.4

@arm4b arm4b added this to the 2.4.0 milestone Jul 27, 2017
Matt Oswalt added 2 commits July 27, 2017 22:36
@Mierdin Mierdin merged commit 1616936 into master Jul 31, 2017
@Mierdin Mierdin deleted the st2kv-no-decrypt-default branch July 31, 2017 21:02
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