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

v1.0.0 release #139

Merged
merged 43 commits into from
Oct 1, 2021
Merged

v1.0.0 release #139

merged 43 commits into from
Oct 1, 2021

Conversation

danburzo
Copy link
Collaborator

@danburzo danburzo commented Aug 5, 2021

Code

Breaking changes:

  • Remove deprecated methods
  • (Probably) make xyz refer to D65 XYZ instead of D50 XYZ (ref)
  • (Probably) serialize xyz as color(xyz)

Outstanding issues:

Documentation

  • Prepare migration guide

@svgeesus
Copy link

svgeesus commented Aug 5, 2021

(Probably) serialize xyz as color(xyz)

That would seem consistent with 4.7.4. Serializing values of the color() function

@danburzo
Copy link
Collaborator Author

danburzo commented Aug 5, 2021

That would seem consistent with 4.7.4. Serializing values of the color() function

Yes. Currently (as of [email protected]) the two XYZs are serialized as color(--xyz-d50) and color(--xyz-d65) respectively, while waiting for the decision to graduate one of them to undashed ident.

@danburzo danburzo changed the title Preparation for 1.x release v1.0.0 release Sep 18, 2021
… properties.

Changed methods:

* defineMode() => useMode();
* getModeDefinition() => getMode();

Changes in color space definition:

* input{} => fromMode{}
* output{} => toMode{}
* parsers[] => parse[]
* serialize: don't include the awkward "color(" part
…vors:

* 'culori' — full library, with all color spaces pre-registered;
* 'culori/css' — with just the css-color-4-related color spaces;
* 'culori/fn' - tree-shakeable collection of functions, no color spaces pre-registered.
@danburzo
Copy link
Collaborator Author

danburzo commented Oct 1, 2021

Decided to make a less ambitious 1.x and leave the open issues for 2.x.

@danburzo danburzo merged commit 9010294 into main Oct 1, 2021
@danburzo danburzo deleted the 1.x branch October 1, 2021 18:35
@svgeesus
Copy link

w3c/csswg-drafts#6722

@danburzo
Copy link
Collaborator Author

Thanks @svgeesus for keeping me in the loop! I will open an issue for the 2.x release to make the appropriate adjustments.

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