Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: Prepare 3.1.0 release #758

Merged
merged 1 commit into from
May 6, 2024
Merged

chore: Prepare 3.1.0 release #758

merged 1 commit into from
May 6, 2024

Conversation

susnux
Copy link
Contributor

@susnux susnux commented May 6, 2024

3.1.0 - 2024-05-07

Added

  • Allow setting escape option per parameter replacing.
    For more security this should be used instead of disabling paramter escaping,
    see pull request #756
    // Example
    t(
    	'my-app',
    	'{a}{userInput}{a_end}',
    	{
    		a: {
    			value: '<a>',
    			escape: false,
    		},
    		userInput: somePossiblyInsecureValue, // This will be escaped
    		a_end: {
    			value: '</a>',
    			escape: false,
    		}
    	},
    )

Signed-off-by: Ferdinand Thiessen <[email protected]>
@susnux susnux requested review from Pytal and ShGKme May 6, 2024 16:22
@susnux susnux merged commit e0b16b5 into main May 6, 2024
12 checks passed
@susnux susnux deleted the chore/3-1-0 branch May 6, 2024 17:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants