Miragejs Versions Save

A client-side server to build, test and share your JavaScript app

v0.1.48

6 months ago

What's Changed

🚀 Enhancements

🐛 Bugfixes

🏠 Internal

New Contributors

Full Changelog: https://github.com/miragejs/miragejs/compare/v0.1.47...v0.1.48

v0.1.47

1 year ago

🚀 Enhancements

🐛 Bugfixes

New Contributors

Full Changelog: https://github.com/miragejs/miragejs/compare/v0.1.46...v0.1.47

v0.1.46

1 year ago

What's Changed

🚀 Enhancements

🐛 Bugfixes

🗂 Types

New Contributors

Full Changelog: https://github.com/miragejs/miragejs/compare/v0.1.45...v0.1.46

v0.1.45

1 year ago

🚀 Enhancements

  • #1041 - Add more descriptive namespace error by @srikanthkyatham

🐛 Bugfixes

  • #1045 - Fixed assert about changing Pretender config by @cah-briangantzler

New Contributors

Full Changelog: https://github.com/miragejs/miragejs/compare/v0.1.44...v0.1.45

v0.1.44

2 years ago

🐛 Bugfixes

  • #1021 Fix types for identityManagers by @IanVS

🏠 Internal

  • #1036 Extract pretender code to its own module for future move to another package by @cah-briangantzler

    This is a step towards decoupling pretender from Mirage, with the goal of Mirage supporting MSW or other mocking layers. There should not be any user-facing changes here, so long as you were not using internal methods like server._getFullPath(). If you were, you may need to change these to server.interceptor._getFullPath().

  • Dependency updates

New Contributors

Full Changelog: https://github.com/miragejs/miragejs/compare/v0.1.43...v0.1.44

v0.1.43

2 years ago

What's Changed

🐛 Bugfixes

🏠 Internal

New Contributors

Full Changelog: https://github.com/miragejs/miragejs/compare/v0.1.42...v0.1.43

v0.1.42

2 years ago

🚀 Enhancements

🐛 Bugfixes

📝 Docs

🏠 Internal

  • Dependency updates

v0.1.41

3 years ago

🏠 Internal

  • Dependency updates

v0.1.40

3 years ago

🚀 Enhancements

  • #481 Mark Mirage as tree-shakable via sideEffects key.

    Prior to this change, Webpack (in common tools like Create React App + Vue CLI) would not tree-shake Mirage from production builds, since Mirage does indeed have side effects. However, these side effects are only relevant during development, and should not prevent Mirage from being tree-shaken from production builds.

    The sideEffects key is an escape hatch and can be used to tell Webpack exactly this. With this change, apps with modern build setups that use Mirage like this

    import { Server } from 'miragejs'
    
    if (process.env.NODE_ENV !== 'production') {
      new Server()
    }
    

    should get all of miragejs automatically tree-shaken from their production builds!

🏠 Internal

  • Dependency updates

v0.1.39

3 years ago

🚀 Enhancements

  • Introduce createServer #467

    Mirage now provides a createServer function as an alternative to new Server. This function was added for type-safe interactions with the server in the context of your config. See #467 for more details.

📝 Docs

  • Update serializer docs

🏠 Internal

  • Dependency updates