Skip to content

Commit

Permalink
Release 2.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
chriscerie committed Jul 31, 2023
1 parent 6c1d9d3 commit 7faf597
Show file tree
Hide file tree
Showing 8 changed files with 24 additions and 2,749 deletions.
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,5 @@
/roblox.toml
/wally.lock
/**.tgz
/sourcemap.json
/sourcemap.json
/package-lock.json
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@

## Unreleased

## 2.0.0 (July 30, 2023)
* Switched react-spring's react and reactroblox scopes from corepackages to jsdotlua ([@vocksel](https://github.com/vocksel) in [#51](https://github.com/chriscerie/roact-spring/pull/51))

## 1.1.6 (June 7, 2023)
* Fixed incorrect easing functions for easeInExpo, easeOutExpo, easeInOutCirc, easeInElastic, and easeOutElastic. This is potentially breaking if you relied on the incorrect easing behavior ([@passhley](https://github.com/passhley) in [#49](https://github.com/chriscerie/roact-spring/pull/49))
* Added easing easeInOutElastic ([@passhley](https://github.com/passhley) in [#49](https://github.com/chriscerie/roact-spring/pull/49))
Expand Down
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
MIT License

Copyright (c) 2022 Christopher Chang
Copyright (c) 2023 Paul Henschel, Christopher Chang, react-spring, all contributors

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
13 changes: 13 additions & 0 deletions docs/Migrating.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
---
sidebar_position: 1000
---

# Migrating

## v1 to v2

* react-spring 2.0 switches React and ReactRoblox wally scope from corepackages to [jsdotlua](https://github.com/jsdotlua). To prevent duplicated React packages, your project must also switch wally dependencies to the new jsdotlua scope. rbxts and legacy roact users are not affected by this breaking change.

## v0 to v1

* roact-spring 1.0 bumps its promise dependency [from v3 to v4](https://github.com/evaera/roblox-lua-promise/releases/tag/v4.0.0). To migrate, ensure any usage of promises owned by roact-spring (e.g., using `api.start():andThen()`) is compatible with promise v4.
Loading

0 comments on commit 7faf597

Please sign in to comment.