1
0
mirror of https://github.com/Unleash/unleash.git synced 2024-12-22 19:07:54 +01:00
Unleash is the open source feature toggle service.
Go to file
renovate[bot] 5211bb763f
chore(deps): update dependency sass to v1.68.0 (#4887)
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [sass](https://togithub.com/sass/dart-sass) | [`1.66.1` ->
`1.68.0`](https://renovatebot.com/diffs/npm/sass/1.66.1/1.68.0) |
[![age](https://developer.mend.io/api/mc/badges/age/npm/sass/1.68.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/sass/1.68.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/sass/1.66.1/1.68.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/sass/1.66.1/1.68.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

<details>
<summary>sass/dart-sass (sass)</summary>

###
[`v1.68.0`](https://togithub.com/sass/dart-sass/blob/HEAD/CHANGELOG.md#1680)

[Compare
Source](https://togithub.com/sass/dart-sass/compare/1.67.0...1.68.0)

-   Fix the source spans associated with the `abs-percent` deprecation.

##### JS API

- Non-filesystem importers can now set the `nonCanonicalScheme` field,
which
declares that one or more URL schemes (without `:`) will never be used
for
    URLs returned by the `canonicalize()` method.

- Add a `containingUrl` field to the `canonicalize()` and
`findFileUrl()`
methods of importers, which is set to the canonical URL of the
stylesheet that
contains the current load. For filesystem importers, this is always set;
for
other importers, it's set only if the current load has no URL scheme, or
if
    its URL scheme is declared as non-canonical by the importer.

##### Dart API

- Add `AsyncImporter.isNonCanonicalScheme`, which importers (async or
sync) can
use to indicate that a certain URL scheme will never be used for URLs
returned
    by the `canonicalize()` method.

-   Add `AsyncImporter.containingUrl`, which is set during calls to the
`canonicalize()` method to the canonical URL of the stylesheet that
contains
the current load. This is set only if the current load has no URL
scheme, or
    if its URL scheme is declared as non-canonical by the importer.

##### Embedded Sass

- The `CalculationValue.interpolation` field is deprecated and will be
removed
in a future version. It will no longer be set by the compiler, and if
the host
sets it it will be treated as equivalent to `CalculationValue.string`
except
that `"("` and `")"` will be added to the beginning and end of the
string
    values.

-   Properly include TypeScript types in the `sass-embedded` package.

###
[`v1.67.0`](https://togithub.com/sass/dart-sass/blob/HEAD/CHANGELOG.md#1670)

[Compare
Source](https://togithub.com/sass/dart-sass/compare/1.66.1...1.67.0)

- All functions defined in CSS Values and Units 4 are now once again
parsed as
calculation objects: `round()`, `mod()`, `rem()`, `sin()`, `cos()`,
`tan()`,
`asin()`, `acos()`, `atan()`, `atan2()`, `pow()`, `sqrt()`, `hypot()`,
    `log()`, `exp()`, `abs()`, and `sign()`.

Unlike in 1.65.0, function calls are *not* locked into being parsed as
    calculations or plain Sass functions at parse-time. This means that
user-defined functions will take precedence over CSS calculations of the
same
name. Although the function names `calc()` and `clamp()` are still
forbidden,
users may continue to freely define functions whose names overlap with
other
CSS calculations (including `abs()`, `min()`, `max()`, and `round()`
whose
    names overlap with global Sass functions).

- **Breaking change**: As a consequence of the change in calculation
parsing
described above, calculation functions containing interpolation are now
parsed
more strictly than before. However, *almost* all interpolations that
would
    have produced valid CSS will continue to work. The only exception is
    `#{$variable}%` which is not valid in Sass and is no longer valid in
calculations. Instead of this, either use `$variable` directly and
ensure it
    already has the `%` unit, or write `($variable * 1%)`.

- **Potentially breaking bug fix**: The importer used to load a given
file is no
    longer used to load absolute URLs that appear in that file. This was
unintented behavior that contradicted the Sass specification. Absolute
URLs
will now correctly be loaded only from the global importer list. This
applies
    to the modern JS API, the Dart API, and the embedded protocol.

##### Embedded Sass

- Substantially improve the embedded compiler's performance when
compiling many
files or files that require many importer or function call round-trips
with
    the embedded host.

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined),
Automerge - At any time (no schedule defined).

🚦 **Automerge**: Enabled.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR has been generated by [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/). View
repository job log
[here](https://developer.mend.io/github/Unleash/unleash).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4wLjMiLCJ1cGRhdGVkSW5WZXIiOiIzNy4wLjMiLCJ0YXJnZXRCcmFuY2giOiJtYWluIn0=-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-09-30 17:13:44 +00:00
.do
.github fix: partial index on events announced (#4856) 2023-09-28 10:21:16 +02:00
.husky
coverage
docker
docs/api/oas
examples
frontend chore(deps): update dependency sass to v1.68.0 (#4887) 2023-09-30 17:13:44 +00:00
perf
scripts feat: biome lint (#4853) 2023-09-29 14:18:21 +02:00
src feat: add more events in integrations (#4815) 2023-09-29 16:11:59 +01:00
website chore(deps): update dependency browserslist to v4.21.11 (#4881) 2023-09-30 06:16:56 +00:00
.dockerignore
.editorconfig
.gitignore
.lycheeignore
.mergify.yml
.node-version chore(deps): update dependency node to v18.17.1 (#4530) 2023-08-17 14:58:58 +00:00
.nvmrc
.prettierignore
app.json
biome.json feat: biome lint (#4853) 2023-09-29 14:18:21 +02:00
CHANGELOG.md
CODE_OF_CONDUCT.md
CODEOWNERS
CONTRIBUTING.md
docker-compose.yml chore: update DATABASE_URL to use the database created via POSTGRES_D… (#4836) 2023-09-28 13:07:03 +02:00
Dockerfile chore: pin node version 18.17.1 (#4834) 2023-09-26 10:41:13 +02:00
LICENSE
package.json chore(deps): update dependency @types/uuid to v9.0.4 (#4878) 2023-09-30 01:19:59 +00:00
README.md Added 2 links to getunleash.io (#4822) 2023-09-25 15:19:33 +02:00
renovate.json
tsconfig.json
USERS.md chore: Unleash users page (#4687) 2023-09-29 14:16:57 -05:00
yarn.lock fix(deps): update dependency joi to v17.10.2 (#4883) 2023-09-30 09:25:43 +00:00

About Unleash

Unleash is an open source feature management solution. It improves the workflow of your development team and leads to quicker software delivery. Unleash increases efficiency and gives teams full control of how and when they enable new functionality for end users. Unleash lets teams ship code to production in smaller releases whenever they want.

Feature flags make it easy to test how your code works with real production data without the fear that you'll accidentally break your users' experience. It also helps your team work on multiple features in parallel without each maintaining a separate feature branch.

Unleash is the largest open source solution for feature flagging on GitHub. There are 12 official client and server SDKs and 10+ community SDKs available; you can even make your own if you want to. You can use Unleash with any language and any framework.


Get started in 2 steps

1. Start Unleash

With git and docker installed, it's easy to get started:

Run this script:

git clone git@github.com:Unleash/unleash.git
cd unleash
docker compose up -d

Then point your browser to localhost:4242 and log in using:

  • username: admin
  • password: unleash4all

If you'd rather run the source code in this repo directly via Node.js, see the step-by-step instructions to get up and running in the contributing guide.

2. Connect your SDK

Find your preferred SDK in our list of official SDKs and import it into your project. Follow the setup guides for your specific SDK.

If you use the docker compose file from the previous step, here's the configuration details you'll need to get going:

  • For front-end SDKs, use:
    • URL: http://localhost:4242/api/frontend/
    • clientKey: default:development.unleash-insecure-frontend-api-token
  • For server-side SDKs, use:
    • Unleash API URL: http://localhost:4242/api/
    • API token: default:development.unleash-insecure-api-token

If you use a different setup, your configuration details will most likely also be different.

Check a feature toggle

Checking the state of a feature toggle in your code is easy! The syntax will vary depending on your language, but all you need is a simple function call to check whether a toggle is available. Here's how it might look in Java:

if (unleash.isEnabled("AwesomeFeature")) {
  // do new, flashy thing
} else {
  // do old, boring stuff
}

Run Unleash on a service?

If you don't want to run Unleash locally, we also provide easy deployment setups for Heroku and Digital Ocean:

Deploy to Heroku Deploy to DigitalOcean

Configure and run Unleash anywhere

The above sections show you how to get up and running quickly and easily. When you're ready to start configuring and customizing Unleash for your own environment, check out the documentation for getting started with self-managed deployments, Unleash configuration options, or running Unleash locally via docker.


Online demo

Try out the Unleash online demo.

The Unleash online demo


Community and help — sharing is caring

We know that learning a new tool can be hard and time-consuming. We have a growing community that loves to help out. Please don't hesitate to reach out for help.

Join Unleash on Slack

💬 Join Unleash on Slack if you want ask open questions about Unleash, feature toggling or discuss these topics in general.

💻 Create a GitHub issue if you have found a bug or have ideas on how to improve Unleash.

📚 Visit the documentation for more in-depth descriptions, how-to guides, and more.

📖 Learn more about the principles of building and scaling feature flag solutions.


Contribute to Unleash

Unleash is the largest open source feature flag solution on GitHub. Building Unleash is a collaborative effort, and we owe a lot of gratitude to many smart and talented individuals. Building it together with the community ensures that we build a product that solves real problems for real people. We'd love to have your help too: Please feel free to open issues or provide pull requests.

Check out the CONTRIBUTING.md file for contribution guidelines and the Unleash developer guide for tips on environment setup, running the tests, and running Unleash from source.

Contributors

The Unleash contributors


Features our users love

Flexibility and adaptability

Security and performance

  • Privacy by design (GDPR and Schrems II). End-user data never leaves your application.
  • Audit logs
  • Enforce OWASP's secure headers via the strict HTTPS-only mode
  • Flexible hosting options: host it on premise or in the cloud (any cloud)
  • Scale the Unleash Proxy independently of the Unleash server to support any number of front-end clients without overloading your Unleash instance

Looking for more features?

If you're looking for one of the following features, please take a look at our Pro and Enterprise plans:


Architecture

Read more in the system overview section of the Unleash documentation.


Unleash SDKs

To connect your application to Unleash you'll need to use a client SDK for your programming language.

Official server-side SDKs:

Official front-end SDKs:

The front-end SDKs connects via the Unleash Proxy in order to ensure privacy, scalability and security.

Community SDKs:

If none of the official SDKs fit your need, there's also a number of community-developed SDKs where you might find an implementation for your preferred language (such as Elixir, Dart, Clojure, and more).


Users of Unleash

Unleash is trusted by thousands of companies all over the world.

Proud Open-Source users: (send us a message if you want to add your logo here)

The Unleash logo encircled by logos for Finn.no, nav (the Norwegian Labour and Welfare Administration), Budgets, Otovo, and Amedia. The encircling logos are all connected to the Unleash logo.


Migration guides

Unleash has evolved significantly over the past few years, and we know how hard it can be to keep software up to date. If you're using the current major version, upgrading shouldn't be an issue. If you're on a previous major version, check out the Unleash migration guide!


Want to know more about Unleash?

Videos and podcasts

Articles and more