Skip to content

add defaultSetCookie - #16

Merged
snoyberg merged 1 commit into
snoyberg:masterfrom
chris-martin:pr/def
Nov 7, 2017
Merged

snoyberg merged 1 commit into
snoyberg:masterfrom
chris-martin:pr/def

Conversation

@chris-martin

@chris-martin chris-martin commented Nov 6, 2017 •

Copy link
Copy Markdown
Contributor

Hello, would you mind accepting this monomorphic alternative to def for the base SetCookie value? I don't think the Default class is really helpful for most use cases here, so it would be nice for the library to provide this value more directly in non-overloaded form.

I also added a bit of documentation explaining what field values defaultSetCookie contains.

@snoyberg

snoyberg commented Nov 6, 2017

Copy link
Copy Markdown
Owner

Looks good, thanks! Can you add @since comments, update the version in the cabal file, and update the changelog?

@chris-martin

Copy link
Copy Markdown
Contributor Author

Cool, done.

Comment thread cookie.cabal Outdated
@@ -1,5 +1,5 @@
name: cookie
version: 0.4.2.1
version: 0.4.2.2

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

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

Sorry, I should have clarified. Since this is adding a new identifier, this needs to be a minor version bump, not a patch. Meaning: the new version number would be 0.4.3.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Ah yes sorry, I misread the PVP spec. Updated.

@snoyberg
snoyberg merged commit 93c73b0 into snoyberg:master Nov 7, 2017
@snoyberg

snoyberg commented Nov 7, 2017

Copy link
Copy Markdown
Owner

Thanks!

@chris-martin
chris-martin deleted the pr/def branch November 7, 2017 17:05
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.

2 participants