Skip to content

Prepare for version 1.0.0. #397

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

Merged
merged 2 commits into from
Feb 10, 2020
Merged

Prepare for version 1.0.0. #397

merged 2 commits into from
Feb 10, 2020

Conversation

sjrd
Copy link
Member

@sjrd sjrd commented Feb 7, 2020

  • Bump the version number to 1.0.0-SNAPSHOT
  • Remove all the deprecated things

@sjrd sjrd requested a review from gzm0 February 7, 2020 13:04
Copy link
Contributor

@gzm0 gzm0 left a comment

Choose a reason for hiding this comment

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

Just one higher level comment about removing deprecations: Do we actually want to remove things that are deprecated in the standards but scala-js-dom does not provide replacements for?

type Document = raw.HTMLDocument
type Element = raw.HTMLElement
type Embed = raw.HTMLEmbedElement
type FieldSet = raw.HTMLFieldSetElement
@deprecated("Obsolete.", "HTML 4.01")
type Font = raw.HTMLFontElement
Copy link
Contributor

Choose a reason for hiding this comment

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

Do we actually want to remove these?

(Unsure about how scala-js-dom has handled this in the past, but just seems potentially problematic).

@sjrd
Copy link
Member Author

sjrd commented Feb 10, 2020

Do we actually want to remove things that are deprecated in the standards but scala-js-dom does not provide replacements for?

I think we do, yes. Those things might not work in browsers, and if you really want them, you can use js.Dynamic or use your own facades. You wouldn't want to live with deprecation warnings in your codebase if you can't get rid of them anyway.

@gzm0
Copy link
Contributor

gzm0 commented Feb 10, 2020

OK, fair enough.

@gzm0 gzm0 merged commit 71f5f40 into scala-js:master Feb 10, 2020
@sjrd sjrd deleted the towards-1.0.0 branch February 10, 2020 19:36
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