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

Vivliostyle 2020 Release Plan #60

Closed
26 of 28 tasks
uetchy opened this issue Dec 7, 2019 · 2 comments
Closed
26 of 28 tasks

Vivliostyle 2020 Release Plan #60

uetchy opened this issue Dec 7, 2019 · 2 comments
Assignees

Comments

@uetchy
Copy link
Member

uetchy commented Dec 7, 2019

Overview

Vivliostyle 2020 will brings massive structural changes to core packages.

  • Adopt monorepo scheme for core packages (#621)
  • Rename npm modules along with a scoped namespace (@vivliostyle)
  • Introduce semantic versioning (initial version is v2.0.0)
  • New document site

Changes

Logo

Twitter Post - Vivliostyle

Git repository

git remote URL won't be redirected. You need to manually set new git URL to following:

https://github.com/vivliostyle/vivliostyle.git

API Changes (Core)

Twitter Post - What's New

Move directories

  • /packages/print/demo/ → /packages/core/examples/printHTML/
  • /packages/core/build/ → /scripts/
  • /packages/viewer/scripts/ → /scripts/
  • /packages/core/samples/ → /packages/viewer/pages/samples/
  • /packages/core/typings/ → /packages/core/types/

/ts/.ts → /.ts

  • /packages/core/src/ts/* → /packages/core/src/
  • /packages/viewer/src/ts/* → /packages/viewer/src/

Documents has been relocated in vivliostyle.org

  • /packages/core/src/ts/README.md → vivliostyle.org/docs/typescript-migration.md
  • /packages/core/src/ts/_assets → vivliostyle.org/assets/typescript-migration/
  • /packages/core/doc/* → vivliostyle.org/docs/
  • /packages/viewer/dist/ → vivliostyle.org/docs/user-guide

Files and Classes

  • adaptviewer → adaptive-viewer (Viewer → AdaptiveViewer)
    • PageViewMode → AdaptivePageViewModede (avoid conflict with Vivliostyle Viewer's PageViewMode)
  • viewer → core-viewer (Viewer → CoreViewer)
    • ViewerSettings → CoreViewerSettings
    • ViewerOptions → CoreViewerOptions (avoid conflict with Vivliostyle Viewer's ViewerOptions)
  • breakposition → break-position
  • csscasc → css-cascade
  • logical → css-logical-util
  • cssparse → css-parser
  • cssprop → css-prop
  • cssstyler → css-styler
  • csstok → css-tokenizer
  • cssvalid → css-validator
  • geom → geometry-util
  • layouthelper → layout-helper
  • layoutprocessor → layout-processor
  • layoutretryers → layout-retryers
  • layoututil → layout-util
  • mathutil → math-util
  • pagefloats → page-floats
  • pm → page-master
  • pseudoelement → pseudo-element
  • repetitiveelement → repetitive-element
  • taskutil → task-util
  • viewerapp → viewer-app
  • xmldoc → xml-doc

Unified Namespace

Browser (UMD)

<script type="text/javascript" src="https://unpkg.com/@vivliostyle/core/lib/vivliostyle.js"></script>
<script type="text/javascript">
Vivliostyle.printHTML();
</script>

Browser (ES Modules)

<script type="module">
import * as Vivliostyle from "https://unpkg.com/@vivliostyle/core/lib/esm/vivliostyle.js";
Vivliostyle.printHTML();
</script>

Node.js (CommonJS)

const * as Vivliostyle = require("@vivliostyle/core");
Vivliostyle.printHTML();

Bug fixes (Core)

  • Fix circular dependency issue between layout.ts and selectors.ts.

API Changes (Viewer)

  • Omit development <script> injection thanks to Lerna's symlink feature.

New Viewer location

Stable release

Canary release (equivalent to master)

Tagged releases (Pre-release + Legacy releases)

https://vivliostyle.github.io/

New documentation site

  • WIP

Design system

Screen Shot 2020-01-26 at 18 32 08

Schedule

Rename repository (2019/12/14)

  • Rename GitHub repo (vivliostyle/vivliostyle-savepdf) to vivliostyle/vivliostyle-cli
  • Rewrite package.json and respective files to match its new name.

Merge repositories (2019/12/14)

  • Merge vivliostyle.js commit history with vivliostyle/vivliostyle#/packages/core
  • Merge vivliostyle-ui commit history with vivliostyle/vivliostyle#/packages/viewer
  • Merge vivliostyle-print commit history with vivliostyle/vivliostyle#/packages/print

Test and fix npm related issue (2019/12/14)

  • npm i <scoped package>
  • lerna test

Transfer issues (2019/12/14)

  • Issues from vivliostyle/vivliostyle.js to vivliostyle
  • Issues from vivliostyle/vivliostyle-ui to vivliostyle

Mark old repositories deprecated (2019/12/14)

  • Add notice and redirection to vivliostyle/vivliostyle.js
  • Add notice and redirection to vivliostyle/vivliostyle-ui
  • Add notice and redirection to vivliostyle/vivliostyle-print

Archive deprecated repositories (Early 2020)

  • vivliostyle/vivliostyle.js
  • vivliostyle/vivliostyle-ui

Re-organize documents

  • Move all documents to vivliostyle.org
  • Publish versioned documents

Release scoped versions in npm (Early 2020)

  • vivliostyle/vivliostyle#/packages/core as @vivliostyle/core#v2.0.0
  • vivliostyle/vivliostyle#/packages/viewer as @vivliostyle/viewer#v2.0.0
  • vivliostyle/vivliostyle-cli as @vivliostyle/cli#v2.0.0

npm deprecate (Early 2020)

  • vivliostyle
  • vivliostyle-savepdf
  • vivliostyle-print

Remaining Tasks

  • Update documentation and websites to rewrite package name, module name, repository URL with its new name.
@uetchy uetchy self-assigned this Dec 7, 2019
@uetchy uetchy transferred this issue from vivliostyle/community Dec 14, 2019
@uetchy uetchy pinned this issue Dec 16, 2019
@uetchy uetchy changed the title Vivliostyle 2020 Vivliostyle 2020 Release Plan Dec 16, 2019
@uetchy uetchy transferred this issue from vivliostyle/vivliostyle.js Jan 12, 2020
@MurakamiShinyu
Copy link
Member

MurakamiShinyu commented Mar 19, 2020

[Resolved] Proposal to rename back vivliostyle/vivliostyle to vivliostyle/vivliostyle.js

  • change the monorepo (core+viewer) repository name "vivliostyle" to "vivliostyle.js"
  • the name "Vivliostyle.js" means Vivliostyle Core plus Viewer UI running on web browser's JavaScript engine
  • the archive (Vivliostyle Viewer download package) name will be vivliostyle-viewer-<version>.zip (e.g. vivliostyle-viewer-latest.zip, vivliostyle-viewer-canary.zip, vivliostyle-viewer-2.0.0.zip)

Reasons:

  • The name "Vivliostyle" should be the generic name for the Vivliostyle family products, including the Vivliostyle CLI and Vivliostyle Pub, and not only for Core + Viewer. Using the name "Vivliostyle.js" for Core+Viewer can avoid confusion
  • Links to Vivliostyle (core) issues/pulls in the past release notes and other documents were broken due to the repository URL change. Renaming back to vivliostyle.js will solve this problem.

Resolved: This proposal was approved and done on 2020-03-20. Related commits:

MurakamiShinyu added a commit to vivliostyle/vivliostyle.org that referenced this issue Apr 1, 2020
@akabekobeko
Copy link
Member

昨年の計画 issue なので close します。

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

No branches or pull requests

3 participants