Giter Site home page Giter Site logo

3.0 Breaking changes about ub-ria HOT 4 OPEN

otakustay avatar otakustay commented on June 16, 2024
3.0 Breaking changes

from ub-ria.

Comments (4)

otakustay avatar otakustay commented on June 16, 2024

@Justineo 和你们保持密切沟通

from ub-ria.

otakustay avatar otakustay commented on June 16, 2024

3.0.0-alpha.2的额外变化如下:

  1. 修改了util.template的实现,现在只有underscore最新版本才能用。这锅让underscore背,竟然在大版本不变的情况下改接口

3.0.0-alpha.3的额外变化如下:

  1. 统一使用asyncawait管理异步,相关方法变成了async方法,于是生成的代码可能会更“脏”一些
  2. 由于RequestManager的相关方法变成了async方法,这意味着你无论在哪都无法获取到最原始的FakeXHR对象,也就访问不到abort()方法,整个请求的中断只能受policyscope的影响,我看代码中我们也没有对abort()控制的需求

from ub-ria.

otakustay avatar otakustay commented on June 16, 2024

3.0.0-alpha.4的变化如下:

  1. 重新定义了async的用法,现在我们只在必须使用async的时候才用,其它情况避免使用
  2. StaticListData#getCacheList()方法已经移除

from ub-ria.

otakustay avatar otakustay commented on June 16, 2024

3.0.0-beta.1的变化如下:

  1. 移除了FormView#waitConfirmForType方法,现在为waitFormConfirm方法,没有第2个type参数
  2. 调用FormView#waitFormConfirm方法必须在options中提供okLabelcancelLabel两个属性

from ub-ria.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.