Skip to content

v2.0.0

Choose a tag to compare

@HallexCosta HallexCosta released this 16 Dec 19:43
· 34 commits to main since this release

2.0.0 (2024-12-16)

Bug Fixes

  • add .dev folder to ignore rules and remove dist folder (bceb2ec)
  • add position fixed to modal (a29d22d)
  • add prepend root (9876e38)
  • add z-20 in modal charge detail with iframe (99db4de)
  • adjust output for prod build and hot-update chunk files (991ae99)
  • adjust words "openix" to "openpix" (3552649)
  • delete build folder (8b410d2)
  • remove all dist folder references from gitignore rules files (9dda967)
  • rspack: import node:path module (ab51329)

Features

  • add .env.example structure of variables (b7d0e6b)
  • add appid property in checkout order type (9a77786)
  • add attribute [data-appid] (8554a59)
  • add beta branch as prerelease (92a0d05)
  • add CopyQRCodeButton (e78b823)
  • add crossorigin to openpix.js tag script (5aba721)
  • add div#root in body if not exists (486bb7c)
  • add fixed position to iframe charge detail modal (b1d5a64)
  • add index.css and import in index.tsx (39bbd47)
  • add load in module rules in rspack to compile in output bundle (2c6cb18)
  • add loaders to load css in js (18c270e)
  • add new icons CircleOk and OK (82ab1cf)
  • add param appid (4549109)
  • add PixChargeEnvironmentBanner (d1cbba2)
  • add runner to remove .gitignore when commit dist release (628c255)
  • add tailwindcss and postcss configs (47279e9)
  • change prerelease from beta branch of false to true (c518bba)
  • charge: add additionalInfoMapper and hideCNPJMask (2371aa9)
  • checkout/components: add dropdownDDI and svg OpenPixLogo (51f6192)
  • checkout/context: add property as required (00a002c)
  • checkout/masks: add masks for inputs (cee9df7)
  • checkout/validation: add validation functions (1132685)
  • checkout: adjust when show checkout, pending, paid or expired modal (161e2ca)
  • common: add combineHandlers (bfc2cdc)
  • common: add cx tailwind merge function (1d23f76)
  • common: add generateCorrelationUniqueId (95125a2)
  • common: add generic type to createPromiseWithResolvers (7d6229c)
  • common: add type to params generateCorrelationUniqueId (a48c55c)
  • common: add unMaskValue handlers (283cb86)
  • define eol as lf (58eae3d)
  • deps: add libs to assistant create forms (c8462cc)
  • desaclople App from index (b2aa7eb)
  • index: use path alias "@" (68a56b4)
  • modules/charge: add checkIsExpiredCharge (4d12309)
  • modules/charge: add new ExpiredPixChargeReceipt modal (feb6ae7)
  • modules/charge: add new fetchSyncChargeUpdate (468eadf)
  • modules/charge: add new PaidPixChargeReceipt component (a9e58aa)
  • modules/charge: add new PendingPixCharge component (53726d0)
  • modules/checkout: add new props for order type (33c5b3a)
  • modules/clickpix: add new enums SET_CURRENT_MODAL and SET_SELECTED_PRODUCT_ID (d9f28f6)
  • modules/clickpix: add RenderClickPixButtons wrapper (0ba621e)
  • package: add new dependencies (4680972)
  • pass current appid from order memory to openpix api and fetchSyncPaymentLink (b93f9d1)
  • providers/woovi: add createPixChargeRequest (79f67d4)
  • providers/woovi: add woovi providers interface to make request (c8db6a9)
  • release: add semantic-release/changelog plugin (6033482)
  • remove $openpix config when initialize OpenpixSDK (1b96923)
  • rspack: resolve tsconfig (8744572)
  • tailwind: add woovi color (daeb44c)
  • tsconfig: configure paths alias (a1fcd4a)
  • use env variables (09585f7)
  • validate if appid is defined (da2818f)

BREAKING CHANGES

  • now all users should be define the attribute [data-appid] to the application read and store in order memory
  • now if div#root was not found, will be create a new div
    in top on body
  • replace tailwindcss cdn to css-in-js using postcss,
    tailwindcss and autoprefixer
  • Now the cdn should be target the dist folder instead of
    build, and the build folder target .dev and hot-update chunk files
    target to .dev/hot-modules to follow an semantic